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 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)