unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* mailclient-send-it usage of browse-url
@ 2010-04-13 19:51 Christian Lynbech
  2010-04-13 22:06 ` David Reitter
  0 siblings, 1 reply; 34+ messages in thread
From: Christian Lynbech @ 2010-04-13 19:51 UTC (permalink / raw)
  To: emacs-devel; +Cc: David Reitter

I would like to question the wisdom of letting `mailclient-send-it'
blindly relying on `browse-url' to send mail, especially since this is
set up as the default mail sending client on mac and windows.

After switching back to emacs23 on my powermac, I suddenly started
getting strange behaviour when trying to send mail. I finally pulled
myself together and traced what happened when I tried to send a
message. I was quite surprised to see `browse-url' turn up. I am using
emacs-w3m as my default browser and furthermore have adviced
`browse-url' to automatically switch to my web frame so strange things
was happening.

It is unclear to me why this has never been a problem with Carbon Emacs
and whether there is something screwy in my emacs-w3m setup. I run
identical (and pretty bleeding edge) versions of emacs-w3m and gnus in
both emacs 22 and emacs 23. 

I am certainly not fully on top of how emacs-w3m is supposed to handle
mailto. My `w3m-mailto-url-function' variable is nil and then the
documentation says control goes back to `mail-user-agent' which sort of
looks like the receipe of an infinite loop to me.

It is of course clever to appeal to a system handling of mailto: but
since that OSX comes with a sendmail client, one could argue that we
should do what we do for other unix systems (which I guess uses sendmail
as the default). 

Admittedly, it didn't work out of the box (I needed to also set
`mail-specify-envelope-from' to true) so using mailto may still be a
good idea but shouldn't we then not at least force the choice of
handling agent (ie. call the `open' shell command or the moral
equivalent of `browse-url-safari'). Browse-url seems a shaky foundation
for mail sending given it is anyway not well-specified what it really
points to.


------------------------+-----------------------------------------------------
Christian Lynbech       | christian #\@ defun #\. dk
------------------------+-----------------------------------------------------
Hit the philistines three times over the head with the Elisp reference manual.
                                        - petonic@hal.com (Michael A. Petonic)





^ permalink raw reply	[flat|nested] 34+ messages in thread
[parent not found: <D6FDF877-2199-48E7-8B06-4E6325EDEAC9@mit.edu>]

end of thread, other threads:[~2010-04-17 19:55 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-13 19:51 mailclient-send-it usage of browse-url Christian Lynbech
2010-04-13 22:06 ` David Reitter
2010-04-14  3:22   ` Christian Lynbech
2010-04-14 11:41     ` Jeff Clough
2010-04-14 13:07       ` christian.lynbech
2010-04-14 13:25         ` David Reitter
2010-04-15  7:46           ` christian.lynbech
     [not found]             ` <C8D541C4-F87C-48F8-917C-5A4C6AC02203@mit.edu>
2010-04-15 16:49               ` chad
2010-04-14 13:36         ` Jeff Clough
2010-04-14 16:02           ` David Reitter
2010-04-14 16:35             ` Chad Brown
2010-04-14 16:41             ` Jeff Clough
2010-04-14 17:46               ` David Reitter
2010-04-14 23:19                 ` Lennart Borgman
2010-04-15  2:28                 ` Stephen J. Turnbull
2010-04-15  7:52                   ` christian.lynbech
2010-04-15 17:13                     ` Stephen J. Turnbull
2010-04-15 18:48                     ` Richard Stallman
2010-04-16  8:05                       ` christian.lynbech
2010-04-17 19:55                         ` Richard Stallman
2010-04-14 19:58           ` David De La Harpe Golden
2010-04-14 14:23         ` Stefan Monnier
2010-04-15  8:14           ` christian.lynbech
2010-04-14 12:55     ` David Reitter
2010-04-14 13:20       ` christian.lynbech
2010-04-14 13:30         ` David Reitter
     [not found] <D6FDF877-2199-48E7-8B06-4E6325EDEAC9@mit.edu>
2010-04-15 16:49 ` Fwd: " chad
2010-04-15 17:15   ` Lennart Borgman
2010-04-15 17:22     ` Chad Brown
2010-04-15 19:00       ` Lennart Borgman
2010-04-16  0:14     ` Stefan Monnier
2010-04-16  0:34       ` Lennart Borgman
2010-04-16  1:08         ` Stefan Monnier
2010-04-16 11:13           ` Lennart Borgman
2010-04-16 12:49             ` Stefan Monnier

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).