[Mew-dist 15473] separator patch for b89 (was Re: b89)
NINOMIYA Hideyuki
nin at example.com
2000年 12月 14日 (木) 15:49:01 JST
こんにちは 二宮@お四国 です
山本 和彦 様 は Thu, 14 Dec 2000 01:57:06 +0900 頃に
Subject: [Mew-dist 15461] b89
Message-Id: <20001214.015720.41709120.kazu at example.com>
に於いて以下のようにおっしゃっていました。
※都合により手を加えさせていただく事が有ります。御了承下さいマセヽ...
かず> b89 を出します。
かず> P.S.
かず> 二宮さん、申し訳ないのですが、b89 に対し thread separator
かず> パッチを作って下さい。
ほえ〜〜、呼び出されてしまった ^^;
Merge すかぁ ? まだメッセージナンバー問題が解決して無いっすよっ...
とりあえず(↓)....
# あんま確認して無い...
Index: mew-summary.el
===================================================================
RCS file: /tmp/am/da/cvs/mew/mew-summary.el,v
retrieving revision 1.1.1.13
diff -c -F(def -r1.1.1.13 mew-summary.el
*** mew-summary.el 2000/12/14 03:05:51 1.1.1.13
--- mew-summary.el 2000/12/14 03:07:25
*************** (defmacro mew-summary-msg (&rest body)
*** 36,42 ****
(` (cond
((eobp) (message "No message"))
((not (mew-summary-message-number))
! (message "Please use this command on a message, not a part"))
(t
(,@ body)))))
--- 36,44 ----
(` (cond
((eobp) (message "No message"))
((not (mew-summary-message-number))
! (let ((msg ""))
! (if mew-use-thread-separator (setq msg " or thread separator"))
! (message "Please use this command on a message, not a part%s" msg)))
(t
(,@ body)))))
Index: mew-thread.el
===================================================================
RCS file: /tmp/am/da/cvs/mew/mew-thread.el,v
retrieving revision 1.1.1.10
diff -c -F(def -r1.1.1.10 mew-thread.el
*** mew-thread.el 2000/12/14 03:05:53 1.1.1.10
--- mew-thread.el 2000/12/14 05:49:21
*************** (defvar mew-fancy-thread-indent-strings
*** 75,80 ****
--- 75,83 ----
All members must have same lengths.")
+ (defvar mew-use-thread-separator nil)
+ (defvar mew-thread-separator "")
+
(defvar mew-thread-indent-length nil)
(defvar mew-thread-indent-regex nil)
(defvar mew-thread-indent-lregex nil)
*************** (defun mew-summary-thread-print (tree fo
*** 362,367 ****
--- 365,375 ----
(let* ((me (car tree))
(cld (mew-thread-get-child me)))
(mew-elet
+ (if mew-use-thread-separator
+ (if (and
+ (= 0 level)
+ (not (= 1 (line-beginning-position))))
+ (insert (concat mew-thread-separator "\n"))))
(insert (mew-thread-get-line me))
(forward-line -1)
(move-to-column column)
*************** (defun mew-summary-fancy-thread-print-to
*** 400,405 ****
--- 408,415 ----
(let* ((me (car top))
(cld (mew-thread-get-child me)))
(mew-elet
+ (if mew-use-thread-separator
+ (insert (concat mew-thread-separator "\n")))
(insert (mew-thread-get-line me))
(forward-line -1)
(move-to-column column)
*************** (defun mew-summary-thread-up ()
*** 488,493 ****
--- 498,504 ----
(mew-summary-goto-message)
(mew-decode-syntax-delete)
(forward-line -1)
+ (if (not (mew-summary-message-number)) (forward-line -1))
(catch 'loop
(while (not (bobp))
(move-to-column column)
*************** (defun mew-summary-thread-down ()
*** 522,527 ****
--- 533,539 ----
(progn
(goto-char here)
(beginning-of-line)
+ (if (not (mew-summary-message-number)) (forward-line))
(mew-summary-display nil))
(message "No more thread")))))
---
ICQ UIN:57442553 二宮 秀幸@愛媛 鬼北 広見町
PGP-Fingerprint: 6C59 EC08 5B23 6490 44D0 7CD3 DA40 219F 7114 8553
PGP-Public-Key: http://user.shikoku.ne.jp/~nin/pgp/public-key.txt
mailto:nin at example.com http://user.shikoku.ne.jp/~nin/index.html
mailto:nin at example.com http://home.jp.freebsd.org/~nin/index.html
Mew-dist メーリングリストの案内