all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "\"Jérôme M. Berger\"" <jeberger@free.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: Best practices for launching Emacs on Windows 7/8
Date: Tue, 19 Feb 2013 19:44:02 +0100	[thread overview]
Message-ID: <kg0h5f$4ka$1@ger.gmane.org> (raw)
In-Reply-To: <BC5672F8AD4C054BAF167C9801500D1ABCACBC75@USSLMMBX002.net.plm.eds.com>

[-- Attachment #1: Type: text/plain, Size: 1766 bytes --]

Ludwig, Mark wrote:
> What are the best practices for using/launching Emacs as Server
> on Windows 7/8?
> 
> For example, on Windows Vista, I used to be able to make a file
> association with .TXT files that invoked emacsclient with the
> --alternate-editor=runemacs option so that if Emacs wasn't
> running, it would be launched.
> 
> In Windows 7 and 8, the GUI simply does not allow any options.  I
> am not sure if I could hack the registry directly to stuff the
> options in there, but since the GUI no longer supports it, I fear
> the underlying support might not be there either.  I have
> considered trying to associate .TXT with something like a
> Emacs.BAT/Emacs.CMD file that could invoke emacsclient with
> options, but this has its own problems, and seems like a bad idea
> for ultimately launching a "windows mode" program Emacs.exe
> (which is not a "command line mode" program).
> 
> I am wondering what others do.
> 
> Perhaps I'm expecting too much automation, for example, the idea
> that if Emacs Server isn't already running, it gets launched
> seamlessly?
> 
	I use emacsclient with the --alternate-editor=runemacs option in
Windows 7. Can't remember for sure how I set it up (I'm at home on
Linux right now), but I'm sure I did it from the GUI without any
fancy registry editing or stuff. IIRC you need to first create the
shortcut without specifying command line options, then go to the
shortcut properties (with A-RET or the context menu) where you
should find a field to add the options (can't remember whether there
is a specific field or whether you can add the options directly
after the executable name).

		Jerome
-- 
mailto:jeberger@free.fr
http://jeberger.free.fr
Jabber: jeberger@jabber.fr


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2013-02-19 18:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18 19:59 Best practices for launching Emacs on Windows 7/8 Ludwig, Mark
2013-02-19 18:44 ` "Jérôme M. Berger" [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-02-19 17:36 Buchs, Kevin
     [not found] <mailman.20310.1361217600.855.help-gnu-emacs@gnu.org>
2013-02-20 13:36 ` Jason Rumney
2013-02-21 15:23   ` Ludwig, Mark
2013-02-21 15:37     ` W. Greenhouse
2013-02-21 15:56   ` Ludwig, Mark
2013-02-20 16:30 Buchs, Kevin

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='kg0h5f$4ka$1@ger.gmane.org' \
    --to=jeberger@free.fr \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.