[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] New function to send a mail to the recipient at point
From: |
Reiner Steib |
Subject: |
Re: [PATCH] New function to send a mail to the recipient at point |
Date: |
Sun, 24 Feb 2008 10:05:40 +0100 |
User-agent: |
Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.90 (gnu/linux) |
On Sat, Feb 23 2008, Xavier Maillard wrote:
> +2008-02-23 Xavier Maillard <address@hidden>
> +
> + * 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/
- [PATCH] New function to send a mail to the recipient at point, Xavier Maillard, 2008/02/23
- Re: [PATCH] New function to send a mail to the recipient at point,
Reiner Steib <=
- Re: [PATCH] New function to send a mail to the recipient at point, Leo, 2008/02/24
- User-Agent header (was: [PATCH] New function to send a mail to the recipient at point), Reiner Steib, 2008/02/24
- Re: User-Agent header, Leo, 2008/02/24
- User-Agent header (was: [PATCH] New function to send a mail to the recipient at point), Stephen J. Turnbull, 2008/02/24
- Re: User-Agent header, Bill Wohler, 2008/02/24
- Re: User-Agent header, Stephen J. Turnbull, 2008/02/24
- Re: User-Agent header, Xavier Maillard, 2008/02/25
Re: [PATCH] New function to send a mail to the recipient at point, Xavier Maillard, 2008/02/25