From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/68765 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Differences between mail-mode and message-mode Date: Sun, 19 Jul 2009 20:51:44 +0300 Message-ID: <83ab30pnm7.fsf@gnu.org> References: <878wimdbzp.fsf@catnip.gol.com> <87tz1av8ik.fsf@bzg.ath.cx> <83vdlqp0rt.fsf@gnu.org> <874ot8zyqb.fsf@marauder.physik.uni-ulm.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1248025923 12084 80.91.229.12 (19 Jul 2009 17:52:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jul 2009 17:52:03 +0000 (UTC) Cc: ding@gnus.org, emacs-devel@gnu.org To: Reiner Steib Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jul 19 19:51:55 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MSaYD-0007QF-RO for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 19:51:54 +0200 Original-Received: from localhost ([127.0.0.1]:40643 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaYD-0002ck-6d for ged-emacs-devel@m.gmane.org; Sun, 19 Jul 2009 13:51:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSaY9-0002cd-6e for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:51:49 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSaY7-0002by-U1 for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:51:48 -0400 Original-Received: from [199.232.76.173] (port=38622 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSaY7-0002bv-Pa for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:51:47 -0400 Original-Received: from mtaout1.012.net.il ([84.95.2.1]:54932) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSaY6-000558-UJ for emacs-devel@gnu.org; Sun, 19 Jul 2009 13:51:47 -0400 Original-Received: from conversion-daemon.i-mtaout1.012.net.il by i-mtaout1.012.net.il (HyperSendmail v2007.08) id <0KN100L00IVDQQ00@i-mtaout1.012.net.il> for emacs-devel@gnu.org; Sun, 19 Jul 2009 20:51:45 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.126.246.110]) by i-mtaout1.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KN1002RBIY88I30@i-mtaout1.012.net.il>; Sun, 19 Jul 2009 20:51:45 +0300 (IDT) In-reply-to: <874ot8zyqb.fsf@marauder.physik.uni-ulm.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by monty-python.gnu.org: Solaris 9.1 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:112762 gmane.emacs.gnus.general:68765 Archived-At: > From: Reiner Steib > Cc: emacs-devel@gnu.org, ding@gnus.org > Date: Sun, 19 Jul 2009 13:41:32 +0200 > > > . mail-mode runs `text-mode-hook' and `mail-mode-hook'; message-mode > > says it runs `message-mode-hook' "in addition to any hooks its > > parent mode `text-mode' might have run" -- it isn't clear to me if > > these two are compatible wrt what text-mode does. > > This text is from `derived-mode-make-docstring'. message-mode is > derived from text-mode. So is mail-mode, but the blurb is somehow still different, I don't know why. > > . mail-mode uses `mail-yank-hooks'; message-mode doesn't appear to > > have such a facility. > > ,---- > | ;; FIXME make it really obsolete. > | (defvar mail-yank-hooks nil > | "Obsolete hook for modifying a citation just inserted in the mail buffer. > | Each hook function can find the citation between (point) and (mark t). > | And each hook function should leave point and mark around the citation > | text as modified. > | > | This is a normal hook, misnamed for historical reasons. > | It is semi-obsolete and mail agents should no longer use it.") > `---- > > Should we care about it if is obsolete? It depends whether people are using it or not, IMO. And we usually declare a feature obsolete formally, and keep it that way for some time, before removing it. > > . message-mode's default value of `message-citation-line-format' > > seems to produce different results compared to what `r' in Rmail > > produces. > > AFAICS, `r' doesn't cite at all and produce not citation line (neither > does `C-c C-y' (`mail-yank-original'). I mean the "John Doe writes" stuff vs the "From: ..." etc. produced by Rmail's `r'.