[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Message goto signature
From: |
Nikolaj Schumacher |
Subject: |
Re: Message goto signature |
Date: |
Fri, 06 Mar 2009 10:24:53 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (darwin) |
Richard Riley <rileyrgdev@gmail.com> wrote: > This works for
followup: > > (defadvice gnus-summary-followup (after followup-sig
activate)(progn
(message-goto-signature)(previous-line)(previous-line))) > > And
this for reply: > > (defadvice gnus-summary-reply-with-original
(after reply-sig > activate)(progn
(message-goto-signature)(previous-line)(previous-line))) > > I
dont know if there is a better way than previous-line.
previous-line should be fine in this case, but the advice is
unneccessary (and always potentially dangerous).
The cleanest way is to just define a new command:
(defun message-goto-before-signature () "Move point before the
beginning of the message signature separator." (interactive)
(message-goto-signature) (forward-line -1))
regards,
Nikolaj Schumacher
- Message goto signature, Francis Moreau, 2009/03/05
- Re: Message goto signature, Nikolaj Schumacher, 2009/03/05
- Re: Message goto signature, Francis Moreau, 2009/03/05
- Message not available
- Re: Message goto signature, Richard Riley, 2009/03/05
- Re: Message goto signature, Reiner Steib, 2009/03/05
- Re: Message goto signature, Richard Riley, 2009/03/05
- Re: Message goto signature, Francis Moreau, 2009/03/05
- Re: Message goto signature, Richard Riley, 2009/03/05
- Re: Message goto signature,
Nikolaj Schumacher <=
- Re: Message goto signature, Francis Moreau, 2009/03/06
- Re: Message goto signature, Richard Riley, 2009/03/06
- Re: Message goto signature, Francis Moreau, 2009/03/06
- Re: Message goto signature, Richard Riley, 2009/03/06
- Re: Message goto signature, Francis Moreau, 2009/03/06
- Message not available
- Re: Message goto signature, Richard Riley, 2009/03/06
- Re: Message goto signature, Reiner Steib, 2009/03/07
- Re: Message goto signature, Francis Moreau, 2009/03/05
Message not available