diff options
| author | Katsumi Yamaoka | 2010-08-30 23:24:56 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-08-30 23:24:56 +0000 |
| commit | f5ec697d93e389a9e770bdf336148f5e9505817f (patch) | |
| tree | a0991f4b2257e03b2e35d2ec7615fabb7fb557f9 | |
| parent | e17b68ed837cc835c46b4e518d05810a73997ac5 (diff) | |
| download | emacs-f5ec697d93e389a9e770bdf336148f5e9505817f.tar.gz emacs-f5ec697d93e389a9e770bdf336148f5e9505817f.zip | |
gnus-group-completing-read: Add 'substring to completion-styles for group selection; imap.el, mailcap.el, message.el, mm-util.el, nnheader.el, nnmail.el, pop3.el: Remove references to outdated systems; References to win32 w32 mswindows ms-windows emx were probably cargo-culted, and are removed for clarity; By Lars Magne Ingebrigtsen <larsi@gnus.org>.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/mailcap.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/mm-util.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnheader.el | 7 | ||||
| -rw-r--r-- | lisp/gnus/nnmail.el | 2 | ||||
| -rw-r--r-- | lisp/gnus/pop3.el | 2 | ||||
| -rw-r--r-- | lisp/net/imap.el | 2 |
9 files changed, 20 insertions, 16 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5c148b825e6..79219bc5044 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-08-30 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * gnus-group.el (gnus-group-completing-read): Add 'substring to | ||
| 4 | completion-styles for group selection. | ||
| 5 | |||
| 1 | 2009-02-04 Andreas Schwab <schwab@suse.de> | 6 | 2009-02-04 Andreas Schwab <schwab@suse.de> |
| 2 | 7 | ||
| 3 | * gnus-score.el (gnus-score-string): Fix regex for matching extra | 8 | * gnus-score.el (gnus-score-string): Fix regex for matching extra |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 7a887735fe2..f9f97071eb5 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -2202,7 +2202,9 @@ be permanent." | |||
| 2202 | The arguments are the same as `completing-read' except that COLLECTION | 2202 | The arguments are the same as `completing-read' except that COLLECTION |
| 2203 | and HIST default to `gnus-active-hashtb' and `gnus-group-history' | 2203 | and HIST default to `gnus-active-hashtb' and `gnus-group-history' |
| 2204 | respectively if they are omitted." | 2204 | respectively if they are omitted." |
| 2205 | (let (group) | 2205 | (let ((completion-styles completion-styles) |
| 2206 | group) | ||
| 2207 | (push 'substring completion-styles) | ||
| 2206 | (mapatoms (lambda (symbol) | 2208 | (mapatoms (lambda (symbol) |
| 2207 | (setq group (symbol-name symbol)) | 2209 | (setq group (symbol-name symbol)) |
| 2208 | (set (intern (if (string-match "[^\000-\177]" group) | 2210 | (set (intern (if (string-match "[^\000-\177]" group) |
diff --git a/lisp/gnus/mailcap.el b/lisp/gnus/mailcap.el index e725dfcea88..6461a9ae743 100644 --- a/lisp/gnus/mailcap.el +++ b/lisp/gnus/mailcap.el | |||
| @@ -335,7 +335,7 @@ nil means your home directory." | |||
| 335 | :group 'mailcap) | 335 | :group 'mailcap) |
| 336 | 336 | ||
| 337 | (defvar mailcap-poor-system-types | 337 | (defvar mailcap-poor-system-types |
| 338 | '(ms-dos ms-windows windows-nt win32 w32 mswindows) | 338 | '(ms-dos windows-nt) |
| 339 | "Systems that don't have a Unix-like directory hierarchy.") | 339 | "Systems that don't have a Unix-like directory hierarchy.") |
| 340 | 340 | ||
| 341 | ;;; | 341 | ;;; |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index e034dd701c6..3cb0a1d6528 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -5433,7 +5433,7 @@ In posting styles use `(\"Expires\" (make-expires-date 30))'." | |||
| 5433 | (* 25 25))) | 5433 | (* 25 25))) |
| 5434 | (let ((tm (current-time))) | 5434 | (let ((tm (current-time))) |
| 5435 | (concat | 5435 | (concat |
| 5436 | (if (or (memq system-type '(ms-dos emx)) | 5436 | (if (or (eq system-type 'ms-dos) |
| 5437 | ;; message-number-base36 doesn't handle bigints. | 5437 | ;; message-number-base36 doesn't handle bigints. |
| 5438 | (floatp (user-uid))) | 5438 | (floatp (user-uid))) |
| 5439 | (let ((user (downcase (user-login-name)))) | 5439 | (let ((user (downcase (user-login-name)))) |
| @@ -6451,9 +6451,7 @@ are not included." | |||
| 6451 | (setq buffer-file-name (expand-file-name | 6451 | (setq buffer-file-name (expand-file-name |
| 6452 | (concat | 6452 | (concat |
| 6453 | (if (memq system-type | 6453 | (if (memq system-type |
| 6454 | '(ms-dos ms-windows windows-nt | 6454 | '(ms-dos windows-nt cygwin)) |
| 6455 | cygwin cygwin32 win32 w32 | ||
| 6456 | mswindows)) | ||
| 6457 | "message" | 6455 | "message" |
| 6458 | "*message*") | 6456 | "*message*") |
| 6459 | (format-time-string "-%Y%m%d-%H%M%S")) | 6457 | (format-time-string "-%Y%m%d-%H%M%S")) |
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index f657000205e..2be5667eea7 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el | |||
| @@ -680,7 +680,7 @@ superset of iso-8859-1." | |||
| 680 | "100% binary coding system.") | 680 | "100% binary coding system.") |
| 681 | 681 | ||
| 682 | (defvar mm-text-coding-system | 682 | (defvar mm-text-coding-system |
| 683 | (or (if (memq system-type '(windows-nt ms-dos ms-windows)) | 683 | (or (if (memq system-type '(windows-nt ms-dos)) |
| 684 | (and (mm-coding-system-p 'raw-text-dos) 'raw-text-dos) | 684 | (and (mm-coding-system-p 'raw-text-dos) 'raw-text-dos) |
| 685 | (and (mm-coding-system-p 'raw-text) 'raw-text)) | 685 | (and (mm-coding-system-p 'raw-text) 'raw-text)) |
| 686 | mm-binary-coding-system) | 686 | mm-binary-coding-system) |
| @@ -692,12 +692,12 @@ superset of iso-8859-1." | |||
| 692 | (defvar mm-auto-save-coding-system | 692 | (defvar mm-auto-save-coding-system |
| 693 | (cond | 693 | (cond |
| 694 | ((mm-coding-system-p 'utf-8-emacs) ; Mule 7 | 694 | ((mm-coding-system-p 'utf-8-emacs) ; Mule 7 |
| 695 | (if (memq system-type '(windows-nt ms-dos ms-windows)) | 695 | (if (memq system-type '(windows-nt ms-dos)) |
| 696 | (if (mm-coding-system-p 'utf-8-emacs-dos) | 696 | (if (mm-coding-system-p 'utf-8-emacs-dos) |
| 697 | 'utf-8-emacs-dos mm-binary-coding-system) | 697 | 'utf-8-emacs-dos mm-binary-coding-system) |
| 698 | 'utf-8-emacs)) | 698 | 'utf-8-emacs)) |
| 699 | ((mm-coding-system-p 'emacs-mule) | 699 | ((mm-coding-system-p 'emacs-mule) |
| 700 | (if (memq system-type '(windows-nt ms-dos ms-windows)) | 700 | (if (memq system-type '(windows-nt ms-dos)) |
| 701 | (if (mm-coding-system-p 'emacs-mule-dos) | 701 | (if (mm-coding-system-p 'emacs-mule-dos) |
| 702 | 'emacs-mule-dos mm-binary-coding-system) | 702 | 'emacs-mule-dos mm-binary-coding-system) |
| 703 | 'emacs-mule)) | 703 | 'emacs-mule)) |
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el index 6a24f21efc1..449b32fab02 100644 --- a/lisp/gnus/nnheader.el +++ b/lisp/gnus/nnheader.el | |||
| @@ -77,7 +77,7 @@ Integer values will in effect be rounded up to the nearest multiple of | |||
| 77 | "*Length of each read operation when trying to fetch HEAD headers.") | 77 | "*Length of each read operation when trying to fetch HEAD headers.") |
| 78 | 78 | ||
| 79 | (defvar nnheader-read-timeout | 79 | (defvar nnheader-read-timeout |
| 80 | (if (string-match "windows-nt\\|os/2\\|emx\\|cygwin" | 80 | (if (string-match "windows-nt\\|os/2\\|cygwin" |
| 81 | (symbol-name system-type)) | 81 | (symbol-name system-type)) |
| 82 | ;; http://thread.gmane.org/v9655t3pjo.fsf@marauder.physik.uni-ulm.de | 82 | ;; http://thread.gmane.org/v9655t3pjo.fsf@marauder.physik.uni-ulm.de |
| 83 | ;; | 83 | ;; |
| @@ -102,7 +102,7 @@ Shorter values mean quicker response, but are more CPU intensive.") | |||
| 102 | (defvar nnheader-file-name-translation-alist | 102 | (defvar nnheader-file-name-translation-alist |
| 103 | (let ((case-fold-search t)) | 103 | (let ((case-fold-search t)) |
| 104 | (cond | 104 | (cond |
| 105 | ((string-match "windows-nt\\|os/2\\|emx\\|cygwin" | 105 | ((string-match "windows-nt\\|os/2\\|cygwin" |
| 106 | (symbol-name system-type)) | 106 | (symbol-name system-type)) |
| 107 | (append (mapcar (lambda (c) (cons c ?_)) | 107 | (append (mapcar (lambda (c) (cons c ?_)) |
| 108 | '(?: ?* ?\" ?< ?> ??)) | 108 | '(?: ?* ?\" ?< ?> ??)) |
| @@ -786,8 +786,7 @@ If FULL, translate everything." | |||
| 786 | ;; We translate -- but only the file name. We leave the directory | 786 | ;; We translate -- but only the file name. We leave the directory |
| 787 | ;; alone. | 787 | ;; alone. |
| 788 | (if (and (featurep 'xemacs) | 788 | (if (and (featurep 'xemacs) |
| 789 | (memq system-type '(cygwin32 win32 w32 mswindows windows-nt | 789 | (memq system-type '(windows-nt cygwin))) |
| 790 | cygwin))) | ||
| 791 | ;; This is needed on NT and stuff, because | 790 | ;; This is needed on NT and stuff, because |
| 792 | ;; file-name-nondirectory is not enough to split | 791 | ;; file-name-nondirectory is not enough to split |
| 793 | ;; file names, containing ':', e.g. | 792 | ;; file names, containing ':', e.g. |
diff --git a/lisp/gnus/nnmail.el b/lisp/gnus/nnmail.el index 8bf0cbf5de1..456f2d9d518 100644 --- a/lisp/gnus/nnmail.el +++ b/lisp/gnus/nnmail.el | |||
| @@ -265,7 +265,7 @@ It scans low-level sorted spools even when not required." | |||
| 265 | :type 'function) | 265 | :type 'function) |
| 266 | 266 | ||
| 267 | (defcustom nnmail-crosspost-link-function | 267 | (defcustom nnmail-crosspost-link-function |
| 268 | (if (string-match "windows-nt\\|emx" (symbol-name system-type)) | 268 | (if (string-match "windows-nt" (symbol-name system-type)) |
| 269 | 'copy-file | 269 | 'copy-file |
| 270 | 'add-name-to-file) | 270 | 'add-name-to-file) |
| 271 | "*Function called to create a copy of a file. | 271 | "*Function called to create a copy of a file. |
diff --git a/lisp/gnus/pop3.el b/lisp/gnus/pop3.el index 20f7ba34b3c..682959af195 100644 --- a/lisp/gnus/pop3.el +++ b/lisp/gnus/pop3.el | |||
| @@ -120,7 +120,7 @@ Used for APOP authentication.") | |||
| 120 | (defalias 'pop3-accept-process-output 'nnheader-accept-process-output) | 120 | (defalias 'pop3-accept-process-output 'nnheader-accept-process-output) |
| 121 | ;; Borrowed from `nnheader.el': | 121 | ;; Borrowed from `nnheader.el': |
| 122 | (defvar pop3-read-timeout | 122 | (defvar pop3-read-timeout |
| 123 | (if (string-match "windows-nt\\|os/2\\|emx\\|cygwin" | 123 | (if (string-match "windows-nt\\|os/2\\|cygwin" |
| 124 | (symbol-name system-type)) | 124 | (symbol-name system-type)) |
| 125 | 1.0 | 125 | 1.0 |
| 126 | 0.01) | 126 | 0.01) |
diff --git a/lisp/net/imap.el b/lisp/net/imap.el index f9c89cd8162..785b02a2d41 100644 --- a/lisp/net/imap.el +++ b/lisp/net/imap.el | |||
| @@ -267,7 +267,7 @@ See also `imap-log'." | |||
| 267 | :type 'string) | 267 | :type 'string) |
| 268 | 268 | ||
| 269 | (defcustom imap-read-timeout (if (string-match | 269 | (defcustom imap-read-timeout (if (string-match |
| 270 | "windows-nt\\|os/2\\|emx\\|cygwin" | 270 | "windows-nt\\|os/2\\|cygwin" |
| 271 | (symbol-name system-type)) | 271 | (symbol-name system-type)) |
| 272 | 1.0 | 272 | 1.0 |
| 273 | 0.1) | 273 | 0.1) |