From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Miles Bader <miles@gnu.org>
Cc: Chong Yidong <cyd@stupidchicken.com>, ding@gnus.org, emacs-devel@gnu.org
Subject: Re: Mail mode vs message mode
Date: Sat, 28 Nov 2009 08:47:52 -0500 [thread overview]
Message-ID: <jwvaay6931a.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87my2aoyaz.fsf@catnip.gol.com> (Miles Bader's message of "Thu, 26 Nov 2009 10:43:48 +0900")
>>>> (defcustom message-foo
>>>> (let ((def mail-foo))
>>>> (if (acceptable def) def fallback))
>>>> ...)
>>> That kind of defeats the purpose.
>> Why?
> Isn't the entire purpose of using a default value of `mail-foo' to pick
> up any user customizations of mail-foo in .emacs (otherwise it'd be easy
> enough to just use a literal "> " as a default for message-yank-prefix)?
> So if the user sets mail-yank-prefix to " ", but your (acceptable ...)
> test rejects that because it looks wrong, then the purpose has (to some
> extent) been defeated...
Clearly, we'd want the `acceptable' test to only reject the few default
settings of previous Emacsen that are not acceptable and accept
anything else. So we'd only ignore user's configurations if they have
their mail-foo var customized to one of those older default values.
For those, they'll have to set message-foo explicitly instead.
Stefan
next prev parent reply other threads:[~2009-11-28 13:47 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-15 21:22 Mail mode vs message mode Chong Yidong
2009-11-15 22:55 ` Xavier Maillard
2009-11-16 2:53 ` Stefan Monnier
2009-11-16 9:56 ` Xavier Maillard
2009-11-17 1:14 ` Miles Bader
2009-11-17 22:59 ` Xavier Maillard
2009-11-16 4:57 ` Miles Bader
2009-11-17 16:51 ` Chong Yidong
2009-11-17 21:10 ` Reiner Steib
2009-11-18 16:53 ` Chong Yidong
2009-11-18 19:20 ` Reiner Steib
2009-11-19 14:56 ` Teemu Likonen
2009-11-19 16:53 ` Chong Yidong
2009-11-20 0:07 ` Katsumi Yamaoka
2009-11-22 15:55 ` Reiner Steib
2009-11-24 9:19 ` Katsumi Yamaoka
2009-11-25 21:40 ` Reiner Steib
2009-11-25 23:02 ` Stefan Monnier
2009-11-25 23:13 ` Chong Yidong
2009-11-26 1:27 ` Stefan Monnier
2009-11-26 1:43 ` Miles Bader
2009-11-28 13:47 ` Stefan Monnier [this message]
2009-11-27 8:41 ` Katsumi Yamaoka
2009-11-27 14:51 ` Chong Yidong
2009-11-29 0:32 ` Katsumi Yamaoka
2009-11-29 18:49 ` Chong Yidong
2009-11-30 0:00 ` Katsumi Yamaoka
2009-11-22 15:55 ` 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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvaay6931a.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=cyd@stupidchicken.com \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
--cc=miles@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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).