all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jason Rumney <jasonr@gnu.org>
Cc: Lennart Borgman <lennart.borgman.073@student.lu.se>,
	emacs-devel ' <emacs-devel@gnu.org>
Subject: Re: [david.reitter@gmail.com: mailclient.el - revised]
Date: Thu, 28 Jul 2005 13:24:37 +0100	[thread overview]
Message-ID: <42E8CE85.7030105@gnu.org> (raw)
In-Reply-To: <2DEF91C8-8F4D-4A57-9201-C233640481E9@gmail.com>

David Reitter wrote:

> On 24 Jul 2005, at 15:46, Lennart Borgman wrote:
>
>>  However it should not depend on the mail client used. In w32 there  
>> is a problem with the parameter length when passing the URL to w32.  
>> I have done a workaround placing data on the clipboard.  Otherwise  
>> (browse-url ...) for the "mailto:..." URL is used just as in your  
>> original code.
>
>
> I don't think placing data on the clipboard and asking the user to  
> copy it over would be the ideal solution. Using MAPI (instead of  
> mailclient) seems to be the correct way to do things on Windows.

MAPI is a proprietary API for proprietary mail clients on a proprietary 
OS. It is not the "correct" way for anything. Free mail clients such as 
Emacs, Mozilla Thunderbird and others are not supported by MAPI.

mailto: urls are an open standard. They can be made to work with any 
mail client that has a command-line interface, even Emacs (see the Emacs 
on Windows FAQ). If there are limitations with them on Windows, then 
that is something that Windows users have to live with. What Lennart 
suggested seems like a good comprimise, even if not ideal, but itshould 
be conditioned on whether the user has customized send-mail-function, 
since there is a high chance that Emacs will be able to send mail (using 
smtpmail.el for example) if the user has configured it to (this applies 
to Mac as well). This may be the case already, I haven't studied the 
code you wrote.

  reply	other threads:[~2005-07-28 12:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-24  0:01 [david.reitter@gmail.com: mailclient.el - revised] Richard M. Stallman
2005-07-24  0:17 ` Lennart Borgman
2005-07-24 14:11   ` David Reitter
2005-07-24 14:46     ` Lennart Borgman
2005-07-28 11:34       ` David Reitter
2005-07-28 12:24         ` Jason Rumney [this message]
2005-07-28 13:01           ` Lennart Borgman
2005-07-28 13:31           ` David Reitter
2005-07-28 12:55         ` Lennart Borgman

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=42E8CE85.7030105@gnu.org \
    --to=jasonr@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=lennart.borgman.073@student.lu.se \
    /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.