all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ken Brown <kbrown@cornell.edu>
To: Emacs <emacs-devel@gnu.org>
Subject: Defining HAVE_MOUSE on Cygwin
Date: Sat, 06 Oct 2012 21:56:01 -0400	[thread overview]
Message-ID: <5070E131.6020402@cornell.edu> (raw)

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



Ken

P.S. I'm not necessarily proposing this for 24.3, in view of the feature 
freeze.



             reply	other threads:[~2012-10-07  1:56 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-07  1:56 Ken Brown [this message]
2012-10-07  6:46 ` Defining HAVE_MOUSE on Cygwin Eli Zaretskii
2012-10-07 12:18   ` Ken Brown
2012-10-07 14:16     ` Eli Zaretskii
2012-10-07 14:43       ` Stefan Monnier
2012-10-07 15:22         ` Eli Zaretskii
2012-10-07 19:38           ` Stefan Monnier
2012-10-07 19:47             ` Eli Zaretskii
2012-11-23 22:46               ` Ken Brown
2012-11-24 15:13                 ` Stefan Monnier
2012-11-24 17:22                   ` Ken Brown
2012-11-24 20:32                     ` Stefan Monnier
2012-10-07 17:33       ` Ken Brown
2012-10-07 19:46         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5070E131.6020402@cornell.edu \
    --to=kbrown@cornell.edu \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.