* wl-expire.el (wl-expire-archive-get-folder): Fixed problem that name
authormurata <murata>
Thu, 24 May 2001 13:47:27 +0000 (13:47 +0000)
committermurata <murata>
Thu, 24 May 2001 13:47:27 +0000 (13:47 +0000)
of folder exclude localdir is wrong.
* wl-folder.el (wl-folder-sync-entity): Set
`wl-summary-always-sticky-folder-list' as nil.
(wl-folder-mark-as-read-all-entity): Ditto.
(wl-folder-prefetch-entity): Ditto.

wl/ChangeLog
wl/wl-expire.el
wl/wl-folder.el

index 5c13e84..2dfc552 100644 (file)
@@ -1,3 +1,12 @@
+2001-05-24  Masahiro MURATA  <muse@ba2.so-net.ne.jp>
+
+       * wl-expire.el (wl-expire-archive-get-folder): Fixed problem that
+       name of folder exclude localdir is wrong.
+       * wl-folder.el (wl-folder-sync-entity):
+       Set `wl-summary-always-sticky-folder-list' as nil.
+       (wl-folder-mark-as-read-all-entity): Ditto.
+       (wl-folder-prefetch-entity): Ditto.
+
 2001-05-23  Kenichi OKADA  <okada@opaopa.org>
 
        * wl-draft.el (wl-draft): use `wl-summary-write-current-folder'
index f81203a..755221f 100644 (file)
@@ -241,6 +241,9 @@ If REFILE-LIST includes reserve mark message, so copy."
 (defun wl-expire-archive-get-folder (src-folder &optional fmt dst-folder-arg)
   "Get archive folder name from SRC-FOLDER."
   (let* ((fmt (or fmt wl-expire-archive-folder-name-fmt))
+        (src-folde-name (substring
+                         (elmo-folder-name-internal src-folder)
+                         (length (elmo-folder-prefix-internal src-folder))))
         (archive-spec (char-to-string
                        (car (rassq 'archive elmo-folder-type-alist))))
         dst-folder-base dst-folder-fmt prefix)
@@ -248,16 +251,13 @@ If REFILE-LIST includes reserve mark message, so copy."
           (setq dst-folder-base (concat archive-spec dst-folder-arg)))
          ((eq (elmo-folder-type-internal src-folder) 'localdir)
           (setq dst-folder-base
-                (concat archive-spec
-                        (substring
-                         (elmo-folder-name-internal src-folder) 1))))
+                (concat archive-spec src-folde-name)))
          (t
           (setq dst-folder-base
                 (elmo-concat-path
                  (format "%s%s" archive-spec (elmo-folder-type-internal
                                               src-folder))
-                 (substring (substring (elmo-folder-name-internal src-folder) 1)
-                            (length (elmo-folder-prefix-internal src-folder)))))))
+                 src-folde-name))))
     (setq dst-folder-fmt (format fmt
                                 dst-folder-base
                                 wl-expire-archive-folder-type))
@@ -267,11 +267,9 @@ If REFILE-LIST includes reserve mark message, so copy."
     (when wl-expire-archive-folder-prefix
       (cond ((eq wl-expire-archive-folder-prefix 'short)
             (setq prefix (file-name-nondirectory
-                          (substring
-                           (elmo-folder-name-internal src-folder) 1))))
+                          src-folde-name)))
            (t
-            (setq prefix (substring
-                          (elmo-folder-name-internal src-folder) 1))))
+            (setq prefix src-folde-name)))
       (setq dst-folder-fmt (concat dst-folder-fmt ";" prefix))
       (setq dst-folder-base (concat dst-folder-base ";" prefix)))
     (cons dst-folder-base dst-folder-fmt)))
index c384614..25a8bac 100644 (file)
@@ -997,7 +997,8 @@ If current line is group folder, check all sub entries."
              (or (< 0 new) (< 0 unread)))
          (let ((wl-summary-buffer-name (concat
                                         wl-summary-buffer-name
-                                        (symbol-name this-command))))
+                                        (symbol-name this-command)))
+               (wl-summary-always-sticky-folder-list nil))
            (save-window-excursion
              (save-excursion
                (wl-summary-goto-folder-subr entity
@@ -1046,7 +1047,8 @@ If current line is group folder, check all subfolders."
            (save-excursion
              (let ((wl-summary-buffer-name (concat
                                             wl-summary-buffer-name
-                                            (symbol-name this-command))))
+                                            (symbol-name this-command)))
+                   (wl-summary-always-sticky-folder-list nil))
                (wl-summary-goto-folder-subr entity
                                             (wl-summary-get-sync-range folder)
                                             nil)
@@ -2648,7 +2650,8 @@ Use `wl-subscribed-mailing-list'."
            (save-excursion
              (let ((wl-summary-buffer-name (concat
                                             wl-summary-buffer-name
-                                            (symbol-name this-command))))
+                                            (symbol-name this-command)))
+                   (wl-summary-always-sticky-folder-list nil))
                (wl-summary-goto-folder-subr entity
                                             (wl-summary-get-sync-range
                                              folder)