unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: url-mailto insert 'body' in the wrong place
Date: Mon, 28 May 2007 19:44:02 +0100	[thread overview]
Message-ID: <m2lkf823gt.fsf@sl392.st-edmunds.cam.ac.uk> (raw)
In-Reply-To: 85odk4iytv.fsf@lola.goethe.zz

----- David Kastrup (2007-05-28) wrote:-----

>> I wonder if the following small patch is good:
>>
>> Index: url-mailto.el
>> ===================================================================
>> RCS file: /cvsroot/emacs/emacs/lisp/url/url-mailto.el,v
>> retrieving revision 1.4.2.9
>> diff -u -r1.4.2.9 url-mailto.el
>> --- url-mailto.el	26 Jan 2007 06:15:30 -0000	1.4.2.9
>> +++ url-mailto.el	28 May 2007 18:13:20 -0000
>> @@ -60,6 +60,11 @@
>>  	(save-excursion
>>  	  (insert "\n"))))))
>>  
>> +(defun url-mail-goto-body ()
>> +  (goto-char (point-min))
>> +  (or (search-forward (concat "\n" mail-header-separator "\n") nil t)
>> +      (goto-char (point-max))))
>> +
>
> Can't you use message-goto-body here?

But that means you have to load the message package, no?

Anyway, I don't mind I just want this fixed ;)

-- 
Leo <sdl.web AT gmail.com>                         (GPG Key: 9283AA3F)

  reply	other threads:[~2007-05-28 18:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-28 18:27 url-mailto insert 'body' in the wrong place Leo
2007-05-28 18:32 ` David Kastrup
2007-05-28 18:44   ` Leo [this message]
2007-05-29  4:11     ` Richard Stallman
2007-05-29 15:31       ` Chong Yidong
2007-05-29 16:16         ` Leo
2007-05-29 16:24           ` Chong Yidong

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2lkf823gt.fsf@sl392.st-edmunds.cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).