From: Richard Riley <rileyrgdev@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: Message goto signature
Date: Fri, 06 Mar 2009 19:21:22 +0100 [thread overview]
Message-ID: <gorpj4$7v5$1@rileyrgdev.motzarella.org> (raw)
In-Reply-To: m2r61awmns.fsf@gmail.com
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
next prev parent reply other threads:[~2009-03-06 18:21 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-05 12:58 Message goto signature Francis Moreau
2009-03-05 17:18 ` Nikolaj Schumacher
2009-03-05 19:28 ` Francis Moreau
[not found] ` <mailman.2445.1236281343.31690.help-gnu-emacs@gnu.org>
2009-03-05 20:23 ` Richard Riley
2009-03-05 21:16 ` Reiner Steib
2009-03-05 21:30 ` Richard Riley
2009-03-05 21:35 ` Francis Moreau
2009-03-05 23:03 ` Richard Riley
2009-03-06 8:47 ` Francis Moreau
2009-03-06 14:02 ` Richard Riley
2009-03-06 18:07 ` Francis Moreau
2009-03-06 18:21 ` Richard Riley [this message]
2009-03-06 20:24 ` Francis Moreau
2009-03-06 9:24 ` Nikolaj Schumacher
[not found] ` <mailman.2485.1236331510.31690.help-gnu-emacs@gnu.org>
2009-03-06 14:03 ` Richard Riley
2009-03-07 9:59 ` Reiner Steib
2009-03-05 21:32 ` Francis Moreau
[not found] ` <mailman.2434.1236273540.31690.help-gnu-emacs@gnu.org>
2009-03-05 17:50 ` Broken quotations (was: Message goto signature) Teemu Likonen
2009-03-06 9:31 ` Broken quotations Nikolaj Schumacher
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='gorpj4$7v5$1@rileyrgdev.motzarella.org' \
--to=rileyrgdev@gmail.com \
--cc=help-gnu-emacs@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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.