[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Message goto signature
From: |
Richard Riley |
Subject: |
Re: Message goto signature |
Date: |
Fri, 06 Mar 2009 19:21:22 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) |
Francis Moreau <francis.moro@gmail.com> writes:
> Richard Riley <rileyrgdev@gmail.com> writes:
>
>>
>> The function is called "goto-signature", not "goto-end-of.article" :-)
>>
>
> Yes but what the point to give 'goto-signature' if it's not usefull at
> all. Why not giving 'goto-end-of-body' in the first place ?
I guess if we were to second guess every API in the world we'd be here
from now to eternity :-;
But one solution emailed to me kindly by Nikolas is:
,----
| (defun message-goto-end-of-article ()
| (interactive)
| (unless (re-search-forward message-signature-separator nil t)
| (goto-char (point-max))))
|
| (defun message-cite-before-point-original-without-signature ()
| (message-cite-original-without-signature)
| (message-goto-end-of-article))
|
| (setq message-cite-function
| 'message-cite-before-point-original-without-signature)
`----
This searches for the regexp which define a .signature.
--
important and urgent problems of the technology of today are no longer the
satisfactions of the primary needs or of archetypal wishes, but the reparation
of the evils and damages by the technology of yesterday. ~Dennis Gabor,
Innovations: Scientific, Technological and Social, 1970
- Re: Message goto signature, (continued)
- 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, 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
- Re: Message goto signature,
Richard Riley <=
- 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