From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.60; Error in xterm-mouse-event Date: Sat, 23 Feb 2008 13:57:49 -0800 Message-ID: <200802232157.m1NLvn7V028190@sallyv1.ics.uci.edu> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1203803948 21184 80.91.229.12 (23 Feb 2008 21:59:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Feb 2008 21:59:08 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org To: Leo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 23 22:59:33 2008 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 1JT2P5-0004sX-7C for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2008 22:59:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JT2OZ-0001xj-Ny for ged-emacs-devel@m.gmane.org; Sat, 23 Feb 2008 16:58:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JT2OC-0001lI-Rf for emacs-devel@gnu.org; Sat, 23 Feb 2008 16:58:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JT2OB-0001jh-Cg for emacs-devel@gnu.org; Sat, 23 Feb 2008 16:58:35 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JT2OB-0001ja-0D for emacs-devel@gnu.org; Sat, 23 Feb 2008 16:58:35 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JT2OA-0006A2-Mp for emacs-devel@gnu.org; Sat, 23 Feb 2008 16:58:34 -0500 Original-Received: from mail.gnu.org ([199.232.76.166] helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1JT2OA-0003GI-Bb for emacs-pretest-bug@gnu.org; Sat, 23 Feb 2008 16:58:34 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1JT2O7-000682-0e for emacs-pretest-bug@gnu.org; Sat, 23 Feb 2008 16:58:34 -0500 Original-Received: from sallyv1.ics.uci.edu ([128.195.1.109]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA1:24) (Exim 4.60) (envelope-from ) id 1JT2O6-00067K-Ib for emacs-pretest-bug@gnu.org; Sat, 23 Feb 2008 16:58:30 -0500 X-ICS-MailScanner-Watermark: 1204408670.09154@Nw1Dt3BudL07Dcb38407vA Original-Received: from mothra.ics.uci.edu (mothra.ics.uci.edu [128.195.6.93]) by sallyv1.ics.uci.edu (8.13.7+Sun/8.13.7) with ESMTP id m1NLvn7V028190; Sat, 23 Feb 2008 13:57:49 -0800 (PST) Mail-Followup-To: emacs-pretest-bug@gnu.org In-Reply-To: (Leo's message of "Sat, 23 Feb 2008 21:37:45 +0000") Original-Lines: 26 X-ICS-MailScanner: Found to be clean X-ICS-MailScanner-SpamCheck: not spam, SpamAssassin (score=-1.44, required 5, autolearn=disabled, ALL_TRUSTED -1.44) X-ICS-MailScanner-From: dann@mothra.ics.uci.edu X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:90164 gmane.emacs.pretest.bugs:21281 Archived-At: Leo writes: > On 2008-02-15 14:41 +0000, Leo wrote: > > i. using putty in WinXP to ssh to Fedora GNU/Linux > > ii. run emacs in it > > iii. enable xterm-mouse-mode and mouse-wheel-mode > > iv. use the mouse to scroll down in putty > > > > ,----[ error when scroll down ] > > | Debugger entered--Lisp error: (wrong-type-argument number-or-marker= -p nil) > > | +(1 nil) > > | (format "mouse-%d" (+ 1 xterm-mouse-last)) > > | (cond ((>=3D type 64) (format "mouse-%d" ...)) ((memq type ...) (= setq xterm-mouse-last type) (format "M-down-mouse-%d" ...)) ((=3D type 11) = (format "mouse-%d" ...)) ((=3D type 3) (format "mouse-%d" ...)) (t (setq xt= erm-mouse-last type) (format "down-mouse-%d" ...))) > > | (intern (cond (... ...) (... ... ...) (... ...) (... ...) (t ... = ...))) > > | (let* ((type ...) (x ...) (y ...) (timestamp ...) (mouse ...) (w = ...) (ltrb ...) (left ...) (top ...)) (set-terminal-parameter nil (quote xt= erm-mouse-x) x) (set-terminal-parameter nil (quote xterm-mouse-y) y) (setq = last-input-event (list mouse ...))) > > | xterm-mouse-event() > > | byte-code("=C3=86=3D=C6=92=0B.=C3=87.=E2=80=9A.=00=C6=92.=00=C3= =87.=C3=88=C3=89!=CB=86=C3=87.=C3=8A =E2=80=B0.@.=0BA@=E2=80=B0.A@.=1D=C3= =8B.=1D9=C6=925.=C3=8C.=1D\f\"=E2=80=9A8.=C3=8C\f!!.=1E=C3=8D=C3=8E=C3=8F= =0B@!\"=E2=80=B0.=1F=E2=80=9Ea.=C3=90 =C3=91=3D=C6=92].=C3=90 =C3=92=3D=C6= =92].=C3=90 =C3=93=3D=E2=80=9Ea.=C3=94=C3=95!=CB=86.=1F=C6=92j.=0B=E2=80=9A= l.=C3=8A =E2=80=B0. A@=E2=80=B0.!A@.\".=1E=C3=96>=C6=92=C5=BE.=0E\"9=C6=92= =E2=80=94.=0E\":=C6=92=E2=80=94.=C3=8C.\".!D. \"=E2=80=9A=C3=AD.=C3=8C. != =E2=80=9A=C3=AD.=0E.=0E\"=3D=C6=92=C2=AC.=0E C=E2=80=9A=C3=86.=C3=97.!D.=1D= 9=C6=92=C2=BA.=C3=98=E2=80=9A=C3=85.=C3=99=C3=9A=C3=9B\nT\"!.=0E!ED.#.$=C6= =92=C3=94.=C3=9C.#.$\"=CB=86.=1D9=C6=92=C3=AA.=0E.:=C6=92=C3=AA.=C3=8C.=1D.= D=0B\"=E2=80=9A=C3=AD.=C3=8C=0B!.\n=E2=80=A1" [transient-mark-mode mark-act= ive xterm-mouse-last down down-command down-data lambda nil run-hooks deact= ivate-mark-hook xterm-mouse-event key-binding vector string-match "^mouse" = symbol-name read-char 27 91 77 error "Unexpected escape sequence from XTerm= " (nil ignore) mouse-movement 0 intern format "drag-mouse-%d" print down-wh= ere down-binding is-click click click-data click-where unread-command-event= s xterm-mouse-debug-buffer] 6) > > | xterm-mouse-translate(nil) > > `---- >=20 > As requested by RMS, I am sending a reminder about this bug. It works fine for me in an xterm. That seems to point to the fact that putty does imitate xterm well enough (surprise, surprise, nothing really does).