aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wohler2006-06-16 00:54:41 +0000
committerBill Wohler2006-06-16 00:54:41 +0000
commitd9044cd65dad83d5c56f2c5128a2516d17e630e3 (patch)
tree51af9336d0ece5a5f17fcea35441867fce85837c
parentfbf62741d6938592fa7fce7cfcd6e6bdcd28148b (diff)
downloademacs-d9044cd65dad83d5c56f2c5128a2516d17e630e3.tar.gz
emacs-d9044cd65dad83d5c56f2c5128a2516d17e630e3.zip
(mh-index-new-folder): Use -2 suffix instead of <2> suffix for folder
names, as <> are illegal filename characters on Windows (closes SF #1507002).
-rw-r--r--lisp/mh-e/ChangeLog13
-rw-r--r--lisp/mh-e/mh-search.el4
2 files changed, 15 insertions, 2 deletions
diff --git a/lisp/mh-e/ChangeLog b/lisp/mh-e/ChangeLog
index b9534ef9647..a679b5d65eb 100644
--- a/lisp/mh-e/ChangeLog
+++ b/lisp/mh-e/ChangeLog
@@ -1,9 +1,22 @@
12006-06-15 Bill Wohler <wohler@newt.com>
2
3 * mh-search.el (mh-index-new-folder): Use -2 suffix instead of <2>
4 suffix for folder names, as <> are illegal filenakme characters on
5 Windows (closes SF #1507002).
6
12006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change) 72006-06-05 Jacob Morzinski <morzinski@MIT.EDU> (tiny change)
2 8
3 * mh-comp.el (mh-send-uses-spost): New variable. 9 * mh-comp.el (mh-send-uses-spost): New variable.
4 (mh-send-letter): Do not use -msgid and -mime if 10 (mh-send-letter): Do not use -msgid and -mime if
5 mh-send-uses-spost is t (closes SF #1486726). 11 mh-send-uses-spost is t (closes SF #1486726).
6 12
132006-06-02 Bill Wohler <wohler@newt.com>
14
15 (mh-folder-exists-p): Change test from an empty buffer, to one
16 that contains the actual folder, since GNU mailutils' folder
17 command displays output if the folder doesn't exist (closes SF
18 #1499712).
19
72006-05-06 Bill Wohler <wohler@newt.com> 202006-05-06 Bill Wohler <wohler@newt.com>
8 21
9 Release MH-E version 8.0. 22 Release MH-E version 8.0.
diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el
index b6f8dd71d9a..62c130bb90f 100644
--- a/lisp/mh-e/mh-search.el
+++ b/lisp/mh-e/mh-search.el
@@ -1537,7 +1537,7 @@ If folder NAME already exists and was generated for the same
1537SEARCH-REGEXP then it is reused. 1537SEARCH-REGEXP then it is reused.
1538 1538
1539Otherwise if the folder NAME was generated from a different 1539Otherwise if the folder NAME was generated from a different
1540search then check if NAME<2> can be used. Otherwise try NAME<3>. 1540search then check if NAME-2 can be used. Otherwise try NAME-3.
1541This is repeated till we find a new folder name. 1541This is repeated till we find a new folder name.
1542 1542
1543If the folder returned doesn't exist then it is created." 1543If the folder returned doesn't exist then it is created."
@@ -1545,7 +1545,7 @@ If the folder returned doesn't exist then it is created."
1545 (error "The argument should be a valid MH folder name")) 1545 (error "The argument should be a valid MH folder name"))
1546 (let ((chosen-name 1546 (let ((chosen-name
1547 (loop for i from 1 1547 (loop for i from 1
1548 for candidate = (if (equal i 1) name (format "%s<%s>" name i)) 1548 for candidate = (if (equal i 1) name (format "%s-%s" name i))
1549 when (or (not (mh-folder-exists-p candidate)) 1549 when (or (not (mh-folder-exists-p candidate))
1550 (equal (mh-index-folder-search-regexp candidate) 1550 (equal (mh-index-folder-search-regexp candidate)
1551 search-regexp)) 1551 search-regexp))