unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#6392: 24.0.50; Switching to emacs window reports "<Scroll_Lock> is undefined"
@ 2010-06-10 14:59 Tim Van Holder
  2010-06-14  8:34 ` bug#6392: Scroll Lock state was on Tim Van Holder
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Van Holder @ 2010-06-10 14:59 UTC (permalink / raw)
  To: 6392

I'm running emacs on an (old) debian box from an ssh session, with X
forwarding set up to Cygwin's X windows.

Since updating to this morning's bzr trunk (but still the case after a
bzr update 15 minutes ago), starting up emacs gives an error
"<Scroll_Lock> is undefined". This error is repeated when the emacs
window receives the focus (after Alt-TAB). It is quite annoying since I
tend to go back and forth between windows a lot.

Happens with emacs -Q too, so does not seem to be a customization issue.

I tried
  (global-set-key [Scroll_Lock] nil)
and
  (global-set-key [Scroll_Lock] 'do-nothing)
but neither had any effect whatsoever.


As an aside, I see that [C-q TAB] inserts a NUL character before the
TAB. It does not happen for all characters; others that seem to get a
NUL are [return], [ESC] (which inserts the NUL but then treats the ESC
as a keypress rather than inserting an escape character).


In GNU Emacs 24.0.50.10 (i686-pc-linux-gnu, GTK+ Version 2.8.20)
 of 2010-06-10 on leeloo
Windowing system distributor `The Cygwin/X Project', version 11.0.10503000
configured using `configure  '--with-x''





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

* bug#6392: Scroll Lock state was on
  2010-06-10 14:59 bug#6392: 24.0.50; Switching to emacs window reports "<Scroll_Lock> is undefined" Tim Van Holder
@ 2010-06-14  8:34 ` Tim Van Holder
  2010-06-14 13:31   ` Stefan Monnier
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Van Holder @ 2010-06-14  8:34 UTC (permalink / raw)
  To: 6392

Hmm. Looks like my keyboard's Scroll Lock state was enabled at the time.
Still a bit annoying that emacs complained about this every single
time it received the focus though (no other apps do).
If this is intentional and/or necessary behaviour, then I guess this
bug can be closed.





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

* bug#6392: Scroll Lock state was on
  2010-06-14  8:34 ` bug#6392: Scroll Lock state was on Tim Van Holder
@ 2010-06-14 13:31   ` Stefan Monnier
  2010-06-18  8:20     ` Tim Van Holder
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2010-06-14 13:31 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 6392

> Hmm. Looks like my keyboard's Scroll Lock state was enabled at the time.

Good to know, thanks.

> Still a bit annoying that emacs complained about this every single
> time it received the focus though (no other apps do).

Obviously.

> If this is intentional and/or necessary behaviour, then I guess this
> bug can be closed.

No, it's not intentional and I don't think it's necessary either.


        Stefan





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

* bug#6392: Scroll Lock state was on
  2010-06-14 13:31   ` Stefan Monnier
@ 2010-06-18  8:20     ` Tim Van Holder
  2010-06-18 15:07       ` Tim Van Holder
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Van Holder @ 2010-06-18  8:20 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 6392

With this morning's bzr trunk this seems to have gone away; pressing
the key with Emacs still has the message, but that's perfectly normal.
The message is no longer issued when switching to/from Emacs, nor when
starting Emacs with scroll lock enabled.





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

* bug#6392: Scroll Lock state was on
  2010-06-18  8:20     ` Tim Van Holder
@ 2010-06-18 15:07       ` Tim Van Holder
  2020-01-18  1:14         ` Stefan Kangas
  0 siblings, 1 reply; 7+ messages in thread
From: Tim Van Holder @ 2010-06-18 15:07 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 6392

On 18 June 2010 10:20, Tim Van Holder <tim.vanholder@gmail.com> wrote:
> With this morning's bzr trunk this seems to have gone away; pressing
> the key with Emacs still has the message, but that's perfectly normal.
> The message is no longer issued when switching to/from Emacs, nor when
> starting Emacs with scroll lock enabled.

Looks like I was premature. I just switched to emacs from Vista (a
3270 terminal emulator; probably the reason Scroll Lock is on to begin
with) and it hit the error again.
Given that when I tested it this morning (explicitly
enabling/disabling Scroll Lock via the keyboard) things were working,
it may be specifically related to Scroll Lock being enabled
programmatically. It may also be specific to my use case (i.e. using
Cygwin's X server via SSH tunnelling).
I'll try to do some tests next Monday.





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

* bug#6392: Scroll Lock state was on
  2010-06-18 15:07       ` Tim Van Holder
@ 2020-01-18  1:14         ` Stefan Kangas
       [not found]           ` <CAKMi--AYZL7zt6HR3tz=E3ifrtnh_afrFD0k2O80entCnO5V4w@mail.gmail.com>
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Kangas @ 2020-01-18  1:14 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 6392, Stefan Monnier

Tim Van Holder <tim.vanholder@gmail.com> writes:

> On 18 June 2010 10:20, Tim Van Holder <tim.vanholder@gmail.com> wrote:
>> With this morning's bzr trunk this seems to have gone away; pressing
>> the key with Emacs still has the message, but that's perfectly normal.
>> The message is no longer issued when switching to/from Emacs, nor when
>> starting Emacs with scroll lock enabled.
>
> Looks like I was premature. I just switched to emacs from Vista (a
> 3270 terminal emulator; probably the reason Scroll Lock is on to begin
> with) and it hit the error again.
> Given that when I tested it this morning (explicitly
> enabling/disabling Scroll Lock via the keyboard) things were working,
> it may be specifically related to Scroll Lock being enabled
> programmatically. It may also be specific to my use case (i.e. using
> Cygwin's X server via SSH tunnelling).
> I'll try to do some tests next Monday.

That was 10 years ago.  Are you still seeing this on a modern version
of Emacs?

Best regards,
Stefan Kangas





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

* bug#6392: Scroll Lock state was on
       [not found]           ` <CAKMi--AYZL7zt6HR3tz=E3ifrtnh_afrFD0k2O80entCnO5V4w@mail.gmail.com>
@ 2020-01-18 16:50             ` Stefan Kangas
  0 siblings, 0 replies; 7+ messages in thread
From: Stefan Kangas @ 2020-01-18 16:50 UTC (permalink / raw)
  To: Tim Van Holder; +Cc: 6392-done

Tim Van Holder <tim.vanholder@gmail.com> writes:

> I’m out of the country and won’t be able to test quickly. Given the ticket’s age, assume the problem has gone away; I can always refile if I should run into it again.

Thanks, closing the bug with this message.

Best regards,
Stefan Kangas





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

end of thread, other threads:[~2020-01-18 16:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-06-10 14:59 bug#6392: 24.0.50; Switching to emacs window reports "<Scroll_Lock> is undefined" Tim Van Holder
2010-06-14  8:34 ` bug#6392: Scroll Lock state was on Tim Van Holder
2010-06-14 13:31   ` Stefan Monnier
2010-06-18  8:20     ` Tim Van Holder
2010-06-18 15:07       ` Tim Van Holder
2020-01-18  1:14         ` Stefan Kangas
     [not found]           ` <CAKMi--AYZL7zt6HR3tz=E3ifrtnh_afrFD0k2O80entCnO5V4w@mail.gmail.com>
2020-01-18 16:50             ` Stefan Kangas

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).