From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: [multi-tty] xt-mouse.el does not work in emacsclient frames Date: Fri, 18 May 2007 14:57:51 -0700 Message-ID: <200705182157.l4ILvpj0027509@oogie-boogie.ics.uci.edu> References: <200705170044.l4H0i46s007856@oogie-boogie.ics.uci.edu> <200705182017.l4IKHnqa025118@oogie-boogie.ics.uci.edu> <200705182055.l4IKt3iQ025860@oogie-boogie.ics.uci.edu> <200705182121.l4ILLRRm026584@oogie-boogie.ics.uci.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1179525610 23406 80.91.229.12 (18 May 2007 22:00:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 18 May 2007 22:00:10 +0000 (UTC) Cc: emacs-devel To: csant Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat May 19 00:00:09 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 1HpAUb-0007V8-A0 for ged-emacs-devel@m.gmane.org; Sat, 19 May 2007 00:00:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpAUa-0001UK-Nq for ged-emacs-devel@m.gmane.org; Fri, 18 May 2007 18:00:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HpAUI-0001He-HV for emacs-devel@gnu.org; Fri, 18 May 2007 17:59:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HpAUH-0001Gi-Tu for emacs-devel@gnu.org; Fri, 18 May 2007 17:59:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HpAUH-0001GX-Ka for emacs-devel@gnu.org; Fri, 18 May 2007 17:59:49 -0400 Original-Received: from oogie-boogie.ics.uci.edu ([128.195.1.41]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HpAUH-0008LF-2Q for emacs-devel@gnu.org; Fri, 18 May 2007 17:59:49 -0400 Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by oogie-boogie.ics.uci.edu (8.13.6/8.13.6) with ESMTP id l4ILvpj0027509; Fri, 18 May 2007 14:57:51 -0700 (PDT) In-Reply-To: (csant@csant.info's message of "Fri\, 18 May 2007 23\:41\:50 +0200") Original-Lines: 31 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-0.627, required 5, autolearn=disabled, ALL_TRUSTED -1.44, INFO_TLD 0.81) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: Solaris 9 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:71351 Archived-At: csant writes: > > > emacs -Q -nw > > > M-x server-start RET > > > M-x xterm-mouse-mode RET > > > > This will turn on xterm-mouse-mode for the "emacs -Q -nw" frame > > > > > emacsclient -t > > > > it won't turn it on for this one. > > Not sure that's right: It is. emacs needs to send an escape sequence to xterm so that xterm can start sending mouse tracking events. Nothing is doing it for the "emacsclient -t" frame. Please check the code. > the mouse will pass some events to the client - > they just get translated wrongly. Running M-x xterm-mouse-mode RET in > the client *disables* xterm-mouse-mode, so I'd definetly say it is > running. That's normal, you've turned it on (ie. the xterm-mouse-mode is set to t) then you previously run M-x xterm-mouse-mode RET in the "emacs -Q -nw" frame. Since you have an interest in this, do you want to take a stab at getting this working correctly for multi-tty?