From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Barry Margolin Newsgroups: gmane.emacs.help Subject: Re: Emacs opening to files when asked to open one Date: Thu, 16 Apr 2009 19:26:34 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1239925258 14142 80.91.229.12 (16 Apr 2009 23:40:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 23:40:58 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Apr 17 01:42:17 2009 Return-path: Envelope-to: geh-help-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 1LubDg-0002Fb-Ui for geh-help-gnu-emacs@m.gmane.org; Fri, 17 Apr 2009 01:42:13 +0200 Original-Received: from localhost ([127.0.0.1]:55671 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LubCI-0005Us-1b for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 19:40:46 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!motzarella.org!feeder.motzarella.org!news.motzarella.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 Original-X-Trace: news.eternal-september.org U2FsdGVkX1/LMvZ7/p0vT5sNvlaXQCieBEleStL2EXr6iv6pHRaVfEVDMqCL8dWX5AwDF0kWodC0qFY2l2IyfpqDMz4IC6IYVdomuYGpMnhSGOUbsjj9OBbvAM7dYMMEzWQz28Iakf2mjVC8YG0OKA== Original-X-Complaints-To: Please send complaints to abuse@motzarella.org with full headers Original-NNTP-Posting-Date: Thu, 16 Apr 2009 23:25:57 +0000 (UTC) X-Auth-Sender: U2FsdGVkX1/qp+VN43DOwaTO2+wMTmmMqHxCcBytyj4= Cancel-Lock: sha1:aRiazd6kro4yLaiastBb/PkfWx4= User-Agent: MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) Mail-Copies-To: nobody Original-Xref: news.stanford.edu gnu.emacs.help:168511 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:63784 Archived-At: In article , Harald Hanche-Olsen wrote: > + Alberto Simões : > > > Under MacOS (NS) I added an alias to open files directly on the shell: > > > > [ambs@rachmaninoff VisitasDI]$ alias emacs > > alias emacs='/Applications/Emacs.app/Contents/MacOS/Emacs' > > > > or is there any better way to alias an emacs command? > > Try this instead: open -a emacs filename Or use /Applications/Emacs.app/Contents/macOS/bin/emacsclient -- Barry Margolin, barmar@alum.mit.edu Arlington, MA *** PLEASE post questions in newsgroups, not directly to me *** *** PLEASE don't copy me on replies, I'll read them in the group ***