all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Buchs, Kevin" <buchs.kevin@mayo.edu>
To: <help-gnu-emacs@gnu.org>, "Ludwig, Mark" <ludwig.mark@siemens.com>
Subject: Re: Best practices for launching Emacs on Windows 7/8
Date: Tue, 19 Feb 2013 11:36:14 -0600	[thread overview]
Message-ID: <F326B9A37B353A449FC7A09B36835F820126D284@MACE.sppdg.ad> (raw)

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

Mark,

 

I use a .BAT file for the file association. However, a large percentage
of the time I use that, the client starts up and does not find the
already running server and it will try to start another server (in my
.emacs). So, I end up not using the association. Most often I drag and
drop files into the always open emacs window.

 

It is possible to make the file association have arguments (emacsclient
-alter...), but I've only found this can be done by editing the registry
via regedit. 

 

What are the problems you see with having a .BAT file? 

 

I know there are some nice tools out there that are windows programs
that can launch other windows programs with arguments. Maybe that would
make you feel better.

 

Kevin Buchs | Senior Engineer | SPPDG <http://www.mayo.edu/sppdg>  |
507-538-5459 | buchs.kevin@mayo.edu

Mayo Clinic | 200 First Street SW | Rochester, MN 55905 |
http://www.mayo.edu <http://www.mayo.edu/> 

 

 

-------------------------

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

 


[-- Attachment #2: Type: text/html, Size: 5540 bytes --]

             reply	other threads:[~2013-02-19 17:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-19 17:36 Buchs, Kevin [this message]
  -- strict thread matches above, loose matches on Subject: below --
2013-02-20 16:30 Best practices for launching Emacs on Windows 7/8 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-18 19:59 Ludwig, Mark
2013-02-19 18:44 ` "Jérôme M. Berger"

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=F326B9A37B353A449FC7A09B36835F820126D284@MACE.sppdg.ad \
    --to=buchs.kevin@mayo.edu \
    --cc=help-gnu-emacs@gnu.org \
    --cc=ludwig.mark@siemens.com \
    /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.