emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Send Bug Report is worse


From: David Reitter
Subject: Re: Send Bug Report is worse
Date: Mon, 3 Apr 2006 17:13:22 +0100

On 3 Apr 2006, at 15:29, Jason Rumney wrote:

David Reitter wrote:
Lennart Borgman proposed to do this on Windows systems. That's because apparently, long mailto:// URLs aren't supported well. Lennart, do you think we can be more specific here and only enable it when it's really needed, e.g. on old Windows installations?
I don't think the need for this is limited to old installations. Windows has a 1024 byte limit to command-lines in general AFAIK.

OK, the limitation is due to ShellExecute (which is what's obviously used on Windows, see `w32-shell-execute').

The mailto:// business in mailclient is a kludge, lacking a cross- platform API.

The correct way to send an e-mail on Windows would be the mail API ("MAPI"). There is already an implementation of this available, even though goes through Visual Basic:

http://www.emacswiki.org/cgi-bin/wiki/w32-send-mapi.el

One could take such a piece of code and implement an interface on the C side to avoid the VB script. We could integrate that with mailclient, and everyone would be happy.





reply via email to

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