Gnus development mailing list
 help / color / mirror / Atom feed
From: Miles Bader <miles@gnu.org>
Subject: Re: message-cite-function: message-cite-original-without-signature?
Date: Sat, 15 Apr 2006 04:45:04 +0900	[thread overview]
Message-ID: <87mzeo2b7j.fsf@catnip.gol.com> (raw)
In-Reply-To: <m3slohihbr.fsf@quimbies.gnus.org>

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:
>> We could simply remap `undo' to `message-undo' in message-mode-map and
>> that would catch all possible bindings -- even those set by the user.
>
> Neat.  That would be a solution, then.

... unless of course, the user uses some variant, e.g.,
`advertised-undo' (what `C-x u' is bound to)...

In general I think it's a lot safer if you can figure out how to make
the built-in command do the right thing rather than relying on your own
special variant always being invoked (and the closer your variant is to
the real thing, the more confusing the apparent misbehavior is when a
user manages to invoke the wrong one).

[It's not like people follow this rule, but still...]

-Miles
-- 
Love is a snowmobile racing across the tundra.  Suddenly it flips over,
pinning you underneath.  At night the ice weasels come.  --Nietzsche




  parent reply	other threads:[~2006-04-14 19:45 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-20 14:58 Reiner Steib
2005-10-20 15:47 ` Romain Francoise
2006-04-13  8:11   ` Lars Magne Ingebrigtsen
2006-04-13 11:46     ` Reiner Steib
2006-04-13 11:57       ` Lars Magne Ingebrigtsen
2006-04-13 12:55         ` Reiner Steib
2006-04-13 13:36           ` Lars Magne Ingebrigtsen
2006-04-13 14:45             ` Romain Francoise
2006-04-13 15:26               ` Lars Magne Ingebrigtsen
2006-04-13 15:52                 ` Romain Francoise
2006-04-13 16:14                   ` Lars Magne Ingebrigtsen
2006-04-13 16:55                     ` Romain Francoise
2006-04-13 17:03                       ` Lars Magne Ingebrigtsen
2006-04-14 19:45                     ` Miles Bader [this message]
2006-04-15  5:39                       ` Lars Magne Ingebrigtsen

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=87mzeo2b7j.fsf@catnip.gol.com \
    --to=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.
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).