www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/06/02/05:30:29

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,SPF_PASS
X-Spam-Check-By: sourceware.org
Message-ID: <23827772.post@talk.nabble.com>
Date: Tue, 2 Jun 2009 02:30:11 -0700 (PDT)
From: Marc Girod <marc DOT girod AT gmail DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: How to run GNU Emacs from Windows icon
In-Reply-To: <746652D230364290B3E68BE37FA6CB50@corp.real.com>
MIME-Version: 1.0
References: <746652D230364290B3E68BE37FA6CB50 AT corp DOT real 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


David Karr wrote:
> 
> However, when I try to do something similar for GNU Emacs, it fails
> immediately.
Do you want to run GNU emacs in terminal mode?
I run it in X mode with:

@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"


I can also start a Cygwin window, and run GNU emacs there (with a -nw
option).
It starts, although doesn't work well. The keyboard bindings are weird for a
start (e.g. C-x C-c gives in fact C-x C-g, which forces you to exit with M-x
kill-emacs).
I'm sure this was discussed already.
Marc

-- 
View this message in context: http://www.nabble.com/How-to-run-GNU-Emacs-from-Windows-icon-tp23826930p23827772.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