Achim Gratz writes:
> Eric S Fraga 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 bash (4.1-3) on Debia
Eric S Fraga 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 need
Viktor Rosenfeld 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 Debian Linux (testin
Viktor Rosenfeld 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
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,
Achim Gratz 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 work
Herbert Sitz 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:
>
>Symbo
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\^