aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShengHuo ZHU2002-06-21 18:31:10 +0000
committerShengHuo ZHU2002-06-21 18:31:10 +0000
commit3e7b2fa787a547dd577e59e9ce9c06932b5cffa7 (patch)
tree432b3838ac1fad1abb1fed9424fa5b3093d11c2d
parent0f31dcfc6194a364058dd448d92215b8071e90f4 (diff)
downloademacs-3e7b2fa787a547dd577e59e9ce9c06932b5cffa7.tar.gz
emacs-3e7b2fa787a547dd577e59e9ce9c06932b5cffa7.zip
* nnheader.el (nnheader-file-name-translation-alist): Set the
default value for MS Windows systems. * gnus-ems.el (nnheader-file-name-translation-alist): Removed.
-rw-r--r--lisp/gnus/ChangeLog7
-rw-r--r--lisp/gnus/gnus-ems.el11
-rw-r--r--lisp/gnus/nnheader.el13
3 files changed, 19 insertions, 12 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index b586668a20f..9545c9b82fe 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,10 @@
12002-06-15 ShengHuo ZHU <zsh@cs.rochester.edu>
2
3 * nnheader.el (nnheader-file-name-translation-alist): Set the
4 default value for MS Windows systems.
5
6 * gnus-ems.el (nnheader-file-name-translation-alist): Removed.
7
12002-05-16 Juanma Barranquero <lektu@terra.es> 82002-05-16 Juanma Barranquero <lektu@terra.es>
2 9
3 * gnus-art.el (gnus-mime-copy-part): Fix typo. 10 * gnus-art.el (gnus-mime-copy-part): Fix typo.
diff --git a/lisp/gnus/gnus-ems.el b/lisp/gnus/gnus-ems.el
index e0d9f89fa0f..b52c0f75231 100644
--- a/lisp/gnus/gnus-ems.el
+++ b/lisp/gnus/gnus-ems.el
@@ -76,17 +76,6 @@
76 (defvar gnus-mouse-face-prop 'mouse-face 76 (defvar gnus-mouse-face-prop 'mouse-face
77 "Property used for highlighting mouse regions."))) 77 "Property used for highlighting mouse regions.")))
78 78
79(eval-and-compile
80 (let ((case-fold-search t))
81 (cond
82 ((string-match "windows-nt\\|os/2\\|emx\\|cygwin32"
83 (symbol-name system-type))
84 (setq nnheader-file-name-translation-alist
85 (append nnheader-file-name-translation-alist
86 (mapcar (lambda (c) (cons c ?_))
87 '(?: ?* ?\" ?< ?> ??))
88 '((?+ . ?-))))))))
89
90(defvar gnus-tmp-unread) 79(defvar gnus-tmp-unread)
91(defvar gnus-tmp-replied) 80(defvar gnus-tmp-replied)
92(defvar gnus-tmp-score-char) 81(defvar gnus-tmp-score-char)
diff --git a/lisp/gnus/nnheader.el b/lisp/gnus/nnheader.el
index b1d7d3d3cb5..6f383aec783 100644
--- a/lisp/gnus/nnheader.el
+++ b/lisp/gnus/nnheader.el
@@ -47,7 +47,18 @@
47(defvar nnheader-head-chop-length 2048 47(defvar nnheader-head-chop-length 2048
48 "*Length of each read operation when trying to fetch HEAD headers.") 48 "*Length of each read operation when trying to fetch HEAD headers.")
49 49
50(defvar nnheader-file-name-translation-alist nil 50(defvar nnheader-file-name-translation-alist
51 (let ((case-fold-search t))
52 (cond
53 ((string-match "windows-nt\\|os/2\\|emx\\|cygwin32"
54 (symbol-name system-type))
55 (append (mapcar (lambda (c) (cons c ?_))
56 '(?: ?* ?\" ?< ?> ??))
57 (if (string-match "windows-nt\\|cygwin32"
58 (symbol-name system-type))
59 nil
60 '((?+ . ?-)))))
61 (t nil)))
51 "*Alist that says how to translate characters in file names. 62 "*Alist that says how to translate characters in file names.
52For instance, if \":\" is invalid as a file character in file names 63For instance, if \":\" is invalid as a file character in file names
53on your system, you could say something like: 64on your system, you could say something like: