Chong Yidong
59f7af816e
Use declare forms, where possible, to mark obsolete functions.
...
* lisp/allout.el (allout-passphrase-hint-string): Likewise.
(allout-init): Use a declare form to mark obsolete.
* lisp/calendar/calendar.el (calendar-version):
* lisp/calendar/icalendar.el (icalendar-extract-ical-from-buffer)
(icalendar-convert-diary-to-ical):
* lisp/cus-edit.el (custom-mode):
* lisp/ansi-color.el (ansi-color-unfontify-region):
* lisp/international/latin1-disp.el (latin1-char-displayable-p):
* lisp/progmodes/cwarn.el (turn-on-cwarn-mode):
* lisp/progmodes/which-func.el (which-func-update-1): Use
define-obsolete-function-alias.
* lisp/bookmark.el (bookmark-jump-noselect): Use a declare form to mark
this function obsolete.
* lisp/calendar/cal-x.el (calendar-two-frame-setup)
(calendar-only-one-frame-setup, calendar-one-frame-setup):
* lisp/calendar/calendar.el (american-calendar, european-calendar)
(calendar-for-loop):
* lisp/comint.el (comint-dynamic-simple-complete)
(comint-dynamic-complete-as-filename, comint-unquote-filename):
* lisp/desktop.el (desktop-load-default):
* lisp/dired-x.el (dired-omit-here-always)
(dired-hack-local-variables, dired-default-directory):
* lisp/emacs-lisp/derived.el (derived-mode-class):
* lisp/emacs-lisp/timer.el (timer-set-time-with-usecs):
* lisp/emacs-lock.el (toggle-emacs-lock):
* lisp/epa.el (epa-display-verify-result):
* lisp/epg.el (epg-sign-keys, epg-start-sign-keys)
(epg-passphrase-callback-function):
* lisp/eshell/esh-util.el (eshell-for):
* lisp/eshell/eshell.el (eshell-remove-from-window-buffer-names)
(eshell-add-to-window-buffer-names):
* lisp/files.el (locate-file-completion):
* lisp/imenu.el (imenu-example--create-c-index)
(imenu-example--create-lisp-index)
(imenu-example--lisp-extract-index-name)
(imenu-example--name-and-position):
* lisp/international/mule-cmds.el (princ-list):
* lisp/international/mule-diag.el (decode-codepage-char):
* lisp/international/mule-util.el (detect-coding-with-priority):
* lisp/iswitchb.el (iswitchb-read-buffer):
* lisp/mail/mailalias.el (mail-complete):
* lisp/mail/sendmail.el (mail-sent-via):
* lisp/mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
(mouse-major-mode-menu):
* lisp/password-cache.el (password-read-and-add):
* lisp/pcomplete.el (pcomplete-parse-comint-arguments):
* lisp/progmodes/sh-script.el (sh-maybe-here-document):
* lisp/replace.el (query-replace-regexp-eval):
* lisp/savehist.el (savehist-load):
* lisp/simple.el (choose-completion-delete-max-match):
* lisp/term.el (term-dynamic-simple-complete):
* lisp/vc/ediff-init.el (ediff-check-version):
* lisp/vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
* lisp/vc/vc.el (vc-diff-switches-list):
* lisp/view.el (view-return-to-alist-update): Likewise.
* lisp/iswitchb.el (iswitchb-read-buffer): Move code of
iswitchb-define-mode-map here, and delete that obsolete function.
* lisp/subr.el (eval-next-after-load, makehash, insert-string)
(assoc-ignore-representation, assoc-ignore-case): Use declare to
mark obsolete.
(mode-line-inverse-video): Variable deleted.
* lisp/emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
this applies to functions.
* lisp/erc/erc.el (erc-send-command): Use define-obsolete-function-alias.
* lisp/international/mule-util.el (string-to-sequence): Remove.
* lisp/net/newst-backend.el (newsticker-cache-filename):
* lisp/net/newst-treeview.el (newsticker-groups-filename): Fix
incorrect obsolescence declaration.
* lisp/net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
font-lock-reference-face.
* lisp/url/url-parse.el (url-recreate-url-attributes):
* lisp/url/url-util.el (url-generate-unique-filename): Use declare to mark
obsolete.
* src/xdisp.c (mode_line_inverse_video): Delete obsolete variable.
2012-09-25 12:13:02 +08:00
Glenn Morris
acaf905b11
Add 2012 to FSF copyright years for Emacs files
2012-01-05 01:46:05 -08:00
Stefan Monnier
daca8ba5e3
Use completion-at-point for mailalias.el
...
* lisp/mail/mailalias.el: Use lexical-binding.
(pattern, mailalias-done): Declare dynamic.
(mail-completion-at-point-function): New function, from mail-complete.
(mail-complete): Use it.
(mail-completion-expand): New function.
(mail-get-names): Use it.
(mail-directory, mail-directory-process, mail-directory-stream):
Don't use `pattern' for lexically bound arg.
* lisp/mail/sendmail.el (mail-mode-map): Use completion-at-point.
(mail-mode): Setup mailalias completion here instead.
2011-04-15 10:50:04 -03:00
Glenn Morris
73b0cd5003
Convert consecutive FSF copyright years to ranges.
2011-01-24 20:08:28 -08:00
Glenn Morris
e9bffc61f2
Refill some copyright headers.
2011-01-15 18:21:30 -08:00
Stefan Monnier
77ab81d054
Merge from emacs-23
2011-01-14 12:18:41 -05:00
Glenn Morris
5df4f04cd3
Add 2011 to FSF/AIST copyright years.
2011-01-02 15:50:46 -08:00
Glenn Morris
53aff12a2f
Make build-mail-aliases an interactive command.
...
* lisp/mail/mailalias.el (build-mail-aliases): Make it interactive.
* lisp/mail/sendmail.el (build-mail-aliases): Update autoload.
* doc/misc/faq.texi (Expanding aliases when sending mail):
Now build-mail-aliases is interactive.
2010-12-13 20:42:59 -08:00
Glenn Morris
114f9c9679
Add 2010 to copyright years.
2010-01-13 00:35:10 -08:00
Stefan Monnier
9421bdd19f
(build-mail-aliases): Use with-temp-buffer,
...
expand-file-name and with-current-buffer.
(mail-get-names, mail-directory): Use with-current-buffer.
2009-08-27 18:32:37 +00:00
Glenn Morris
c1051e819d
Remove leading `*' from defcustom docs.
2009-03-14 21:20:47 +00:00
Glenn Morris
ae940284fa
Add 2009 to copyright years.
2009-01-05 03:18:22 +00:00
Chong Yidong
c8ca9217d5
(define-mail-alias): Sync code with define-mail-abbrev.
2008-11-25 22:58:14 +00:00
Glenn Morris
b1fc2b5014
Switch to recommended form of GPLv3 permissions notice.
2008-05-06 07:25:26 +00:00
Stefan Monnier
cbee283dd7
Fix up comment convention on the arch-tag lines.
2008-04-10 14:10:46 +00:00
Glenn Morris
2f043267ee
Add 2008 to copyright years.
2008-01-07 02:00:47 +00:00
Glenn Morris
ceaeecb0c9
Switch license to GPLv3 or later.
2007-07-25 04:27:24 +00:00
Glenn Morris
d7a0267c8d
Add 2007 to copyright years.
2007-01-21 03:53:13 +00:00
Glenn Morris
f2e3589a33
Update copyright years.
2006-12-09 04:06:06 +00:00
Thien-Thi Nguyen
ceb4c4d303
Update years in copyright notice; nfc.
2006-02-06 12:31:40 +00:00
Richard M. Stallman
1296b4cdd9
(build-mail-aliases): Delete comments
...
from the contents before processing them.
2005-08-25 11:00:38 +00:00
Thien-Thi Nguyen
e84b4b8614
Update years in copyright notice; nfc.
2005-08-06 19:51:42 +00:00
Lute Kamstra
3a35cf56e7
Update FSF's address.
2005-07-04 17:55:18 +00:00
Juanma Barranquero
f5684fafe3
(mailalias): Finish `defgroup' description with period.
2005-07-04 02:52:52 +00:00
Richard M. Stallman
637502c3f3
(mail-get-names): Avoid beginning-of-buffer.
2005-05-22 13:43:55 +00:00
Juanma Barranquero
027a4b6b3f
Replace string-to-int' by
string-to-number'.
2005-05-16 11:34:49 +00:00
Richard M. Stallman
f62504368a
(mail-directory-process): Do nothing if mail-directory-process is an atom.
...
(mail-get-names): Ignore mail-directory-names if it is an atom.
(mail-directory-process defvar): Doc fix.
(mail-names): Doc fix.
2005-03-26 02:13:35 +00:00
Miles Bader
ab5796a9f9
Add arch taglines
2003-09-01 15:45:59 +00:00
Juanma Barranquero
25345117c2
(mail-directory-function, mail-directory-requery, mail-directory): Don't quote
...
nil and t in docstrings.
2003-05-06 17:48:06 +00:00
Juanma Barranquero
a1506d2977
Trailing whitepace deleted.
2003-02-04 13:24:35 +00:00
Pavel Janík
906f211e1b
Do not double variables in the lambda-list.
2001-10-13 08:10:30 +00:00
Andreas Schwab
bd09e573fe
(mail-complete-alist): Use alist as customize
...
type.
1999-01-25 09:45:02 +00:00
Karl Heuer
c051dfe5ce
(build-mail-aliases): Don't allow
...
a newline in the alias name. Don't define an alias
if the definition would be empty.
1998-09-30 19:16:47 +00:00
Richard M. Stallman
baaddce7c0
(mail-complete): Fix the test of (mail-heder-end).
1998-06-26 06:04:56 +00:00
Richard M. Stallman
8332fa80b6
(define-mail-alias): Compensate for not resetting the match data when
...
string-match fails.
1998-05-15 21:50:07 +00:00
Richard M. Stallman
30eaaa34b1
(expand-mail-aliases): Doc fix.
...
(expand-mail-aliases, mail-complete): Use mail-header-end.
1998-04-30 06:27:58 +00:00
Richard M. Stallman
310d0d401b
(mail-complete-alist): Don't refer to mail-address-field-regexp.
1998-04-24 20:17:35 +00:00
Richard M. Stallman
3c3d71d93c
(define-mail-alias): If FROM-MAILRC-FILE, don't call sendmail-sync-aliases.
...
(build-mail-aliases): Clear mail-aliases to nil at the beginning.
1998-02-01 23:56:13 +00:00
Richard M. Stallman
255359cbcc
(define-mail-alias): Handle backslash-quoting
...
within "-strings in DEFINITION if it comes from .mailrc.
1997-12-21 02:07:32 +00:00
Richard M. Stallman
5695bf0c7e
(mail-complete-alist): Don't use backquote.
1997-07-04 18:56:19 +00:00
Richard M. Stallman
94955307b6
(mail-directory-parser): Fix previous change.
1997-06-08 20:50:45 +00:00
Richard M. Stallman
31407d5d6e
Customize. Doc fixes.
...
Mark some risky local variables.
1997-06-07 23:12:19 +00:00
Simon Marshall
e28449ed4b
make expand-mail-aliases interactive
1997-05-14 07:27:25 +00:00
Richard M. Stallman
e694581dc0
(mail-complete-style): New variable.
...
(mail-complete): Use that.
(mail-get-names): Store full names in cdrs of mail-names elts.
(mail-names): Doc fix.
(mail-directory): Minor cleanup.
1997-04-05 21:57:48 +00:00
Richard M. Stallman
8e3beae0e6
(mail-passwd-command): New variable.
...
(mail-get-names): Implement that variable.
(mail-passwd-files): New variable.
(mail-get-names): Use mail-passwd-files instead of always /etc/passwd.
1997-03-22 03:49:14 +00:00
Simon Marshall
9a03a6f46c
Resync mail aliases if necessary.
1996-06-24 09:50:09 +00:00
Richard M. Stallman
8bc49f8f86
(mail-get-names): Understand "+username" format for /etc/passwd lines.
1996-03-09 08:03:15 +00:00
Richard M. Stallman
c0fd4267ae
(mail-complete): Add autoload cookie.
1996-02-26 01:32:31 +00:00
Richard M. Stallman
48919e0ff4
(mail-names, mail-local-names, mail-directory-names)
...
(mail-address-field-regexp, mail-complete-alist)
(mail-complete-function, mail-directory-function)
(mail-directory-requery, mail-directory-process, mail-directory-stream)
(mail-directory-parser): New variables.
(expand-mail-aliases): Use `mail-address-field-regexp'.
(build-mail-aliases): Use space in buffer-name semantics.
(define-mail-alias): Reset `mail-names' to t.
(mail-complete): New command.
(mail-get-names, mail-directory, mail-directory-process)
(mail-directory-stream, mail-sentto-newsgroups): New functions.
1996-02-12 08:09:49 +00:00
Erik Naggum
b578f267af
Update FSF's address.
1996-01-14 07:34:30 +00:00