delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/10/01/14:49:20

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.1 required=5.0 tests=AWL,BAYES_00,KHOP_RCVD_UNTRUST,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
Message-ID: <5069E59E.606@cs.utoronto.ca>
Date: Mon, 01 Oct 2012 14:49:02 -0400
From: Ryan Johnson <ryan DOT johnson AT cs DOT utoronto DOT ca>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
MIME-Version: 1.0
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
Subject: RFE: make non-x11 emacs mouse-aware
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.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

Hi all, esp. emacs maintainer(s),

I'd like to request that the non-x11 emacs be made mouse aware. Right 
now, terminal mouse mode is broken in normal emacs because the emacs 
core doesn't recognize the resulting mouse events. You can use emacs-x11 
in terminal mode as a heavyweight workaround, but it turns out that 
mouse awareness is controlled by the src/config.h file created by 
./configure:
> /* Define if you have mouse support. */
> /* #undef HAVE_MOUSE */

There doesn't seem to be an explicit configure switch for it (it's 
enabled indirectly by --with-x11 or --with-ns), but editing directly 
produced the desired results on a headless linux machine, with no 
undesirable side effects so far. I see no reason it shouldn't also work 
under cygwin.

Thoughts?
Ryan


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


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