New variable (wl-message-truncate-lines, wl-draft-truncate-lines).
* wl/wl-message.el, wl/wl-draft.el:
Use it to set truncate-lines.
* samples/en/dot.wl, samples/ja/dot.wl
Add truncation settings.
* doc/wl-ja.texi, doc/wl.texi: Update.
NOTE: We should reconsider the place of wl-{folder|summary}-use-frame
in info.
'("Return-Path" "Received" "^To" "^Cc" "Newsgroups" "Subject" "^From")\e$B!#\e(B
\e$B%a%C%;!<%8%P%C%U%!$KI=<($9$k%X%C%@%U%#!<%k%I$N=gHV$r@55,I=8=$N%j%9%H$G\e(B
\e$B;XDj$7$^$9!#\e(B
+@item wl-message-truncate-lines
+@vindex wl-message-truncate-lines
+\e$B=i4|@_Dj$O\e(B @code{default-truncate-lines} \e$B$NCM$,;H$o$l$^$9!#\e(B
+Non-nil \e$B$J$i%a%C%;!<%8%P%C%U%!$GD9$$9T$N@^$jJV$7$r$7$^$;$s!#\e(B
@end table
\e$B=i4|@_Dj$O\e(B @code{nil}\e$B!#\e(B
Non-nil \e$B$J$i%5%^%jI=<(MQ$K?7$7$$%U%l!<%`$r3+$-$^$9!#\e(B
+@item wl-draft-truncate-lines
+@vindex wl-draft-truncate-lines
+\e$B=i4|@_Dj$O\e(B @code{default-truncate-lines} \e$B$NCM$,;H$o$l$^$9!#\e(B
+Non-nil \e$B$J$i%I%i%U%H%P%C%U%!$GD9$$9T$N@^$jJV$7$r$7$^$;$s!#\e(B
+
@item wl-from
@vindex wl-from
\e$B=i4|@_Dj$OJQ?t\e(B @code{user-mail-address} \e$B$NCM!#\e(B
'("Return-Path" "Received" "^To" "^Cc" "Newsgroups" "Subject" "^From").
Header fields in message buffer are orderd by this value.
Each elements are regexp of field-name.
+@item wl-message-truncate-lines
+@vindex wl-message-truncate-lines
+The initial value is the value of @code{default-truncate-lines}.
+If it is non-nil, truncate long lines in message buffer.
@end table
@node Draft, Disconnected Operations, Message, Top
The initial setting is @code{nil}.
If non-nil, use new frame for the draft.
+@item wl-folder-use-frame
+@vindex wl-folder-use-frame
+The initial setting is @code{nil}.
+If non-nil, use new frame for the folder window.
+
+@item wl-summary-use-frame
+@vindex wl-summary-use-frame
+The initial setting is @code{nil}.
+If non-nil, use new frame for the summary.
+
+@item wl-draft-truncate-lines
+@vindex wl-draft-truncate-lines
+The initial value is the value of @code{default-truncate-lines}.
+If it is non-nil, truncate long lines in draft buffer.
+
@item wl-from
@vindex wl-from
The initial setting is the value of the variable
;; Keep folder window beside summary. (3 pane)
;(setq wl-stay-folder-window t)
+;; Truncate long lines.
+;(setq wl-message-truncate-lines t)
+;(setq wl-draft-truncate-lines t)
+
;; Open new frame for draft buffer.
;(setq wl-draft-use-frame t)
;; \e$B%5%^%j%P%C%U%!$N:8$K%U%)%k%@%P%C%U%!$rI=<($9$k\e(B (3\e$B%Z%$%sI=<(\e(B)
;(setq wl-stay-folder-window t)
+;; \e$BD9$$9T$r@Z$j=L$a$k\e(B
+;(setq wl-message-truncate-lines t)
+;(setq wl-draft-truncate-lines t)
+
;; \e$B%I%i%U%H$r?7$7$$%U%l!<%`$G=q$/\e(B
;(setq wl-draft-use-frame t)
+2001-09-26 Yoichi NAKAYAMA <yoichi@eken.phys.nagoya-u.ac.jp>
+
+ * wl-vars.el (wl-message-truncate-lines): New variable.
+ (wl-draft-truncate-lines): Ditto.
+
+ * wl-message.el (wl-mmelmo-message-redisplay): Use it to
+ set truncate-lines.
+
+ * wl-draft.el (wl-draft): Ditto.
+
2001-09-26 Yuuichi Teranishi <teranisi@gohome.org>
* wl-draft.el (wl-draft-yank-from-mail-reply-buffer): Push mark
(delete-other-windows))
(auto-save-mode -1)
(wl-draft-mode)
+ (setq truncate-lines wl-draft-truncate-lines)
(setq wl-sent-message-via nil)
(if (stringp (or from wl-from))
(insert "From: " (or from wl-from) "\n"))
(require 'mmelmo)
(wl-select-buffer view-message-buffer)
(set-buffer view-message-buffer)
+ (setq truncate-lines wl-message-truncate-lines)
(unwind-protect
(progn
(setq wl-message-buffer-cur-summary-buffer cur-buf)
:type 'boolean
:group 'wl-pref)
+(defcustom wl-message-truncate-lines default-truncate-lines
+ "*Truncate lines in Message Buffer."
+ :type 'boolean
+ :group 'wl-pref)
+
+(defcustom wl-draft-truncate-lines default-truncate-lines
+ "*Truncate lines in Draft Buffer."
+ :type 'boolean
+ :group 'wl-draft
+ :group 'wl-pref)
+
(defcustom wl-message-scroll-amount 5
"*Scroll amount by SPC key."
:type 'integer