From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.bugs 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) Message-ID: <20090729.181735.138410089.hanche@math.ntnu.no> References: <873a8fpaxq.fsf@iki.fi> <87r5vznn64.fsf@iki.fi> Reply-To: Harald Hanche-Olsen , 3963@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1248910672 19027 80.91.229.12 (29 Jul 2009 23:37:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jul 2009 23:37:52 +0000 (UTC) Cc: 3963@emacsbugs.donarmstrong.com To: tlikonen@iki.fi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 30 01:37:45 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWIiO-0001wj-Rn for geb-bug-gnu-emacs@m.gmane.org; Thu, 30 Jul 2009 01:37:45 +0200 Original-Received: from localhost ([127.0.0.1]:59692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWIiO-0006RG-Dm for geb-bug-gnu-emacs@m.gmane.org; Wed, 29 Jul 2009 19:37:44 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWIiJ-0006Qz-Fc for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:39 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWIiF-0006Qd-P7 for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:39 -0400 Original-Received: from [199.232.76.173] (port=52560 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWIiF-0006QT-Bo for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:35 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55331) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MWIiE-0003zg-LC for bug-gnu-emacs@gnu.org; Wed, 29 Jul 2009 19:37:35 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n6TNbVd3005312; Wed, 29 Jul 2009 16:37:32 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n6TNK7a9003092; Wed, 29 Jul 2009 16:20:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Harald Hanche-Olsen Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 29 Jul 2009 23:20:07 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 3963 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 3963-submit@emacsbugs.donarmstrong.com id=B3963.12489094682891 (code B ref 3963); Wed, 29 Jul 2009 23:20:07 +0000 Original-Received: (at 3963) by emacsbugs.donarmstrong.com; 29 Jul 2009 23:17:48 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from abel.math.ntnu.no (abel.math.ntnu.no [129.241.15.50]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with SMTP id n6TNHgGG002880 for <3963@emacsbugs.donarmstrong.com>; Wed, 29 Jul 2009 16:17:43 -0700 Original-Received: (qmail 23875 invoked from network); 29 Jul 2009 23:17:38 -0000 Original-Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.102) by abel.math.ntnu.no with ESMTPA; 29 Jul 2009 23:17:38 -0000 In-Reply-To: <87r5vznn64.fsf@iki.fi> X-URL: http://www.math.ntnu.no/~hanche/ X-Mailer: Mew version 6.2.51 on Emacs 23.0.94 / Mule 6.0 (HANACHIRUSATO) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Wed, 29 Jul 2009 19:37:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:29715 Archived-At: + Teemu Likonen : > 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 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 event results. But run open -a emacs mailto:foo@example.com, and no such translation happens. - Harald