I am using MAC OX 10.6 , and install the emacs from here http://emacsformacosx.com/
I want to know how to start it in terminal, so my ecb can open current directory<
In my ~/.profile i have the following:
~/.profile
function emacs { if [ -e "$@" ] then command open -a emacs "${@}" else touch "$@" command open -a emacs "${@}" fi }
(The reason for having a function is to make it also work when the specified file does not yet exist when emacs is started)