From: Harald Hanche-Olsen <hanche@math.ntnu.no>
To: tlikonen@iki.fi
Cc: 3963@emacsbugs.donarmstrong.com
Subject: bug#3963: 23.0.94; Emacs on nextstep/Mac OS X should handle mailto: URLs
Date: Wed, 29 Jul 2009 18:17:35 -0500 (CDT) [thread overview]
Message-ID: <20090729.181735.138410089.hanche@math.ntnu.no> (raw)
In-Reply-To: <87r5vznn64.fsf@iki.fi>
+ Teemu Likonen <tlikonen@iki.fi>:
> I does not require emacsclient. The regular emacs executable has --eval
> option too. On that web page there's a shell script. The idea is to
> configure it to be the mail client program.
But firefox, on the mac, cannot be configured to use an arbitrary
program or shell script as the mail client. It wants a full-blown Mac
application, which it can activate and then send an Apple event to.
Or have I misunderstood something?
> For example, I have configured my Firefox and my KDE
> desktop environment to use that shell script as mail client program.
> Works nicely.
But I am not talking about KDE. I am talking about Mac OS X and its
native GUI.
Now I have been wasting time digging around in ns-win.el and
term/nsterm.m to try to figure out how all this works, but I am not
familiar with OS X internals nor can I read Objective C, so it all
makes my head spin.
But I can figure out some bits: If I run open -a emacs FILENAME in a
terminal, this apparently results in an event handled by [NXapp run]
and gets transferred into an <ns-open-file-line> event which is
handled by the usual emacs event loop. Similarly, if I use the service
menu in another app to ask emacs to do something, a
<ns-spi-service-call> event results. But run open -a emacs
mailto:foo@example.com, and no such translation happens.
- Harald
next prev parent reply other threads:[~2009-07-29 23:17 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3406.1248893864.2239.bug-gnu-emacs@gnu.org>
2009-07-29 19:05 ` bug#3963: 23.0.94; Emacs on nextstep/Mac OS X should handle mailto: URLs Teemu Likonen
2009-07-29 19:29 ` Leo
2009-07-29 19:46 ` Teemu Likonen
2009-07-29 20:48 ` Leo
2009-07-29 20:38 ` Harald Hanche-Olsen
[not found] ` <mailman.3417.1248901060.2239.bug-gnu-emacs@gnu.org>
2009-07-29 22:23 ` Teemu Likonen
2009-07-29 23:17 ` Harald Hanche-Olsen [this message]
2009-07-29 18:38 Harald Hanche-Olsen
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090729.181735.138410089.hanche@math.ntnu.no \
--to=hanche@math.ntnu.no \
--cc=3963@emacsbugs.donarmstrong.com \
--cc=tlikonen@iki.fi \
/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 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).