From: Viktor Rosenfeld <listuser36@googlemail.com>
To: emacs-orgmode@gnu.org
Subject: Re: problem with find-file in --eval from command line
Date: Wed, 24 Aug 2011 20:48:08 +0200 [thread overview]
Message-ID: <20110824184808.GB89772@kenny.local> (raw)
In-Reply-To: <877h62wv8y.fsf@Rainer.invalid>
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, but I never really got the hang
> of their quoting rules.
next prev parent reply other threads:[~2011-08-24 18:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-08-24 17:31 problem with find-file in --eval from command line Herbert Sitz
2011-08-24 17:54 ` Achim Gratz
2011-08-24 18:11 ` Herbert Sitz
2011-08-24 18:48 ` Viktor Rosenfeld [this message]
2011-08-25 1:45 ` Herbert Sitz
2011-08-26 12:45 ` Eric S Fraga
2011-08-26 15:16 ` Achim Gratz
2011-08-26 16:03 ` Eric S Fraga
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110824184808.GB89772@kenny.local \
--to=listuser36@googlemail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).