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