unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Possible mouse wheel regression in -nw mode with PuTTY
@ 2015-07-31 20:37 Neil Baylis
  2015-08-06 22:53 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Neil Baylis @ 2015-07-31 20:37 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1297 bytes --]

I think I'm seeing a slight regression in the behavior of the mouse wheel.
This is with -nw mode, using Windows PuTTY as a client, with ssh into a
linux box where the emacs runs. I've verified that it's nothing in my
init.el. I've verified that the bad behavior described below does not
happen when running on the same host with a real xterm.

The problem seems to have begun with emacs 24.4. I verified with fresh
builds from source that it works with 24.3, but not with 24.4

The problem:

 When I scroll using the mouse wheel, the buffer scrolls as before, but
there's also a screen flash, and a complaint in the mini buffer: "M-[ m" is
undefined". It seems that emacs is seeing this escape sequence after each
movement of the mouse wheel. I have PuTTY set to report xterm mouse events,
and I have xterm-mouse-mode turned on in emacs. I also executed some of the
new terminal mode menu features, and saw the problem there as well, so I'm
guessing that this new facility introduced the problem. Ordinary mouse
clicks do the right thing.

I can work around this by adding a global-set-key to recognize the escape
sequence and ignore it. As yet, I don't know if my workaround breaks
anything else. The escape sequence means "Turn off all special character
attributes, e.g., blinking, bold, etc.".

[-- Attachment #2: Type: text/html, Size: 1501 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Possible mouse wheel regression in -nw mode with PuTTY
  2015-07-31 20:37 Possible mouse wheel regression in -nw mode with PuTTY Neil Baylis
@ 2015-08-06 22:53 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2015-08-06 22:53 UTC (permalink / raw)
  To: Neil Baylis; +Cc: emacs-devel

>  When I scroll using the mouse wheel, the buffer scrolls as before, but
> there's also a screen flash, and a complaint in the mini buffer: "M-[ m" is
> undefined". It seems that emacs is seeing this escape sequence after each

Please report this as a bug (e.g. M-x report-emacs-bug) and include the
C-h l output right after a few problematic mouse-wheel scrolls.

Extra points if you include the same C-h l output after the same
mouse-wheel scrolls in 24.3 where the problem doesn't show up.


        Stefan



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-06 22:53 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-31 20:37 Possible mouse wheel regression in -nw mode with PuTTY Neil Baylis
2015-08-06 22:53 ` Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).