[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] problem with find-file in --eval from command line
From: |
Eric S Fraga |
Subject: |
Re: [O] problem with find-file in --eval from command line |
Date: |
Fri, 26 Aug 2011 17:03:48 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Achim Gratz <address@hidden> writes:
> 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).
Ah, sorry, I missed that!
>> 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.
Indeed!
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.205.gce02a)