[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: Xavier Maillard
Subject: Re: [PATCH] New function to send a mail to the recipient at point
Date: Tue, 26 Feb 2008 03:00:09 +0100
User-agent: Rmail in GNU Emacs on 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.]

Yes, I did not change anything there. Git has added this for me,
I guess.

   > +(defun rmail-send-mail-at-point ()
   > +  "Edit a mail message to the recipient found at point."

   `M-x browse-url-at-point RET' already does this for me (in
   every mode).

Hum, it seems it does not for me using emacs -Q :

Debugger entered--Lisp error: (wrong-type-argument stringp 
  start-process("lynxmailto:address@hidden"; nil "xterm" "-e" 
browse-url-text-browser "mailto:address@hidden";)
  apply(start-process ("lynxmailto:address@hidden"; nil "xterm" "-e" 
browse-url-text-browser "mailto:address@hidden";))
  browse-url-text-xterm("mailto:address@hidden"; nil)
  apply(browse-url-text-xterm "mailto:address@hidden"; nil)
  browse-url-default-browser("mailto:address@hidden"; nil)
  apply(browse-url-default-browser "mailto:address@hidden"; nil)
  browse-url("mailto:address@hidden"; nil)
  call-interactively(browse-url-at-point t nil)
  call-interactively(execute-extended-command nil nil)

   I have `("^mailto:"; . browse-url-mail)' in `browse-url-browser-function'.

With my patch, there is no need to customize anything. Maybe we
should change the default value of `browse-url-browser-function' ?

   [BTW, your User-Agent header is not confirming to RFC 2616 or the
   usefor drafts.]

Thank you for the notice. I will check in what I should conform
to by reading the RFC.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]