From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Ludwig, Mark" Newsgroups: gmane.emacs.help Subject: Best practices for launching Emacs on Windows 7/8 Date: Mon, 18 Feb 2013 19:59:43 +0000 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_BC5672F8AD4C054BAF167C9801500D1ABCACBC75USSLMMBX002netp_" X-Trace: ger.gmane.org 1361217607 13187 80.91.229.3 (18 Feb 2013 20:00:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 18 Feb 2013 20:00:07 +0000 (UTC) To: "help-gnu-emacs@gnu.org" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Feb 18 21:00:29 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1U7Wt1-0001XX-MG for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 21:00:27 +0100 Original-Received: from localhost ([::1]:41205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7Wse-0002Ab-FB for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Feb 2013 15:00:04 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59704) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7WsV-00029L-Pm for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 14:59:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1U7WsQ-0004fF-LK for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 14:59:55 -0500 Original-Received: from usslmhub002.ugs.com ([134.244.32.85]:14191 helo=ugs.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1U7WsQ-0004eR-BN for help-gnu-emacs@gnu.org; Mon, 18 Feb 2013 14:59:50 -0500 Original-Received: from USSLMMBX003.net.plm.eds.com (161.134.138.61) by USSLMHUB002.net.plm.eds.com (134.244.32.85) with Microsoft SMTP Server (TLS) id 14.2.318.1; Mon, 18 Feb 2013 13:59:45 -0600 Original-Received: from USSLMMBX002.net.plm.eds.com ([169.254.1.37]) by USSLMMBX003.net.plm.eds.com ([169.254.2.248]) with mapi id 14.02.0318.001; Mon, 18 Feb 2013 13:59:44 -0600 Thread-Topic: Best practices for launching Emacs on Windows 7/8 Thread-Index: Ac4OEhMdO67nGlxtQZmdqBkMyLNrmg== Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [146.122.225.74] X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 X-Received-From: 134.244.32.85 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89158 Archived-At: --_000_BC5672F8AD4C054BAF167C9801500D1ABCACBC75USSLMMBX002netp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable 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=3Drunemacs 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? Thanks! Mark --_000_BC5672F8AD4C054BAF167C9801500D1ABCACBC75USSLMMBX002netp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

What are the best practices for using/launching Emac= s 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=3Drunemacs option so that if Emac= s wasn't

running, it would be launched.

 

In Windows 7 and 8, the GUI simply does not allow an= y options.  I

am not sure if I could hack the registry directly to= stuff the

options in there, but since the GUI no longer suppor= ts it, I fear

the underlying support might not be there either.&nb= sp; I have

considered trying to associate .TXT with something l= ike a

Emacs.BAT/Emacs.CMD file that could invoke emacsclie= nt with

options, but this has its own problems, and seems li= ke a bad idea

for ultimately launching a "windows mode" = program Emacs.exe

(which is not a "command line mode" progra= m).

 

I am wondering what others do.

 

Perhaps I'm expecting too much automation, for examp= le, the idea

that if Emacs Server isn't already running, it gets = launched

seamlessly?

 

Thanks!

Mark

--_000_BC5672F8AD4C054BAF167C9801500D1ABCACBC75USSLMMBX002netp_--