www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/05/21/11:41:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23655438.post@talk.nabble.com>
Date: Thu, 21 May 2009 08:40:57 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: emacs in its own window
In-Reply-To: <416096c60905050422j523ef9c0m769460eb74015e8@mail.gmail.com>
MIME-Version: 1.0
References: <23358625 DOT post AT talk DOT nabble DOT com> <49FED3E3 DOT 8010308 AT cornell DOT edu> <23375222 DOT post AT talk DOT nabble DOT com> <49FF4EF1 DOT 4010509 AT cornell DOT edu> <23377655 DOT post AT talk DOT nabble DOT com> <416096c60905050422j523ef9c0m769460eb74015e8 AT mail DOT gmail DOT com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com


Andy Koppe wrote:
> 
> (Or, as Ken said, install the X version of emacs and invoke it as
> emacs-X11.)
> 
In fact, with X emacs installed (at least 23.0.92), emacs will invoke
emacs-X11:

public_html> type emacs
emacs is /usr/bin/emacs
public_html> ll /usr/bin/emacs*
lrwxrwxrwx 1 emagiro EEI-ATusers       23 May 17 19:35 /usr/bin/emacs ->
/etc/alternatives/emacs
-rwxr-xr-x 1 emagiro root        15838208 May 17 21:06
/usr/bin/emacs-X11.exe
-rwxr-xr-x 1 emagiro root        15408128 May 17 21:06
/usr/bin/emacs-nox.exe
-rwxr-xr-x 1 emagiro root           20480 May 17 21:06
/usr/bin/emacsclient.exe
public_html> ll /etc/alternatives/emacs
lrwxrwxrwx 1 emagiro EEI-ATusers 22 May 17 19:35 /etc/alternatives/emacs ->
/usr/bin/emacs-X11.exe

I use the following batch file to start emacs from a 'shortcut' (as I use
M-x shell, I don't need an x term):

public_html> cat /Emacs.bat
@echo off

C:
chdir C:\cygwin2\bin

bash --login -c "/usr/bin/startx /usr/bin/emacs -g 80x40+88+69 -- /usr/bin/X
:0 -multiwindow -clipboard"

Marc
-- 
View this message in context: http://www.nabble.com/emacs-in-its-own-window-tp23358625p23655438.html
Sent from the Cygwin list mailing list archive at Nabble.com.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019