emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Defining HAVE_MOUSE on Cygwin


From: Ken Brown
Subject: Re: Defining HAVE_MOUSE on Cygwin
Date: Fri, 23 Nov 2012 17:46:44 -0500
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121010 Thunderbird/16.0.1

On 10/7/2012 3:47 PM, Eli Zaretskii wrote:
From: Stefan Monnier <address@hidden>
Date: Sun, 07 Oct 2012 15:38:24 -0400
Cc: address@hidden, address@hidden

But if that works, my fears notwithstanding, why confine this to
Cygwin?  If we believe that emacs-nox will always run on a
mouse-capable terminal, let's turn on HAVE_MOUSE in all Posix builds.
Actually, I can't see why we have HAVE_MOUSE at all nowadays.
Perhaps someone should try compiling a -nox configuration with
HAVE_MOUSE defined and without GPM, and see if it works well on a text
terminal on Unix or GNU/Linux (a _real_ text terminal, not xterm).

I'm not claiming it works.  I'm claiming that there's no good reason why
it shouldn't work, so if it doesn't work it's a bug.  We should remove
HAVE_MOUSE and fix any breakage that might ensue (but since Emacs works
fine under xterm with xterm-mouse-mode disabled, I don't expect too
much breakage at least under GNU/Linux).

If no one beats me to it, I will try that in a GNU/Linux TTY session
one of these days.

It looks like we all forgot about this. Stefan, is the attached patch what you had in mind?

Ken

Attachment: have_mouse.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]