[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Emacs opening to files when asked to open one
From: |
Alberto Simões |
Subject: |
Emacs opening to files when asked to open one |
Date: |
Thu, 16 Apr 2009 18:08:47 +0100 |
Hello
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'
This way I can use:
$emacs foo &
and it works.
But, if I do
$ emacs public_html/index.html &
(in fact, any file that is not in current dir)
emacs will open it, but also an empt index.html, not sure where.
Any hint on how to solve?
Would this be a bug (weird , but possible), or is there any better way
to alias an emacs command?
Thank you
Alberto
--
Alberto Simões
- Emacs opening to files when asked to open one,
Alberto Simões <=