comparison lisp/gnus/message.el @ 74984:21f28d10d73a

Merge from gnus--rel--5.10 Patches applied: * gnus--rel--5.10 (patch 179-183) - Update from CVS 2006-12-25 Daiki Ueno <ueno@unixuser.org> * lisp/pgg-def.el (pgg-passphrase-coding-system): Default to nil instead of locale-coding-system. * lisp/pgg-gpg.el (pgg-gpg-process-region): Encode passphrase with eol-type LF. 2006-12-29 Jouni K. Sepp,Ad(Bnen <jks@iki.fi> * lisp/gnus/nnimap.el (nnimap-expunge-search-string): Mention nnimap-search-uids-not-since-is-evil in docstring. 2006-12-28 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/spam.el: Revert to make-obsolete-variable because define-obsolete-variable-alias is not supported in Emacs 21. 2006-12-28 Daiki Ueno <ueno@unixuser.org> * lisp/gnus/gnus-sum.el (gnus-summary-next-article): Make sure we are in the summary buffer. 2006-12-27 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/spam.el (spam-ifile-path, spam-ifile-database-path) (spam-bogofilter-path): Use define-obsolete-variable-alias instead of make-obsolete-variable. 2006-12-26 Reiner Steib <Reiner.Steib@gmx.de> * lisp/gnus/message.el (message-make-fqdn): Fix comment. (message-bogus-system-names): Add ".local". * lisp/gnus/spam.el (spam-ifile-path, spam-ifile-program) (spam-ifile-database-path, spam-ifile-database) (spam-bogofilter-path, spam-bogofilter-program): Rename variables. Don't use "path" inappropriately. (spam-spamoracle-database, spam-get-ifile-database-parameter): Fix doc strings. (spam-check-ifile, spam-ifile-register-with-ifile) (spam-check-bogofilter, spam-bogofilter-register-with-bogofilter): Use new variable names. * lisp/gnus/gnus-art.el (gnus-treat-display-x-face, gnus-treat-display-face) (gnus-treat-display-smileys): Simplify using gnus-image-type-available-p. * lisp/gnus/gnus-ems.el (gnus-image-type-available-p): Use display-images-p if available. 2006-12-22 Katsumi Yamaoka <yamaoka@jpl.org> * lisp/gnus/nnrss.el (nnrss-fetch): Replace buffer's contents with the decoded one after turning on the buffer's multibyteness instead of decoding them directly in the unibyte buffer that causes unexpected conversion in Emacs 23 (unicode). 2006-12-29 Reiner Steib <Reiner.Steib@gmx.de> * man/gnus.texi (Customizing Articles): Add index entries for all gnus-treat-* variables. 2006-12-29 Jouni K. Sepp,Ad(Bnen <jks@iki.fi> * man/gnus.texi (IMAP): Fix incorrect explanation of nnimap-search-uids-not-since-is-evil in documentation for nnimap-expunge-search-string. 2006-12-27 Reiner Steib <Reiner.Steib@gmx.de> * man/gnus.texi (ifile spam filtering): Rename spam-ifile-database-path to spam-ifile-database. 2006-12-26 Reiner Steib <Reiner.Steib@gmx.de> * man/gnus.texi (Spam Package Configuration Examples): Don't encourage to rebind C-s. 2006-12-26 Jouni K. Sepp,Ad(Bnen <jks@iki.fi> * man/gnus.texi (Group Parameters, Group Maintenance, Topic Commands) (Mail Group Commands, Expiring Mail, IMAP): Add index entries for "expiring mail". (IMAP): Document nnimap-search-uids-not-since-is-evil and nnimap-nov-is-evil. Revision: emacs@sv.gnu.org/emacs--devo--0--patch-576
author Miles Bader <miles@gnu.org>
date Sat, 30 Dec 2006 15:34:42 +0000
parents 234305495123
children e3694f1cb928 bc10a33dd40b
comparison
equal deleted inserted replaced
74983:c0112a92bceb 74984:21f28d10d73a
1577 "Some saved answers when sending message.") 1577 "Some saved answers when sending message.")
1578 1578
1579 (defvar message-send-mail-real-function nil 1579 (defvar message-send-mail-real-function nil
1580 "Internal send mail function.") 1580 "Internal send mail function.")
1581 1581
1582 (defvar message-bogus-system-names "^localhost\\." 1582 (defvar message-bogus-system-names "^localhost\\.\\|\\.local$"
1583 "The regexp of bogus system names.") 1583 "The regexp of bogus system names.")
1584 1584
1585 (defcustom message-valid-fqdn-regexp 1585 (defcustom message-valid-fqdn-regexp
1586 (concat "[a-z0-9][-.a-z0-9]+\\." ;; [hostname.subdomain.]domain. 1586 (concat "[a-z0-9][-.a-z0-9]+\\." ;; [hostname.subdomain.]domain.
1587 ;; valid TLDs: 1587 ;; valid TLDs:
4998 (cond 4998 (cond
4999 ((and message-user-fqdn 4999 ((and message-user-fqdn
5000 (stringp message-user-fqdn) 5000 (stringp message-user-fqdn)
5001 (string-match message-valid-fqdn-regexp message-user-fqdn) 5001 (string-match message-valid-fqdn-regexp message-user-fqdn)
5002 (not (string-match message-bogus-system-names message-user-fqdn))) 5002 (not (string-match message-bogus-system-names message-user-fqdn)))
5003 ;; `message-user-fqdn' seems to be valid
5003 message-user-fqdn) 5004 message-user-fqdn)
5004 ;; `message-user-fqdn' seems to be valid
5005 ((and (string-match message-valid-fqdn-regexp system-name) 5005 ((and (string-match message-valid-fqdn-regexp system-name)
5006 (not (string-match message-bogus-system-names system-name))) 5006 (not (string-match message-bogus-system-names system-name)))
5007 ;; `system-name' returned the right result. 5007 ;; `system-name' returned the right result.
5008 system-name) 5008 system-name)
5009 ;; Try `mail-host-address'. 5009 ;; Try `mail-host-address'.