[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 23.0.60; Error in xterm-mouse-event
From: |
Dan Nicolaescu |
Subject: |
Re: 23.0.60; Error in xterm-mouse-event |
Date: |
Sat, 23 Feb 2008 13:57:49 -0800 |
Leo <address@hidden> 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 ((>= type 64) (format "mouse-%d" ...)) ((memq type ...) (setq
xterm-mouse-last type) (format "M-down-mouse-%d" ...)) ((= type 11) (format
"mouse-%d" ...)) ((= type 3) (format "mouse-%d" ...)) (t (setq xterm-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
xterm-mouse-x) x) (set-terminal-parameter nil (quote xterm-mouse-y) y) (setq
last-input-event (list mouse ...)))
> > | xterm-mouse-event()
> > | byte-code("Æ=ƒ.Ç.‚. ƒ. Ç.ÈÉ!ˆÇ.Ê
address@hidden@address@hidden"address@hidden"‰.„a.Ð Ñ=ƒ].Ð Ò=ƒ].Ð
Ó=„a.ÔÕ!ˆ.ƒj.‚l.Ê ‰. address@hidden@.\".Ö>ƒž.\"9ƒ—.\":ƒ—.Ì.\".!D. \"‚í.Ì.
!‚í..\"=ƒ¬.
C‚Æ.×.!D.9ƒº.Ø‚Å.ÙÚÛ\nT\"!.!ED.#.$ƒÔ.Ü.#.$\"ˆ.9ƒê..:ƒê.Ì..D\"‚í.Ì!.\n‡"
[transient-mark-mode mark-active xterm-mouse-last down down-command down-data
lambda nil run-hooks deactivate-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-where down-binding is-click click click-data
click-where unread-command-events xterm-mouse-debug-buffer] 6)
> > | xterm-mouse-translate(nil)
> > `----
>
> 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).