From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Pavel@Janik.cz (Pavel =?iso-8859-2?q?Jan=EDk?=) Newsgroups: gmane.emacs.devel Subject: Re: PATCH: focus follows mouse in C Date: Sat, 09 Feb 2002 16:08:26 +0100 Message-ID: References: <200202071456.g17EujV04572@aztec.santafe.edu> <200202082324.g18NON305738@aztec.santafe.edu> <6480-Sat09Feb2002120145+0200-eliz@is.elta.co.il> <5137-Sat09Feb2002165228+0200-eliz@is.elta.co.il> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: 8bit X-Trace: quimby2.netfonds.no 1013273146 18797 195.204.10.66 (9 Feb 2002 16:45:46 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 9 Feb 2002 16:45:46 GMT Cc: rms@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16ZadG-0004t5-00 for ; Sat, 09 Feb 2002 17:45:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16ZaU0-0001JL-00; Sat, 09 Feb 2002 11:36:12 -0500 Original-Received: from p0070.as-l043.contactel.cz ([194.108.242.70] helo=SnowWhite.SuSE.cz) by fencepost.gnu.org with smtp (Exim 3.33 #1 (Debian)) id 16ZaR3-00011X-00; Sat, 09 Feb 2002 11:33:10 -0500 Original-Received: by SnowWhite.SuSE.cz (PJ, from userid 500) id 3C1DD441B9; Sat, 9 Feb 2002 17:35:28 +0100 (CET) Original-To: Eli Zaretskii Mail-Copies-To: never X-Face: $"d&^B_IKlTHX!y2d,3;grhwjOBqOli]LV`6d]58%5'x/kBd7.MO&n3bJ@Zkf&RfBu|^qL+ ?/Re{MpTqanXS2'~Qp'J2p^M7uM:zp[1Xq#{|C!*'&NvCC[9!|=>#qHqIhroq_S"MH8nSH+d^9*BF: iHiAs(t(~b#1.{w.d[=Z In-Reply-To: <5137-Sat09Feb2002165228+0200-eliz@is.elta.co.il> ("Eli Zaretskii"'s message of "Sat, 09 Feb 2002 16:52:29 +0200") User-Agent: Gnus/5.090006 (Oort Gnus v0.06) Emacs/21.2.50 (i386-suse-linux-gnu) Original-Lines: 40 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:921 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:921 From: "Eli Zaretskii" Date: Sat, 09 Feb 2002 16:52:29 +0200 > > --- xterm.c.~1.703.~ Sun Jan 27 17:15:53 2002 > > +++ xterm.c Sat Feb 9 12:45:39 2002 > > @@ -253,6 +253,15 @@ > > Ahem.. why is this only in xterm.c? Is it just because this is a > prototype? I mean, we surely want this for any version that supports > a mouse, including the Windows, the Mac, and the DOS ports, right? Of course. I know that, Eli. I sent only changes to xterm.c. I will not prepare changes for all ports because I do not have such systems and do not want to do changes in something I can not test. I will send changes to respective maintainers who will check and test them. But I will do that all when we settle on the right solution... > And what about the tty version with xt-mouse or an equivalent? The same as above applies. > > + DEFVAR_BOOL ("x-autoselect-window", &x_autoselect_window_p, > > + doc: /* *Non-nil means autoselect window with mouse pointer. */); > > + x_autoselect_window_p = 0; > > + > > + DEFVAR_BOOL ("x-autoselect-always", &x_autoselect_always_p, > > + doc: /* *Non-nil means always autoselect window with mouse pointer > > +even if user switched to different window. */); > > + x_autoselect_always_p = 0; > > Isn't it better to have a single option which can be nil, t, or > something non-nil and not t? Perhaps. Any other opinions? -- Pavel Janík No matter how hard you try, you can't make a racehorse out of a pig. You can, however, make a faster pig. -- An unknown author in GNU Emacs about Emacs's byte-opt _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel