(wl-folder-expire-current-entity): Don't refer visible name.
* wl-folder.el (wl-folder-jump-to-current-entity): Ditto
(wl-folder-folder-name, wl-folder-entity-name): Abolished.
2003-03-12 Yoichi NAKAYAMA <yoichi@geiin.org>
- * wl-fldmgr.el (wl-fldmgr-rename): Don't refer visible name.
- (wl-fldmgr-sort,wl-fldmgr-access-display-all): Ditto.
+ * wl-fldmgr.el (wl-fldmgr-rename,wl-fldmgr-sort)
+ (wl-fldmgr-access-display-all): Don't refer visible name.
+ * wl-expire.el (wl-folder-archive-current-entity)
+ (wl-folder-expire-current-entity): Ditto.
* wl-folder.el (wl-folder-jump-to-current-entity)
(wl-folder-update-recursive-current-entity,wl-folder-next-unsync)
(wl-folder-open-folder-sub,wl-folder-open-all)
(wl-folder-insert-entity): Don't use petname for normal group.
* wl-fldmgr.el (wl-fldmgr-insert-folders-buffer): car of the name
is the real name.
+ * wl-folder.el (wl-folder-folder-name, wl-folder-entity-name):
+ Abolished.
2003-03-06 Kenichi OKADA <okada@opaopa.org>
(let ((entity-name
(or (wl-folder-get-folder-name-by-id
(get-text-property (point) 'wl-folder-entity-id))
- (wl-folder-get-realname (wl-folder-folder-name)))))
+ (wl-folder-get-entity-from-buffer))))
(when (and entity-name
(or (not (interactive-p))
(y-or-n-p (format "Expire %s? " entity-name))))
(let ((entity-name
(or (wl-folder-get-folder-name-by-id
(get-text-property (point) 'wl-folder-entity-id))
- (wl-folder-get-realname (wl-folder-folder-name)))))
+ (wl-folder-get-entity-from-buffer))))
(when (and entity-name
(or (not (interactive-p))
(y-or-n-p (format "Archive %s? " entity-name))))
(defmacro wl-folder-buffer-group-p ()
(` (get-text-property (point) 'wl-folder-is-group)))
-(defmacro wl-folder-folder-name ()
- (` (save-excursion
- (beginning-of-line)
- (if (or (looking-at "^[ ]*\\[[\\+-]\\]\\(.+\\):[-0-9\\*-]+/[0-9\\*-]+/[0-9\\*-]+\n")
- (looking-at "^[ ]*\\([^\\[].+\\):.*\n"))
- (wl-match-buffer 1)))))
-
-(defmacro wl-folder-entity-name ()
- (` (save-excursion
- (beginning-of-line)
- (if (looking-at "^[ ]*\\([^\\[].+\\):.*\n")
- (wl-match-buffer 1)))))
-
(defun wl-folder-buffer-search-group (group)
(let ((prev-point (point))
(group-regexp (concat
; (wl-delete-all-overlays)
; (wl-highlight-folder-current-line)
)))
- ((setq fld-name (wl-folder-entity-name))
+ ((setq fld-name (wl-folder-get-entity-from-buffer))
(wl-folder-set-current-entity-id
(get-text-property (point) 'wl-folder-entity-id))
(setq fld-name (wl-folder-get-folder-name-by-id
(if (re-search-backward (wl-folder-unread-regex group) nil t)
(progn
(beginning-of-line)
- (wl-folder-folder-name))
+ (wl-folder-get-entity-from-buffer))
(goto-char start-point)
(message "No more unread folder")
nil)))
(if (re-search-forward (wl-folder-unread-regex group) nil t)
(progn
(beginning-of-line)
- (wl-folder-folder-name))
+ (wl-folder-get-entity-from-buffer))
(goto-char start-point)
(message "No more unread folder")
nil)))