* 23.0.60; Error in xterm-mouse-event
@ 2008-02-15 14:41 Leo
2008-02-17 13:23 ` Richard Stallman
2008-02-23 21:37 ` Leo
0 siblings, 2 replies; 5+ messages in thread
From: Leo @ 2008-02-15 14:41 UTC (permalink / raw)
To: emacs-pretest-bug
Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.
Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list.
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
I am getting the following error all the time. The steps to reproduce
this bug is as follows:
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("\bÆ=\v.Ç..\0\b.\0Ç.ÈÉ!Ç.Ê .@.\vA@.A@.\x1dË.\x1d95.Ì.\x1d\f\"8.Ì\f!!.\x1eÍÎÏ\v@!\".\x1fa.Ð Ñ=].Ð Ò=].Ð Ó=a.ÔÕ!.\x1fj.\vl.Ê . A@.!A@.\".\x1eÖ>.\x0e\"9.\x0e\":.Ì.\".!D. \"í.Ì. !í.\x0e.\x0e\"=¬.\x0e CÆ.×.!D.\x1d9º.ØÅ.ÙÚÛ\nT\"!.\x0e!ED.#.$Ô.Ü.#.$\".\x1d9ê.\x0e.:ê.Ì.\x1d.D\v\"í.Ì\v!.\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)
`----
If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
`bt full' and `xbacktrace'.
If you would like to further debug the crash, please read the file
/usr/share/emacs/23.0.60/etc/DEBUG for instructions.
In GNU Emacs 23.0.60.1 (i686-redhat-linux-gnu, GTK+ Version 2.12.5)
of 2008-02-11 on Fedora
configured using `configure '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--with-pop' '--with-sound' '--without-xim' '--with-dbus' '--without-toolkit-scroll-bars' '--with-x-toolkit=yes' '--enable-font-backend' '--with-libotf' '--with-m17n-flt' 'build_alias=i686-redhat-linux-gnu' 'host_alias=i686-redhat-linux-gnu' 'target_alias=i386-redhat-linux-gnu' 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Group
Minor modes in effect:
gnus-topic-mode: t
gnus-undo-mode: t
erc-spelling-mode: t
erc-page-mode: t
erc-menu-mode: t
erc-services-mode: t
erc-networks-mode: t
erc-autojoin-mode: t
erc-button-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-track-mode: t
erc-track-minor-mode: t
erc-match-mode: t
erc-fill-mode: t
erc-stamp-mode: t
erc-netsplit-mode: t
erc-smiley-mode: t
erc-readonly-mode: t
erc-scrolltobottom-mode: t
dired-omit-mode: t
recentf-mode: t
icomplete-mode: t
show-paren-mode: t
savehist-mode: t
xterm-mouse-mode: t
delete-selection-mode: t
global-auto-revert-mode: t
display-time-mode: t
minibuffer-indicate-depth-mode: t
partial-completion-mode: t
which-function-mode: t
shell-dirtrack-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-compression-mode: t
column-number-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B
ESC O B ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A
ESC O A ESC O A ESC O A ESC O A ESC O A ESC O A ESC
O A ESC O A ESC O A ESC O A ESC O A ESC O B ESC O B
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
O B ESC O B ESC O B ESC C-x C-x k RET q ESC [ M a c
E ESC [ M # c E ESC O A C-@ ESC O B ESC O B ESC O B
ESC O B ESC O B ESC O B ESC O B ESC O B ESC O B ESC
w q C-x b g r o RET n n n n n n n n n ESC x r e p o
r TAB b TAB RET
Recent messages:
Entering debugger...
Type C-x 4 C-o RET to restore the other window.
mouse-2, RET: find function's definition
uncompressing xt-mouse.el.gz...done
Note: file is write protected
xterm-mouse-event
Back to top level.
Entering debugger...
Mark set
Back to top level.
--
Leo
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 23.0.60; Error in xterm-mouse-event
2008-02-15 14:41 23.0.60; Error in xterm-mouse-event Leo
@ 2008-02-17 13:23 ` Richard Stallman
2008-02-23 21:37 ` Leo
1 sibling, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2008-02-17 13:23 UTC (permalink / raw)
To: Leo; +Cc: emacs-pretest-bug
Please remind people in a week if it is not fixed.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 23.0.60; Error in xterm-mouse-event
2008-02-15 14:41 23.0.60; Error in xterm-mouse-event Leo
2008-02-17 13:23 ` Richard Stallman
@ 2008-02-23 21:37 ` Leo
2008-02-23 21:57 ` Dan Nicolaescu
1 sibling, 1 reply; 5+ messages in thread
From: Leo @ 2008-02-23 21:37 UTC (permalink / raw)
To: emacs-pretest-bug
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("\bÆ=ƒ\v.Ç.‚.\0\bƒ.\0Ç.ÈÉ!ˆÇ.Ê ‰.@.\vA@‰.A@.\x1dË.\x1d9ƒ5.Ì.\x1d\f\"‚8.Ì\f!!.\x1eÍÎÏ\v@!\"‰.\x1f„a.Ð Ñ=ƒ].Ð Ò=ƒ].Ð Ó=„a.ÔÕ!ˆ.\x1fƒj.\v‚l.Ê ‰. A@‰.!A@.\".\x1eÖ>ƒž.\x0e\"9ƒ—.\x0e\":ƒ—.Ì.\".!D. \"‚í.Ì. !‚í.\x0e.\x0e\"=ƒ¬.\x0e C‚Æ.×.!D.\x1d9ƒº.Ø‚Å.ÙÚÛ\nT\"!.\x0e!ED.#.$ƒÔ.Ü.#.$\"ˆ.\x1d9ƒê.\x0e.:ƒê.Ì.\x1d.D\v\"‚í.Ì\v!.\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.
Bye,
--
.: Leo :. [ sdl.web AT gmail.com ] .: [ GPG Key: 9283AA3F ] :.
Use the best OS -- http://www.fedoraproject.org/
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 23.0.60; Error in xterm-mouse-event
2008-02-23 21:37 ` Leo
@ 2008-02-23 21:57 ` Dan Nicolaescu
2008-02-24 15:23 ` Richard Stallman
0 siblings, 1 reply; 5+ messages in thread
From: Dan Nicolaescu @ 2008-02-23 21:57 UTC (permalink / raw)
To: Leo; +Cc: emacs-pretest-bug
Leo <sdl.web@gmail.com> 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("\bÆ=ƒ\v.Ç.‚.\0\bƒ.\0Ç.ÈÉ!ˆÇ.Ê ‰.@.\vA@‰.A@.\x1dË.\x1d9ƒ5.Ì.\x1d\f\"‚8.Ì\f!!.\x1eÍÎÏ\v@!\"‰.\x1f„a.Ð Ñ=ƒ].Ð Ò=ƒ].Ð Ó=„a.ÔÕ!ˆ.\x1fƒj.\v‚l.Ê ‰. A@‰.!A@.\".\x1eÖ>ƒž.\x0e\"9ƒ—.\x0e\":ƒ—.Ì.\".!D. \"‚í.Ì. !‚í.\x0e.\x0e\"=ƒ¬.\x0e C‚Æ.×.!D.\x1d9ƒº.Ø‚Å.ÙÚÛ\nT\"!.\x0e!ED.#.$ƒÔ.Ü.#.$\"ˆ.\x1d9ƒê.\x0e.:ƒê.Ì.\x1d.D\v\"‚í.Ì\v!.\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).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: 23.0.60; Error in xterm-mouse-event
2008-02-23 21:57 ` Dan Nicolaescu
@ 2008-02-24 15:23 ` Richard Stallman
0 siblings, 0 replies; 5+ messages in thread
From: Richard Stallman @ 2008-02-24 15:23 UTC (permalink / raw)
To: Dan Nicolaescu; +Cc: emacs-pretest-bug
That seems to point to the fact that putty does imitate xterm well
enough (surprise, surprise, nothing really does).
That may be true, but it would still be good to make Emacs
work with putty as well as with xterm.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2008-02-24 15:23 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-15 14:41 23.0.60; Error in xterm-mouse-event Leo
2008-02-17 13:23 ` Richard Stallman
2008-02-23 21:37 ` Leo
2008-02-23 21:57 ` Dan Nicolaescu
2008-02-24 15:23 ` Richard Stallman
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.