From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Will <schimpanski@gmx.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: EmacsW32 invocation options
Date: Tue, 01 May 2007 22:31:18 +0200 [thread overview]
Message-ID: <4637A396.9000300@gmail.com> (raw)
In-Reply-To: <u1wi0wd1b.fsf@gnu.org>
Eli Zaretskii wrote:
>> From: Will <schimpanski@gmx.de>
>> Date: Tue, 01 May 2007 15:15:24 +0200
>>
>> I'd like to use a shortcut on my desktop to start GNU Emacs with W32
>> bundle (patched, V1.46 - V1.50) so that my personal init-file is
>> evaluated at start-up, which is _not_ in my home directory. The
>> following commands however do not work (cf. Shortcut > Target):
>>
>> "C:\Program Files\Emacs\emacs\bin\emacsclientw.exe" -n -e
>> "Z:\00_Preferences\Emacs\.emacs"
>>
>> "C:\Program Files\Emacs\emacs\bin\emacsclientw.exe" -n --eval
>> "Z:\00_Preferences\Emacs\.emacs"
>>
>> What am I doing wrong?
>
> Why do you make this so complicated? Why not
>
> "C:\Program Files\Emacs\emacs\bin\runemacs.exe" --eval
> "Z:\00_Preferences\Emacs\.emacs"
>
> ? why use emacsclientw?
That is good advice for the unpatched version of Emacs, but for the
patched version that comes with Emacs+EmacsW32 it should be handled
differently.
The reason is that with the patched version you do not have to start
Emacs server in your .emacs, it is started automatically by the first
invocation of emacsclient. To still use that feature you can do
something like this:
emacsclientw.exe -n -e "load-file \"path-to-your-file\""
BTW there is a misunderstanding above. When you use -e the parameter is
evaled, not the contents in the file. So you are trying to use the file
name as an emacs lisp expression. (Fortunately that fails.)
next prev parent reply other threads:[~2007-05-01 20:31 UTC|newest]
Thread overview: 108+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-01 13:15 EmacsW32 invocation options Will
2007-05-01 19:37 ` Eli Zaretskii
2007-05-01 20:31 ` Lennart Borgman (gmail) [this message]
2007-05-01 20:39 ` Lennart Borgman (gmail)
2007-05-02 3:00 ` Eli Zaretskii
2007-05-02 7:18 ` Lennart Borgman (gmail)
2007-05-02 10:21 ` Juanma Barranquero
2007-05-02 13:28 ` Lennart Borgman (gmail)
2007-05-02 14:18 ` Juanma Barranquero
2007-05-02 14:37 ` Lennart Borgman (gmail)
2007-05-02 15:01 ` Juanma Barranquero
2007-05-02 15:14 ` Lennart Borgman (gmail)
2007-05-02 15:37 ` Juanma Barranquero
2007-05-02 17:31 ` Lennart Borgman (gmail)
2007-05-02 20:01 ` Juanma Barranquero
2007-05-02 20:14 ` Lennart Borgman (gmail)
2007-05-02 20:18 ` Juanma Barranquero
[not found] ` <mailman.140.1178137499.32220.help-gnu-emacs@gnu.org>
2007-05-02 20:23 ` Hadron
2007-05-02 22:30 ` Juanma Barranquero
2007-05-02 19:26 ` Eli Zaretskii
2007-05-02 19:38 ` Lennart Borgman (gmail)
2007-05-02 20:03 ` Juanma Barranquero
[not found] ` <mailman.84.1178101677.32220.help-gnu-emacs@gnu.org>
2007-05-02 11:58 ` Hadron
2007-05-02 14:00 ` Juanma Barranquero
2007-05-02 14:30 ` Lennart Borgman (gmail)
2007-05-02 14:46 ` Juanma Barranquero
2007-05-02 15:03 ` Lennart Borgman (gmail)
2007-05-02 15:30 ` Juanma Barranquero
2007-05-02 15:41 ` Lennart Borgman (gmail)
2007-05-02 19:57 ` Juanma Barranquero
2007-05-02 20:16 ` Lennart Borgman (gmail)
2007-05-02 20:23 ` Juanma Barranquero
2007-05-02 20:46 ` Lennart Borgman (gmail)
2007-05-02 19:04 ` Eli Zaretskii
2007-05-02 20:01 ` Lennart Borgman (gmail)
2007-05-02 20:07 ` Juanma Barranquero
2007-05-03 9:43 ` Kim F. Storm
2007-05-03 10:51 ` Juanma Barranquero
[not found] ` <mailman.169.1178189923.32220.help-gnu-emacs@gnu.org>
2007-05-03 14:41 ` David Kastrup
2007-05-03 22:31 ` Juanma Barranquero
[not found] ` <mailman.199.1178231896.32220.help-gnu-emacs@gnu.org>
2007-05-03 22:50 ` David Kastrup
2007-05-04 0:09 ` Juanma Barranquero
2007-05-04 8:00 ` Eli Zaretskii
2007-05-04 8:32 ` Juanma Barranquero
2007-05-04 17:42 ` Lennart Borgman (gmail)
2007-05-04 18:00 ` Lennart Borgman (gmail)
2007-05-04 22:09 ` Kim F. Storm
2007-05-04 23:03 ` Peter Dyballa
2007-05-05 6:48 ` Eli Zaretskii
2007-05-05 3:04 ` Juanma Barranquero
[not found] ` <mailman.272.1178334669.32220.help-gnu-emacs@gnu.org>
2007-05-05 6:09 ` David Kastrup
2007-05-05 6:56 ` Juanma Barranquero
[not found] ` <mailman.275.1178348602.32220.help-gnu-emacs@gnu.org>
2007-05-05 7:08 ` David Kastrup
2007-05-05 10:19 ` Juanma Barranquero
2007-05-05 6:40 ` Eli Zaretskii
[not found] ` <mailman.262.1178316988.32220.help-gnu-emacs@gnu.org>
2007-05-05 1:07 ` David Kastrup
2007-05-05 8:10 ` Brian Elmegaard
2007-05-05 8:14 ` David Kastrup
2007-05-05 8:52 ` Lennart Borgman (gmail)
2007-05-06 7:26 ` Brian Elmegaard
[not found] ` <mailman.137.1178136879.32220.help-gnu-emacs@gnu.org>
2007-05-02 20:20 ` Hadron
2007-05-02 22:22 ` Juanma Barranquero
[not found] ` <mailman.148.1178144974.32220.help-gnu-emacs@gnu.org>
2007-05-02 22:38 ` Hadron
2007-05-03 3:17 ` Eli Zaretskii
[not found] ` <mailman.155.1178162677.32220.help-gnu-emacs@gnu.org>
2007-05-03 6:24 ` Brian Elmegaard
2007-05-03 8:15 ` Juanma Barranquero
[not found] ` <mailman.163.1178180521.32220.help-gnu-emacs@gnu.org>
2007-05-03 22:13 ` Brian Elmegaard
2007-05-04 8:18 ` Eli Zaretskii
[not found] ` <mailman.216.1178267106.32220.help-gnu-emacs@gnu.org>
2007-05-04 11:21 ` Brian Elmegaard
2007-05-04 12:38 ` Eli Zaretskii
[not found] ` <mailman.222.1178282726.32220.help-gnu-emacs@gnu.org>
2007-05-05 8:03 ` Brian Elmegaard
2007-05-04 12:18 ` Hadron
2007-05-04 14:21 ` Juanma Barranquero
2007-05-04 14:54 ` Hadron
2007-05-04 15:00 ` Juanma Barranquero
2007-05-04 18:55 ` Eli Zaretskii
2007-05-04 7:41 ` Eli Zaretskii
[not found] ` <mailman.212.1178264928.32220.help-gnu-emacs@gnu.org>
2007-05-05 0:58 ` David Kastrup
2007-05-05 9:36 ` David Reitter
2007-05-05 12:43 ` David Kastrup
2007-05-05 11:18 ` Peter Dyballa
[not found] ` <mailman.78.1178090729.32220.help-gnu-emacs@gnu.org>
2007-05-02 11:54 ` Hadron
2007-05-02 13:54 ` Juanma Barranquero
[not found] ` <mailman.95.1178114448.32220.help-gnu-emacs@gnu.org>
2007-05-02 14:37 ` Hadron
2007-05-02 22:16 ` Juanma Barranquero
2007-05-02 19:13 ` Eli Zaretskii
[not found] ` <mailman.71.1178075223.32220.help-gnu-emacs@gnu.org>
2007-05-02 6:01 ` Brian Elmegaard
2007-05-02 13:52 ` Juanma Barranquero
[not found] ` <mailman.94.1178114380.32220.help-gnu-emacs@gnu.org>
2007-05-02 14:35 ` Hadron
2007-05-02 22:15 ` Juanma Barranquero
2007-05-02 17:38 ` Brian Elmegaard
2007-05-02 22:17 ` Juanma Barranquero
[not found] ` <mailman.147.1178144675.32220.help-gnu-emacs@gnu.org>
2007-05-03 6:25 ` Brian Elmegaard
2007-05-03 8:20 ` Juanma Barranquero
2007-05-02 19:11 ` Eli Zaretskii
2007-05-02 19:49 ` Lennart Borgman (gmail)
2007-05-03 3:15 ` Eli Zaretskii
2007-05-03 8:26 ` Lennart Borgman (gmail)
2007-05-04 7:43 ` Eli Zaretskii
[not found] ` <mailman.128.1178133511.32220.help-gnu-emacs@gnu.org>
2007-05-03 6:08 ` Brian Elmegaard
2007-05-04 7:40 ` Eli Zaretskii
2007-05-03 6:33 ` Brian Elmegaard
2007-05-03 10:02 ` Hadron
2007-05-03 11:02 ` Juanma Barranquero
[not found] ` <mailman.170.1178190557.32220.help-gnu-emacs@gnu.org>
2007-05-03 11:36 ` Hadron
2007-05-03 13:26 ` Juanma Barranquero
2007-05-04 8:14 ` Eli Zaretskii
2007-05-04 8:41 ` Juanma Barranquero
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4637A396.9000300@gmail.com \
--to=lennart.borgman@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=schimpanski@gmx.de \
/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.
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).