[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs opening to files when asked to open one
From: |
Barry Margolin |
Subject: |
Re: Emacs opening to files when asked to open one |
Date: |
Thu, 16 Apr 2009 19:26:34 -0400 |
User-agent: |
MT-NewsWatcher/3.5.3b3 (Intel Mac OS X) |
In article <pcoocuwwe2f.fsf@math.ntnu.no>,
Harald Hanche-Olsen <hanche@math.ntnu.no> wrote:
> + Alberto Simões <hashashin@gmail.com>:
>
> > 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 ***