GNU bug report logs - #6392
24.0.50; Switching to emacs window reports "<Scroll_Lock> is undefined"

Previous Next

Package: emacs;

Reported by: Tim Van Holder <tim.vanholder <at> gmail.com>

Date: Thu, 10 Jun 2010 15:53:02 UTC

Severity: minor

Found in version 24.0.50

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 6392 in the body.
You can then email your comments to 6392 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Thu, 10 Jun 2010 15:53:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Tim Van Holder <tim.vanholder <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 10 Jun 2010 15:53:03 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Tim Van Holder <tim.vanholder <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.0.50;
	Switching to emacs window reports "<Scroll_Lock> is undefined"
Date: Thu, 10 Jun 2010 16:59:13 +0200
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''




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Mon, 14 Jun 2010 09:15:02 GMT) Full text and rfc822 format available.

Message #8 received at 6392 <at> debbugs.gnu.org (full text, mbox):

From: Tim Van Holder <tim.vanholder <at> gmail.com>
To: 6392 <at> debbugs.gnu.org
Subject: Scroll Lock state was on
Date: Mon, 14 Jun 2010 10:34:43 +0200
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Mon, 14 Jun 2010 13:32:02 GMT) Full text and rfc822 format available.

Message #11 received at 6392 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Tim Van Holder <tim.vanholder <at> gmail.com>
Cc: 6392 <at> debbugs.gnu.org
Subject: Re: bug#6392: Scroll Lock state was on
Date: Mon, 14 Jun 2010 09:31:30 -0400
> 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




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Fri, 18 Jun 2010 16:07:03 GMT) Full text and rfc822 format available.

Message #14 received at 6392 <at> debbugs.gnu.org (full text, mbox):

From: Tim Van Holder <tim.vanholder <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6392 <at> debbugs.gnu.org
Subject: Re: bug#6392: Scroll Lock state was on
Date: Fri, 18 Jun 2010 10:20:29 +0200
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.




Information forwarded to owner <at> debbugs.gnu.org, bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Fri, 18 Jun 2010 16:07:03 GMT) Full text and rfc822 format available.

Message #17 received at 6392 <at> debbugs.gnu.org (full text, mbox):

From: Tim Van Holder <tim.vanholder <at> gmail.com>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 6392 <at> debbugs.gnu.org
Subject: Re: bug#6392: Scroll Lock state was on
Date: Fri, 18 Jun 2010 17:07:53 +0200
On 18 June 2010 10:20, Tim Van Holder <tim.vanholder <at> 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.




Severity set to 'minor' from 'normal' Request was from npostavs <at> users.sourceforge.net to control <at> debbugs.gnu.org. (Fri, 24 Mar 2017 03:41:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#6392; Package emacs. (Sat, 18 Jan 2020 01:16:02 GMT) Full text and rfc822 format available.

Message #22 received at 6392 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Tim Van Holder <tim.vanholder <at> gmail.com>
Cc: 6392 <at> debbugs.gnu.org, Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#6392: Scroll Lock state was on
Date: Sat, 18 Jan 2020 02:14:55 +0100
Tim Van Holder <tim.vanholder <at> gmail.com> writes:

> On 18 June 2010 10:20, Tim Van Holder <tim.vanholder <at> 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




Reply sent to Stefan Kangas <stefan <at> marxist.se>:
You have taken responsibility. (Sat, 18 Jan 2020 16:51:02 GMT) Full text and rfc822 format available.

Notification sent to Tim Van Holder <tim.vanholder <at> gmail.com>:
bug acknowledged by developer. (Sat, 18 Jan 2020 16:51:02 GMT) Full text and rfc822 format available.

Message #27 received at 6392-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Tim Van Holder <tim.vanholder <at> gmail.com>
Cc: 6392-done <at> debbugs.gnu.org
Subject: Re: bug#6392: Scroll Lock state was on
Date: Sat, 18 Jan 2020 17:50:23 +0100
Tim Van Holder <tim.vanholder <at> 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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 16 Feb 2020 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.