Commit graph

75 commits

Author SHA1 Message Date
Richard M. Stallman
69ba53f792 (sendmail-pre-abbrev-expand-hook):
Don't expand if the character is @, period, dash, etc.
(define-mail-abbrev): Quote names that contain problem characters.
2005-01-04 14:59:47 +00:00
Richard M. Stallman
f6babbacc4 Comment change. 2003-09-30 12:44:53 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Richard M. Stallman
f7e85dcf23 (mail-abbrevs-sync-aliases): Do nothing if mail-personal-alias-file is nil. 2003-08-29 16:12:38 +00:00
Andreas Schwab
6b8236923e (Commentary): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:48:49 +00:00
Markus Rost
f8aba1ce99 (mail-abbrev-make-syntax-table): Give %!._- word constituent syntax. 2002-09-21 20:11:08 +00:00
Andreas Schwab
6946ae5b11 (mail-abbrev-make-syntax-table): Check the
inherited table entry.
2002-07-13 21:40:05 +00:00
Richard M. Stallman
fba75b6b1a (mail-mode-abbrev-table): Delete defvar. 2002-04-19 00:08:19 +00:00
Richard M. Stallman
f436b1cbdb (mail-abbrev-make-syntax-table): Use (syntax-table), not old-syntax-table. 2002-04-04 20:50:15 +00:00
Richard M. Stallman
da00bb1869 (mail-abbrev-complete-alias): Call mail-abbrev-make-syntax-table. 2002-04-03 15:33:17 +00:00
Richard M. Stallman
cf8b484f16 (mail-abbrev-make-syntax-table): New subroutine
broken out of sendmail-pre-abbrev-expand-hook.
(sendmail-pre-abbrev-expand-hook): Use it.
2002-03-23 16:10:14 +00:00
Richard M. Stallman
8fad672be9 (define-mail-abbrev): Define as system abbrev.
(mail-abbrev-in-expansion-header-p): Copy the code of mail-header-end
to avoid needing sendmail.el at run time.
2002-02-13 15:59:53 +00:00
Richard M. Stallman
f526e65a47 (mail-mode-map): Use eval-after-load to change it. 2002-02-09 09:46:08 +00:00
Richard M. Stallman
d075ed70e1 Require sendmail only at compile time.
(mail-mode-header-syntax-table): Var deleted.
(mail-abbrev-syntax-table): Init to nil, will compute when needed.
(sendmail-pre-abbrev-expand-hook): Only temporarily change
local-abbrev-table and the syntax table.
Compute mail-abbrev-syntax-table if that has not been done.
2002-02-06 15:42:34 +00:00
Pavel Janík
59f48b152e (mail-abbrevs-setup): Do not use make-local-hook. 2001-12-13 07:51:46 +00:00
Gerd Moellmann
349deff4c6 (mail-abbrev-in-expansion-header-p): Simplify. 2001-10-05 09:34:27 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Gerd Moellmann
bde4c7ce90 (mail-abbrevs-enable, mail-abbrevs-disable):
Use mail-mode-hook instead of mail-setup-hook.  Otherwise
continuing an interrupted message with C-u C-x m for instence,
winds up in Mail mode without abbrevs.
2000-12-29 12:19:28 +00:00
Stefan Monnier
c0df1972b2 Don't quote lambda. 2000-08-16 21:05:37 +00:00
Gerd Moellmann
85d0e9edbc (mail-abbrev-insert-alias): Renamed from
mail-interactive-insert-alias.
(mail-abbrev-complete-alias): New command.
(mail-mode-map): Bind it to `M-TAB'.
2000-05-03 19:25:07 +00:00
Dave Love
fcc31755c5 Change maintainer. 2000-02-02 16:00:17 +00:00
Richard M. Stallman
13aa1cde7f (mail-abbrev-in-expansion-header-p): Use mail-header-end. 1998-04-30 06:26:19 +00:00
Dan Nicolaescu
f9e9ac1dde *** empty log message *** 1998-04-20 03:35:05 +00:00
Karl Heuer
4adf062e0a (build-mail-abbrevs): Use initial space in
internal buffer name.
1997-11-07 21:55:40 +00:00
Karl Heuer
7d4c958f65 Customize.
(mail-abbrevs-enable, mail-abbrevs-disable): New functions.
(mail-abbrevs-mode): New variable enables use of the package.
Call mail-abbrevs-enable or mail-abbrevs-disable.
(mail-abbrevs-only): New variable.
(sendmail-pre-abbrev-expand-hook): Implement mail-abbrevs-only.
1997-10-21 02:54:50 +00:00
Roland McGrath
0f965ba3f7 (mail-abbrev-expand-hook): Disable abbrev mode temporarily while working,
to avoid recursion in indent-relative expanding part of the abbrev
expansion as an abbrev itself.
1996-05-26 23:12:01 +00:00
Richard M. Stallman
00bafa45f9 (mail-abbrev-modtime): New variable.
(mail-abbrevs-sync-alaises): New function. Updates mail-abbrevs if
modtime of mail-personal-alias-file is different than mail-abbrev-modtime.
(mail-abbrevs-setup): Call mail-abbrevs-sync-aliases.
1996-03-09 08:48:56 +00:00
Richard M. Stallman
178047284a (mail-abbrevs-setup): Doc fix. 1996-03-05 22:04:03 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
1e17195615 Comment fixes. 1995-12-21 18:20:21 +00:00
Richard M. Stallman
1b124db4a5 (mail-abbrev-syntax-table): Fix initialization. 1995-10-31 02:08:29 +00:00
Richard M. Stallman
4d2795c3e2 (mail-abbrev-syntax-table): Rewrite using map-char-table. 1995-10-20 20:57:42 +00:00
Noah Friedman
8beb051325 (mail-abbrev-syntax-table): Use equal' instead of =', in case elts
of syntax table are lists, not integers.
1995-10-09 04:49:15 +00:00
Richard M. Stallman
0eef787b49 (mail-interactive-insert-alias): Call mail-abbrev-expand-hook. 1995-09-04 20:26:58 +00:00
Richard M. Stallman
5b6f1300dc (mail-mode-syntax-table): defvar deleted. 1995-08-27 17:56:53 +00:00
Richard M. Stallman
cf37652765 (rebuild-mail-abbrevs): FILE defaults to visited file. 1995-08-25 21:34:09 +00:00
Richard M. Stallman
e1d24183ef (mail-resolve-all-aliases-1):
Downcase address before recursive call.
1995-06-30 05:54:07 +00:00
Karl Heuer
e1a3a8436f (sendmail-pre-abbrev-expand-hook): When setting the
dummy value for abbrev-start-location, use (point-max) rather than
(point), so we won't delete a "-" that happens to be at point.
1995-04-20 21:27:14 +00:00
Richard M. Stallman
92182a70b3 Various doc fixes.
(mail-abbrevs-setup): Use add-hook and make-local-hook.
1995-03-18 07:14:50 +00:00
Karl Heuer
fb11ccf66d (mail-abbrev-mode-regexp): Doc fix. 1995-02-17 18:31:47 +00:00
Noah Friedman
a3039e326d (mail-abbrev-mailrc-file): Variable and macro deleted.
All callers now use `mail-personal-alias-file'.
1995-01-03 23:44:25 +00:00
Richard M. Stallman
8eb6c7da6b (define-mail-abbrev): Don't try to parse empty aliases. 1994-07-12 02:16:57 +00:00
Richard M. Stallman
651fca74e4 (build-mail-abbrevs): Pass a recursivep argument in recursive call. 1994-06-17 16:03:59 +00:00
Richard M. Stallman
450b15a0b0 (mail-abbrev-mode-regexp): Add Reply-to. 1994-01-11 05:38:36 +00:00
Richard M. Stallman
8e1f920c03 (build-mail-abbrevs): Pass just 1 arg to substitute-in-file-name. 1993-10-01 22:40:49 +00:00
Richard M. Stallman
be89e32b3e Comment change. 1993-07-27 23:12:22 +00:00
Roland McGrath
650d648679 (mail-abbrev-end-of-buffer): Fix interactive spec to "P", same as
end-of-buffer.
1993-07-08 21:14:43 +00:00
Richard M. Stallman
94142e7881 (build-mail-abbrevs): Do substitute-in-file-name on the abbrev, for `source'. 1993-07-01 20:25:42 +00:00
Richard M. Stallman
51e4ece8a5 (define-mail-abbrev): Renamed from define-mail-alias.
(build-mail-abbrevs): Use new name.
1993-06-15 20:50:11 +00:00
Richard M. Stallman
b2b01bfa21 (build-mail-abbrevs): Pass just two args to define-mail-alias. 1993-06-15 20:36:10 +00:00