From: Adrian Robert <adrian.b.robert@gmail.com>
To: 1367@emacsbugs.donarmstrong.com
Cc: Harald Hanche-Olsen <hanche@math.ntnu.no>
Subject: bug#1367: #1367 - 23.0.60; Mailto service won't work - Emacs bug report logs
Date: Fri, 21 Nov 2008 16:00:47 -0500 [thread overview]
Message-ID: <9195CB25-E9D7-4C36-99BA-D59160AAB662@gmail.com> (raw)
Hello,
> I have set the mailto handler to be emacs. If I run the command open mailto:joe.the-plumber@example.com
> ...
>
> At the very least, I would have expected a <ns-spi-service-call>
> event to be generated
I am unsure about how mailto: works. However, ns-spi-service-call is
only generated when items under the "Emacs.app" heading in the
Services menu are called. If the mailto: mapping you describe should
do this (I don't readily see how), then there is a bug.
On the other hand, if the mailto: mapping results in some random
applescript command being sent to Emacs, then what is needed is an
enhancement. I am unfamiliar with how standardized the various
applescript things a well-behaved OS X application should respond to
is. Is there documentation on this somewhere? Also, I don't know if
you are familiar with Cocoa programming, but I wonder if there is an
NSApp delegate method or a notification that could be registered for,
avoiding the need to parse applescript. (This is the way, e.g.,
double-clicking associated files in the Finder can open them in
Emacs.app.)
The Carbon port of emacs did do applescript parsing, but I was never
convinced that it was sufficiently "core" functionality to bring to
the Cocoa port (given the bloat involved). Though nowadays with DBUS
in the X11 emacs the case is more compelling.
-Adrian
next reply other threads:[~2008-11-21 21:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-21 21:00 Adrian Robert [this message]
2008-11-22 1:36 ` bug#1367: #1367 - 23.0.60; Mailto service won't work - Emacs bug report logs YAMAMOTO Mitsuharu
2008-11-22 2:51 ` Adrian Robert
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=9195CB25-E9D7-4C36-99BA-D59160AAB662@gmail.com \
--to=adrian.b.robert@gmail.com \
--cc=1367@emacsbugs.donarmstrong.com \
--cc=hanche@math.ntnu.no \
/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.