* bug#3963: 23.0.94; Emacs on nextstep/Mac OS X should handle mailto: URLs
@ 2009-07-29 18:38 Harald Hanche-Olsen
2021-12-04 21:36 ` bug#3963: bug#1367: 23.0.60; Mailto service won't work Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Harald Hanche-Olsen @ 2009-07-29 18:38 UTC (permalink / raw)
To: emacs-pretest-bug
In Mail.app on Mac OS X, open Preferences -> General, and select Emacs
as the the default email reader.
Quit Mail.app and never use it again. 8-)
Now click on a mailto: link in your favourite web browser, or else run
a command like this: open mailto:nobody@example.com
Notice that Emacs comes to the foreground, but nothing more happens.
What SHOULD happen is that Emacs opens a new draft email message
addressed to the named recipient.
Note that the nextstep port is already capable of similar feats, using
the Service menu in any application; but this is more important, as
users click on mailto links all the time, and we don't want to
discourage their use of Emacs for email.
In GNU Emacs 23.0.94.1 (i386-apple-darwin9.7.1, NS apple-appkit-949.46)
of 2009-06-17 on mach.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: nil
value of $XMODIFIERS: nil
locale-coding-system: nil
default-enable-multibyte-characters: t
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#3963: bug#1367: 23.0.60; Mailto service won't work
2009-07-29 18:38 bug#3963: 23.0.94; Emacs on nextstep/Mac OS X should handle mailto: URLs Harald Hanche-Olsen
@ 2021-12-04 21:36 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-12-04 21:36 UTC (permalink / raw)
To: Harald Hanche-Olsen; +Cc: Alan Third, 1367, 3963
Harald Hanche-Olsen <hanche@math.ntnu.no> writes:
> In Mail.app on Mac OS X, open Preferences -> General, and select Emacs
> as the the default email reader.
> Quit Mail.app and never use it again. 8-)
>
> Now click on a mailto: link in your favourite web browser, or else run
> a command like this: open mailto:nobody@example.com
>
> Notice that Emacs comes to the foreground, but nothing more happens.
> What SHOULD happen is that Emacs opens a new draft email message
> addressed to the named recipient.
(I'm going through old bug reports that unfortunately weren't resolved
at the time.)
This behaviour is still present in Emacs 29. I.e., it just foregrounds
the Emacs frame, and then nothing else.
Yamamoto said:
> What Carbon or Cocoa applications receive is an Apple event:
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/chapter_11_section_4.html
>
> Core functionalities such as "open documents" and "quit application"
> also send some corresponding Apple events, and Cocoa applications
> usually handle them via some application delegate methods.
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/ScriptableCocoaApplications/SApps_handle_AEs/chapter_11_section_3.html
So I guess we're just not handling that event? It'd be cool if we
could; adding Alan to the CCs.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-12-04 21:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-29 18:38 bug#3963: 23.0.94; Emacs on nextstep/Mac OS X should handle mailto: URLs Harald Hanche-Olsen
2021-12-04 21:36 ` bug#3963: bug#1367: 23.0.60; Mailto service won't work Lars Ingebrigtsen
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).