Gnus development mailing list
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Reiner Steib <Reiner.Steib@gmx.de>
Cc: ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Differences between mail-mode and message-mode
Date: Sun, 19 Jul 2009 20:51:44 +0300	[thread overview]
Message-ID: <83ab30pnm7.fsf@gnu.org> (raw)
In-Reply-To: <874ot8zyqb.fsf@marauder.physik.uni-ulm.de>

> From: Reiner Steib <reinersteib+gmane@imap.cc>
> 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'.




  parent reply	other threads:[~2009-07-19 17:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <E1MRmmG-0006yL-WB@fencepost.gnu.org>
     [not found] ` <E1MRn3w-0003wj-QT@fencepost.gnu.org>
     [not found]   ` <E1MRxo5-00037n-1N@fencepost.gnu.org>
     [not found]     ` <878wimdbzp.fsf@catnip.gol.com>
     [not found]       ` <87tz1av8ik.fsf@bzg.ath.cx>
     [not found]         ` <83vdlqp0rt.fsf@gnu.org>
2009-07-19 11:41           ` Differences between mail-mode and message-mode (was: message-mode is now default?) Reiner Steib
2009-07-19 12:32             ` Differences between mail-mode and message-mode Sven Joachim
2009-07-19 17:51             ` Eli Zaretskii [this message]
2009-07-19 18:11               ` Eli Zaretskii
2009-07-22  7:35             ` Differences between mail-mode and message-mode (was: message-mode is now default?) Stephen J. Turnbull
2009-07-22 18:46               ` Differences between mail-mode and message-mode Reiner Steib
2009-07-23  3:05                 ` Stephen J. Turnbull
2009-07-23  5:03                   ` Miles Bader
     [not found]         ` <jwviqhq14u9.fsf-monnier+emacs@gnu.org>
     [not found]           ` <E1MSRQV-0006zG-40@fencepost.gnu.org>
     [not found]             ` <873a8tc92j.fsf@lola.goethe.zz>
     [not found]               ` <E1MSU0K-0005kX-PZ@fencepost.gnu.org>
2009-07-19 11:56                 ` Differences between mail-mode and message-mode - sending mail (was: message-mode is now default?) Reiner Steib
     [not found]           ` <E1MSO9K-00030v-Go@fencepost.gnu.org>
     [not found]             ` <87k525mfo7.fsf@catnip.gol.com>
     [not found]               ` <87eisb715o.fsf@stupidchicken.com>
2009-07-20 20:42                 ` message-mode is now default? Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83ab30pnm7.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).