From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.devel Subject: Re: Changes 2009-07-15/16 in branch? Date: Thu, 30 Jul 2009 11:22:47 -0500 (CDT) Message-ID: <20090730.112247.15932272.hanche@math.ntnu.no> References: <20090729.153110.135823225.hanche@math.ntnu.no> 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 1248970993 15047 80.91.229.12 (30 Jul 2009 16:23:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2009 16:23:13 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 30 18:23:06 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MWYPK-0005K5-8M for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2009 18:23:06 +0200 Original-Received: from localhost ([127.0.0.1]:35043 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWYPJ-0006fL-IQ for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2009 12:23:05 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MWYPD-0006eS-V6 for emacs-devel@gnu.org; Thu, 30 Jul 2009 12:23:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MWYP8-0006bm-Fg for emacs-devel@gnu.org; Thu, 30 Jul 2009 12:22:58 -0400 Original-Received: from [199.232.76.173] (port=60771 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MWYP8-0006bf-4n for emacs-devel@gnu.org; Thu, 30 Jul 2009 12:22:54 -0400 Original-Received: from abel.math.ntnu.no ([129.241.15.50]:45976) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1MWYP7-0005CY-Gz for emacs-devel@gnu.org; Thu, 30 Jul 2009 12:22:53 -0400 Original-Received: (qmail 22221 invoked from network); 30 Jul 2009 16:22:50 -0000 Original-Received: from gauss.math.ntnu.no (HELO localhost) (hanche@129.241.15.102) by abel.math.ntnu.no with ESMTPA; 30 Jul 2009 16:22:50 -0000 In-Reply-To: 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: Solaris 8 (1) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113404 Archived-At: + Richard Stallman : > Most? I don't think so. Small and simple apps generally don't, bigger > and more sophisticated ones generally do. Apple's own apps are more > likely to have provide services, but many non-Apple ones do, such as > Emacs (duh), LaTeXit, Opera, Quicksilver, Skim, Skype. > > "Provide services" is somewhat cryptic. Which services does that refer to? Note that every application on the mac uses the menu bar at the top of the screen. Drop down menus at the menu bar, starting from the left, are the Apple menu (mostly for system-wide stuff), the application menu, and whatever other menu items the app might provide (File and Edit usually come next). In the application menu of every application there is a submenu called Services. And the Services menu has a submenu for every app that actually does provide a service (some apps provide only one service, in which case the submenu is dispensed with) The usual way to use a service provided by another app is to select something with the mouse, be it text, graphics or a more complicated object, and then select the desired service from the menu. The other app will receive the selected stuff and do something with it. Services provided by Emacs are these four: Email selection (i.e., put the selection in the body of a new message) New buffer containing selection Open selected file (the selection had better name a file) Send mail to selected address A semirandom selection of services offered by other applications: Open URL Make new Applescript Run as Applescript Send file to bluetooth device Add contact (Skype) Call (Skype) Send SMS (Skype) > Relatively few apps have the capability of sending user supplied > Applescript commands to other apps, but I would suggest keeping that > capability, since it strengthens Emacs' position as a useful tool on > the Mac. (Though one could get much the same functionality by running > osascript as an external command.) > > It seems to me that this is precisely the sort of thing we should > avoid, since it is a feature limited to a proprietary system and not > even most programs on that system have it. I for one won't lose any sleep if it goes away, for as I said one can always run osascript as an external program. If others disagree, they will surely speak up. - Harald