all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Reitter <david.reitter@gmail.com>
To: Jeff Clough <jeff@chaosphere.com>
Cc: "emacs-devel@gnu.org" <emacs-devel@gnu.org>, christian.lynbech@tieto.com
Subject: Re: mailclient-send-it usage of browse-url
Date: Wed, 14 Apr 2010 12:02:51 -0400	[thread overview]
Message-ID: <090B076C-712C-42BD-B1F6-3B48F0C0C61C@gmail.com> (raw)
In-Reply-To: <m3wrwaw3z1.fsf@logrus.localdomain>

On Apr 14, 2010, at 9:36 AM, Jeff Clough wrote:
> 
> It does seem lame that it's not looking for Safari, but then I don't
> know if it looks for IE on Windows.  This may be a philosophical point
> and not a technical one, so for better or worse it just might not
> happen.

You are misinformed.  It will use Safari if that's what the system default is.  It is not looking for any specific browser on OS X.  It is doing the right thing and using the browser that the user has configured on their system.  This is actually Safari on the Mac by default.

> I think a case can be made that tampering with a browser-oriented thing
> shouldn't break an email-oriented thing when it is not obvious to the
> end user that that's what's going to happen.  

The command is `browse-url', and it is URL as much as it is BROWSE.  
But you absolutely have a point there - I can see how users may get confused.

> 
> The overall issue of having Emacs get the right answer to "What is your
> mail client?" might still ought to be addressed in a way that doesn't
> rely on browsers at all, 

Once more: as it is now, Emacs does not rely on browsers at all on the Mac in its default configuration.
It uses a system mechanism to handle arbitrary URLs, specifically, mailto: URLs.  This does NOT invoke the browser.  It invokes the system's standard mail client.  

If the user configures a specific browser for Emacs, then yes, we go through the browser, and perhaps that is not the best thing to do in that case.  See my earlier e-mail: bind the browser-function variable to its default before calling browse-url.
 
Are there any cases where this would cause problems?





  reply	other threads:[~2010-04-14 16:02 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=090B076C-712C-42BD-B1F6-3B48F0C0C61C@gmail.com \
    --to=david.reitter@gmail.com \
    --cc=christian.lynbech@tieto.com \
    --cc=emacs-devel@gnu.org \
    --cc=jeff@chaosphere.com \
    /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.