Gnus development mailing list
 help / color / mirror / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: ding@gnus.org
Subject: Re: message-cite-function
Date: Tue, 21 Apr 2009 22:32:49 +0200	[thread overview]
Message-ID: <87hc0hzr0u.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <quack.20090421T0015.871vrmmyl6@honk.quarl.org>

On Tue, Apr 21 2009, Karl Chen wrote:

> FYI.  Changing the default value of message-cite-function from
> message-cite-original to message-cite-original-without-signature
> disrupted uses where the user set mail-citation-hook because
> message-cite-original-without-signature doesn't look at
> mail-citation-hook.
>
> Probably too late to do anything now but thought I would whine
> about the inconsistent interface.

This inconsistency should only present in Gnus 5.11 bundled with Emacs
22.3 (see below).  Which versions of Gnus and Emacs are you using?

,----[ <news:87tz64tbf2.fsf@marauder.physik.uni-ulm.de> ]
| From: Reiner Steib <reinersteib+from-uce@imap.cc>
| Subject: Re: emacs-22.3 + gnus-5.11 = broken mail-citation-hook
| Newsgroups: comp.emacs
| Date: Sun, 08 Mar 2009 14:02:41 +0100
| Message-ID: <87tz64tbf2.fsf@marauder.physik.uni-ulm.de>
|
| [...]
|
| The missing feature in Emacs 22.3 is that
| `message-cite-original-without-signature' doesn't call
| `mail-citation-hook'.   It's a missing feature rather than a bug
| because this fact is documented:
| 
| ,----[ <f1> v message-cite-function RET (Emacs 22.3) ]
| | message-cite-function is a variable defined in `message.el'.
| | Its value is 
| | message-cite-original-without-signature
| | 
| | Documentation:
| | *Function for citing an original message.
| | Predefined functions include `message-cite-original' and
| | `message-cite-original-without-signature'.
| | Note that `message-cite-original' uses `mail-citation-hook' if that
| | is non-nil.
| `----
| 
| ,----[ <f1> v message-cite-function RET (No Gnus / Emacs 23) ]
| | message-cite-function is a variable defined in `message.el'.
| | Its value is 
| | message-cite-original-without-signature
| | 
| | Documentation:
| | *Function for citing an original message.
| | Predefined functions include `message-cite-original' and
| | `message-cite-original-without-signature'.
| | Note that these functions use `mail-citation-hook' if that is non-nil.
| `----
| 
| > That is, backward compatibility was broken for some reason.
| 
| Breaking backward compatibility certainly wasn't intended. Sorry for
| the inconvenience.
| 
| But backporting the No Gnus changes to Gnus 5.10.12 seems to risky.
| But I'll add a warning to the docs:
| 
| ,----[ (info "(gnus)Oort Gnus") / GNUS-NEWS ]
| |        * Signatures are stripped when replying by default.  I.e. the
| |           default of `message-cite-function' has been changed to
| |           `message-cite-original-without-signature'.  *Note Insertion
| |           Variables: (message)Insertion Variables.
| | 
| |           Note that in contrast to `message-cite-original',
| |           `message-cite-original-without-signature' doesn't call
| |           `mail-citation-hook'.  This incompatibility affects only this
| |           version - in Gnus 5.12 (and Emacs 23) it has been unified so
| |           that both call `mail-citation-hook'.
| `----
`----

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




      reply	other threads:[~2009-04-21 20:32 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-21  4:15 message-cite-function Karl Chen
2009-04-21 20:32 ` Reiner Steib [this message]

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=87hc0hzr0u.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=ding@gnus.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).