* wl-util.el (wl-line-parse-format): Set up wl-line-string.
2002-05-07 Yuuichi Teranishi <teranisi@gohome.org>
+ * wl-vars.el (wl-summary-line-format-spec-alist): Added '~'.
+
+ * wl-util.el (wl-line-parse-format): Set up wl-line-string.
+
* wl-vars.el (wl-summary-line-format): Addes some description to the
docstring.
(apply (function concat) (nreverse expanded))
newtext)))
+(defvar wl-line-string)
(defun wl-line-parse-format (format spec-alist)
"Make a formatter from FORMAT and SPEC-ALIST."
(let (f spec specs stack)
(string-to-number (match-string 1))
spec)))
(replace-match "s" 'fixed)
- (setq specs (append specs (list spec))))))))
+ (setq specs (append specs
+ (list
+ (list
+ 'setq 'wl-line-string
+ spec)))))))))
(buffer-string)))
(append (list 'format f) specs)))
(if wl-parent-message-entity
(if wl-thr-linked ">>" ">")
"")))
+ (?~ (if (zerop (length wl-line-string)) "" " "))
(?c (if wl-thr-children-number
(concat "+" (number-to-string wl-thr-children-number) ":")
" "))
the from: field string of the message are concatenated.
%s The subject: field string of the message.
%S The size of the message (if available).
+%~ If the previous spec is not zero-length, replaced with ' '.
If the format string contains the specifiers %( and %), the text between
them will have the specified number of columns."