From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [multi-tty] xt-mouse.el does not work in emacsclient frames Date: Mon, 21 May 2007 08:39:58 -0400 Message-ID: References: <200705170044.l4H0i46s007856@oogie-boogie.ics.uci.edu> <200705182017.l4IKHnqa025118@oogie-boogie.ics.uci.edu> <200705182055.l4IKt3iQ025860@oogie-boogie.ics.uci.edu> <200705190212.l4J2CCiP003153@oogie-boogie.ics.uci.edu> <85mz00sl4p.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179751213 6979 80.91.229.12 (21 May 2007 12:40:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 May 2007 12:40:13 +0000 (UTC) Cc: bob@rattlesnake.com, Dan Nicolaescu , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 21 14:40:12 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hq7BI-0006Ux-HH for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 14:40:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq7BH-0003BQ-Ui for ged-emacs-devel@m.gmane.org; Mon, 21 May 2007 08:40:07 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hq7BD-00038W-64 for emacs-devel@gnu.org; Mon, 21 May 2007 08:40:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hq7BC-00037l-MN for emacs-devel@gnu.org; Mon, 21 May 2007 08:40:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hq7BC-00037J-GX for emacs-devel@gnu.org; Mon, 21 May 2007 08:40:02 -0400 Original-Received: from 191.red-83-44-183.dynamicip.rima-tde.net ([83.44.183.191] helo=alfajor.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Hq7BA-00075U-U0; Mon, 21 May 2007 08:40:01 -0400 Original-Received: by alfajor.home (Postfix, from userid 20848) id D52C61C5B3; Mon, 21 May 2007 08:39:58 -0400 (EDT) In-Reply-To: <85mz00sl4p.fsf@lola.goethe.zz> (David Kastrup's message of "Sat\, 19 May 2007 20\:50\:46 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:71491 Archived-At: >> Actually, I don't think that would be right either: when calling >> xterm-mouse-mode, the user implicitly tells Emacs "trust me, this is >> a terminal that understands the xterm-mouse protocol". > Hm. Could we have something that says "try this with every (including > as to yet unopened) terminal that you know/can test to understand the > protocol"? We can probably try to have a "global-xterm-mouse-mode" which automatically sets up xterm-mouse-mode on every terminal whose TERM names matches a particular regexp. Same thing for t-mouse-mode. And/or maybe we could check the TTY name itself (after all a /dev/ttyN is known not to be an xterm). Stefan