From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Xavier Maillard <xma@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: [PATCH] New function to send a mail to the recipient at point
Date: Sun, 24 Feb 2008 10:05:40 +0100 [thread overview]
Message-ID: <v91w72sp0b.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <200802232244.m1NMiK5I014327@localhost.localdomain> (Xavier Maillard's message of "Sat, 23 Feb 2008 01:25:03 +0100")
On Sat, Feb 23 2008, Xavier Maillard wrote:
> +2008-02-23 Xavier Maillard <xma@gnu.org>
> +
> + * mail/rmail.el (rmail-send-mail-at-point): New function. Send an email
> + to the recipient address at point.
[...]
> -So, the MIME support is turned off for the moment."
> +So, the MIME support is turned off for the moment."
[Unrelated whitespace change.]
> +(defun rmail-send-mail-at-point ()
> + "Edit a mail message to the recipient found at point."
> + (interactive)
> + (require 'thingatpt)
> + (let ((to (thing-at-point 'email)))
> + (if to
> + (mail nil to)
> + (error "No email found at point"))))
`M-x browse-url-at-point RET' already does this for me (in every mode).
I have `("^mailto:" . browse-url-mail)' in `browse-url-browser-function'.
[BTW, your User-Agent header is not confirming to RFC 2616 or the
usefor drafts.]
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
next prev parent reply other threads:[~2008-02-24 9:05 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-23 0:25 [PATCH] New function to send a mail to the recipient at point Xavier Maillard
2008-02-24 9:05 ` Reiner Steib [this message]
2008-02-24 9:56 ` Leo
2008-02-24 12:33 ` User-Agent header (was: [PATCH] New function to send a mail to the recipient at point) Reiner Steib
2008-02-24 17:49 ` User-Agent header Leo
2008-02-24 18:21 ` User-Agent header (was: [PATCH] New function to send a mail to the recipient at point) Stephen J. Turnbull
2008-02-24 18:41 ` User-Agent header Bill Wohler
2008-02-24 22:44 ` Stephen J. Turnbull
2008-02-26 2:00 ` Xavier Maillard
2008-02-26 2:00 ` [PATCH] New function to send a mail to the recipient at point Xavier Maillard
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=v91w72sp0b.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+gmane@imap.cc \
--cc=Reiner.Steib@gmx.de \
--cc=emacs-devel@gnu.org \
--cc=xma@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.