all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Emacs opening to files when asked to open one
@ 2009-04-16 17:08 Alberto Simões
  2009-04-17  9:14 ` Peter Dyballa
  0 siblings, 1 reply; 8+ messages in thread
From: Alberto Simões @ 2009-04-16 17:08 UTC (permalink / raw)
  To: help-gnu-emacs

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-18 15:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.5469.1239901737.31690.help-gnu-emacs@gnu.org>
2009-04-16 20:15 ` Emacs opening to files when asked to open one Harald Hanche-Olsen
2009-04-16 23:26   ` Barry Margolin
2009-04-16 17:08 Alberto Simões
2009-04-17  9:14 ` Peter Dyballa
2009-04-17 20:04   ` Alberto Simões
2009-04-17 21:32     ` Peter Dyballa
2009-04-18 14:48       ` Alberto Simões
2009-04-18 15:24         ` Peter Dyballa

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.