[Top][All Lists]

[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 <address@hidden> wrote: > This works for followup: > > (defadvice gnus-summary-followup (after followup-sig
(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))

Nikolaj Schumacher

reply via email to

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