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: Eric S Fraga
Subject: Re: [O] problem with find-file in --eval from command line
Date: Fri, 26 Aug 2011 13:45:50 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux)

Viktor Rosenfeld <address@hidden> 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 (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?

-- 
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.205.gce02a)



reply via email to

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