emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mail mode vs message mode


From: Katsumi Yamaoka
Subject: Re: Mail mode vs message mode
Date: Sun, 29 Nov 2009 09:32:01 +0900
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)

>>>>> In <address@hidden>
>>>>>   Chong Yidong <address@hidden> wrote:
> Katsumi Yamaoka <address@hidden> writes:

> > How about using the value of mail-* if and only if the value of
> > mail-* is customized by a user or its default value is suitable
> > to Gnus?

> I would prefer a direct check for the Emacs version instead, if you want
> to avoid the mail-* variables for older Emacsen.

It will be something like:

(defcustom message-yank-prefix
  (if (featurep 'xemacs)
      "> "
    (if (or (string-match "\\`23\\.1\\.5[0-9]\\.[0-9]*\\'" emacs-version)
            (>= emacs-major-version 24)
            (and (= emacs-major-version 23) (>= emacs-minor-version 2)))
        mail-yank-prefix
      "> "))
  "doc string")

But I don't find a meaningful difference in it from:

(defcustom message-yank-prefix "> "
  "doc string")

In other words, I'd prefer to revert the recent changes in message.el.

Regards,




reply via email to

[Prev in Thread] Current Thread [Next in Thread]