From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Defining HAVE_MOUSE on Cygwin Date: Sun, 07 Oct 2012 08:46:54 +0200 Message-ID: <83zk3y6aox.fsf@gnu.org> References: <5070E131.6020402@cornell.edu> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1349592439 2472 80.91.229.3 (7 Oct 2012 06:47:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 06:47:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ken Brown Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Oct 07 08:47:25 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKke4-0008FN-Jv for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 08:47:24 +0200 Original-Received: from localhost ([::1]:38871 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkdy-0007BC-PK for ged-emacs-devel@m.gmane.org; Sun, 07 Oct 2012 02:47:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:43173) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkdv-0007Au-RH for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:47:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKkdu-0001Rw-QK for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:47:15 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:34576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKkdu-0001Rq-Hp for emacs-devel@gnu.org; Sun, 07 Oct 2012 02:47:14 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MBI00B00G4XXN00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Sun, 07 Oct 2012 08:47:04 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MBI00BO2G6FN660@a-mtaout20.012.net.il>; Sun, 07 Oct 2012 08:47:04 +0200 (IST) In-reply-to: <5070E131.6020402@cornell.edu> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154157 Archived-At: > Date: Sat, 06 Oct 2012 21:56:01 -0400 > From: Ken Brown > > A Cygwin user has requested that emacs have mouse support on Cygwin even > if it is built --with-x=no. Does anyone see a problem with this? If > not, what's the best way to do it? Here's one possibility: > > === modified file 'configure.ac' > --- configure.ac 2012-10-06 00:44:36 +0000 > +++ configure.ac 2012-10-07 01:53:21 +0000 > @@ -4358,6 +4358,11 @@ > > AC_SUBST(WINDOW_SYSTEM_OBJ) > > +## Always build with mouse support on Cygwin > +if test "$opsys" = "cygwin" && test "$window_system" = "none"; then > + AC_DEFINE(HAVE_MOUSE, 1, [Define if you have mouse support.]) > +fi > + > AH_TOP([/* GNU Emacs site configuration template file. > > Copyright (C) 1988, 1993-1994, 1999-2002, 2004-2012 How will this work? HAVE_MOUSE on a console requires mouse-support infrastructure. AFAIK, we only have one such infrastructure: GPM. Is that available on Cygwin? If not, how will the mouse gestures be made known to Emacs in this build?