Viktor Rosenfeld listuse...@googlemail.com writes:
Hi,
This works on Bash (tested on 4.2.10) and should be easy to remember:
emacs --eval (find-file \/home/somefile.org\ )
The even simpler solution worked for me:
emacs --eval '(find-file /home/somefile.org)'
with bash (4.1-3) on
Eric S Fraga e.fr...@ucl.ac.uk 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
Achim Gratz strom...@nexgo.de writes:
Eric S Fraga e.fr...@ucl.ac.uk 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).
Ah, sorry, I missed that!
with
I'm trying to start emacs from the command line and using an --eval section to
open a file and do some operations. I'm having a problem with the Linux
version.
Here's how I do it without error using the strange quoting in Windows:
--- emacs --eval ^( find-file c:/users/myname/somefile.org\^
Herbert Sitz hs...@nwlink.com writes:
In Linux I'm not sure how to do the quoting. I tried this:
--- emacs --eval ( find-file /home/somefile.org )
Provided you don't use any completely exotic shell, that is what Emacs
gets to see:
( find-file /home/somefile.org )
And I get the error:
Achim Gratz Stromeko at nexgo.de writes:
Bash needs this instead
emacs --eval ( find-file ''/home/somefile.org'' )
THere may be other solutions for bash, but I never really got the hang
of their quoting rules.
Regards,
Achim.
Achim --
Thanks a lot, that Bash version works
Hi,
This works on Bash (tested on 4.2.10) and should be easy to remember:
emacs --eval (find-file \/home/somefile.org\ )
Cheers,
Viktor
Achim Gratz wrote:
Bash needs this instead
emacs --eval ( find-file ''/home/somefile.org'' )
THere may be other solutions for bash, but I never
Viktor Rosenfeld listuser36 at googlemail.com writes:
This works on Bash (tested on 4.2.10) and should be easy to remember:
emacs --eval (find-file \/home/somefile.org\ )
Cheers,
Viktor
I thought I had tried already that but I hadn't. Thanks Viktor.
-- Herb