From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Harald Hanche-Olsen Newsgroups: gmane.emacs.help Subject: Re: Emacs opening to files when asked to open one Date: Thu, 16 Apr 2009 22:15:04 +0200 Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1239914454 16964 80.91.229.12 (16 Apr 2009 20:40:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 20:40:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 22:42:13 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 1LuYPT-0005Qr-8o for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 22:42:11 +0200 Original-Received: from localhost ([127.0.0.1]:42173 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuYO4-0003tm-HD for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 16:40:44 -0400 Original-Path: news.stanford.edu!headwall.stanford.edu!news.glorb.com!feeder.erje.net!news2.arglkargh.de!diablo1.news.osn.de!news.osn.de!diablo2.news.osn.de!ecngs!feeder.ecngs.de!border1.nntp.ams.giganews.com!nntp.giganews.com!uio.no!ntnu.no!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 16 Original-NNTP-Posting-Host: fiinbeck.math.ntnu.no Original-X-Trace: orkan.itea.ntnu.no 1239912677 14359 129.241.15.140 (16 Apr 2009 20:11:17 GMT) Original-X-Complaints-To: usenet@ntnu.no Original-NNTP-Posting-Date: Thu, 16 Apr 2009 20:11:17 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (berkeley-unix) Cancel-Lock: sha1:O5UfgWsopwTmLB8f+JlU2upDyYQ= Original-Xref: news.stanford.edu gnu.emacs.help:168509 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:63782 Archived-At: + 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 -- * Harald Hanche-Olsen - It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. -- Bertrand Russell