Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'alias syntax problem' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
alias syntax problem
Authored by: sjthomas on Feb 05, '02 12:45:48PM

I have compiled my Aqua-Emacs files and I can run it if I double-click on it from the Mac OS X finder, but the tip for the alias isn't working. I suspect a simple shell syntax problem but I am a Terminal newbie and can't figure out how to fix it. Help?

I have the following line in my .tcshrc file:
alias emacs '/Applications/Emacs.app/Contents/MacOS/Emacs --insert'

When I type emacs at the command line I get the following:
emacs: Option `--insert' requires an argument

Thanks!



[ Reply to This | # ]
alias syntax problem
Authored by: ether on Jul 19, '02 04:52:16PM

if you leave the "--insert" off it will work, but you
will have to open files inside emacs. If you leave it
there, you have to say "emacs FILENAME" for some (not
necessarily existing) filename.



[ Reply to This | # ]