emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] problem with find-file in --eval from command line


From: Achim Gratz
Subject: Re: [O] problem with find-file in --eval from command line
Date: Fri, 26 Aug 2011 17:16:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Eric S Fraga <address@hidden> writes:
> The even simpler solution worked for me:
>
>   emacs --eval '(find-file "/home/somefile.org")'

...as I had already said (this also has the charm of working in other
shells, like tcsh).

> with bash (4.1-3) on Debian Linux (testing+unstable).  Not sure why
> others have needed so many escapes on quotes...  note that I'm enclosing
> the sexp in single quotes.  Has something changed in bash from 4.1 to
> 4.2?

For this simple example it's a wash, but sometimes you can't use single
quotes (for instance if you want to have variable expansion) and then
you will still need to know how to escape stuff.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

DIY Stuff:
http://Synth.Stromeko.net/DIY.html




reply via email to

[Prev in Thread] Current Thread [Next in Thread]