Mail Archives: cygwin/2010/05/13/17:21:31
X-Recipient: | archive-cygwin AT delorie DOT com
|
X-SWARE-Spam-Status: | No, hits=0.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_SORBS_WEB,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD
|
X-Spam-Check-By: | sourceware.org
|
To: | cygwin AT cygwin DOT com
|
connect(): | No such file or directory
|
From: | Rolf Campbell <rcampbell-cygwin AT dragonwaveinc DOT com>
|
Subject: | Re: [ANNOUNCEMENT] Updated: {emacs,emacs-X11,emacs-el}-23.2-1
|
Date: | Thu, 13 May 2010 17:20:59 -0400
|
Lines: | 34
|
Message-ID: | <hshqfr$tmc$1@dough.gmane.org>
|
References: | <announce DOT 4BE7DE83 DOT 7040902 AT cornell DOT edu> <hshnjf$jav$1 AT dough DOT gmane DOT org> <4BEC64ED DOT 3060008 AT cornell DOT edu> <hshq1m$sk0$1 AT dough DOT gmane DOT org>
|
Mime-Version: | 1.0
|
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
|
In-Reply-To: | <hshq1m$sk0$1@dough.gmane.org>
|
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
|
On 2010-05-13 17:13, Rolf Campbell wrote:
> On 2010-05-13 16:45, Ken Brown wrote:
>> On 5/13/2010 4:31 PM, Rolf Campbell wrote:
>>> On 2010-05-10 06:22, Ken Brown wrote:
>>>> New releases of the emacs, emacs-X11, and emacs-el packages are now
>>>> available, 23.2-1, leaving 23.1-10 as previous.
>>> I've been using the native W32 port of emacs for years. I tried using
>>> the native cygwin build of it and ran into a problem: I can't seem to
>>> bind all key combinations.
>>> - Alt+F3 (or Alt+any F-key) seem to have no effect at all.
>>> - Ctrl+Alt+Shift+5: I bind it using (global-set-key (kbd "C-M-%" ...),
>>> but pressing Ctrl+Alt+Shift+5 results in emacs complaining that "M-[ 1 ;
>>> 8 u" is undefined.
>>
>> Are you using emacs in the Cygwin console? If so, many key combinations
>> won't work as you expect. This is documented in
>> /usr/share/doc/Cygwin/emacs.README. You'll have better luck running
>> emacs in mintty. Or for an interface that is more like the native Win32
>> build, run emacs under X11.
>>
>> Ken
>>
> Sorry, I should have been more clear, I'm running in mintty.
> [reading emacs.README ...]
> Oh, I see. Is there any way to bind the resulting key codes? Can I use
> "M-[ 1 ; 8 u" as a key to bind?
>
>
To answer my own question: Yes, you can use
(global-set-key (kbd "M-[ 1 ; 8 u" ...))
to bind Ctrl+Alt+Shift+5 in mintty.
So, now that I know a better work-around, is this a bug in cygwin,
mintty, or cygwin-emacs?
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
- Raw text -