Gnus development mailing list
 help / color / mirror / Atom feed
From: Romain Francoise <romain@orebokech.com>
Subject: Re: message-cite-function: message-cite-original-without-signature?
Date: Thu, 13 Apr 2006 18:55:24 +0200	[thread overview]
Message-ID: <87psjla003.fsf@pacem.orebokech.com> (raw)
In-Reply-To: <m3slohihbr.fsf@quimbies.gnus.org> (Lars Magne Ingebrigtsen's message of "Thu, 13 Apr 2006 18:14:00 +0200")

Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> Neat.  That would be a solution, then.  Unless it's annoying to have
> `undo' do `widen'.  I mean, it is possible that the user has narrowed
> the buffer on her own to do a tricky piece of editing...

I hadn't thought of that.

But now that I think of it, we could make Gnus set `last-command' to
something recognizable as the last step of preparing the Message buffer,
and make `message-undo' do something special only if the last command
was that command.  That way, calling undo to get the signature back
would work (by widening), and it wouldn't interfere with normal editing.

But if the user does anything in the buffer before calling undo, even
move around, then it doesn't work.

Hmm.

-- 
Romain Francoise <romain@orebokech.com> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter



  reply	other threads:[~2006-04-13 16:55 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 [this message]
2006-04-13 17:03                       ` Lars Magne Ingebrigtsen
2006-04-14 19:45                     ` Miles Bader
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=87psjla003.fsf@pacem.orebokech.com \
    --to=romain@orebokech.com \
    /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).