unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Need help. Scroll_Lock is undefined
@ 2006-12-19 16:07 Louise Hoffman
  2006-12-19 18:14 ` Robert Thorpe
  0 siblings, 1 reply; 9+ messages in thread
From: Louise Hoffman @ 2006-12-19 16:07 UTC (permalink / raw)


Dear readers,

I use Linux and I keep getting beeps from emacs that
<Scroll_Lock> is undefined

Does anyone know if this warning/check can be disabled in emacs?

Lots of love,
Louise

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-19 16:07 Need help. Scroll_Lock is undefined Louise Hoffman
@ 2006-12-19 18:14 ` Robert Thorpe
  2006-12-19 19:43   ` Louise Hoffman
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Thorpe @ 2006-12-19 18:14 UTC (permalink / raw)


Louise Hoffman wrote:
> Dear readers,
>
> I use Linux and I keep getting beeps from emacs that
> <Scroll_Lock> is undefined

That's odd.  What is your setup?

> Does anyone know if this warning/check can be disabled in emacs?

In Emacs it could be done by (global-set-key [scroll-lock] '(quote
nil)) but I expect that the problem is elsewhere in some other bit of
software.

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-19 18:14 ` Robert Thorpe
@ 2006-12-19 19:43   ` Louise Hoffman
  2006-12-19 19:56     ` Robert Thorpe
  0 siblings, 1 reply; 9+ messages in thread
From: Louise Hoffman @ 2006-12-19 19:43 UTC (permalink / raw)


> That's odd.  What is your setup?

emacs version 22.0.50.1 if that's what you mean?

> In Emacs it could be done by (global-set-key [scroll-lock] '(quote
> nil)) but I expect that the problem is elsewhere in some other bit of
> software.

That didn't work.

I have also tried
(global-set-key [scroll-lock] 'noop)

from this link
http://www.shallowsky.com/dotfiles/.emacs

but without luck...

With love,
Louise

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-19 19:43   ` Louise Hoffman
@ 2006-12-19 19:56     ` Robert Thorpe
  2006-12-20  7:07       ` Louise Hoffman
  0 siblings, 1 reply; 9+ messages in thread
From: Robert Thorpe @ 2006-12-19 19:56 UTC (permalink / raw)


Louise Hoffman wrote:
> > That's odd.  What is your setup?
>
> emacs version 22.0.50.1

That isn't a released version of Emacs, so it may not work as well as
the released versions.
That said it should be OK.

> if that's what you mean?

What OS are you using?
Are you using graphical Emacs, or are you using it through a terminal
emulator?

Sorry I can't be of more help.

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-19 19:56     ` Robert Thorpe
@ 2006-12-20  7:07       ` Louise Hoffman
  2006-12-20 13:34         ` Louise Hoffman
  0 siblings, 1 reply; 9+ messages in thread
From: Louise Hoffman @ 2006-12-20  7:07 UTC (permalink / raw)


I think the problem is solved with this line
(global-set-key [scroll-lock] nil)

It is the one you wrote without the '

Love,
Louise =)

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-20  7:07       ` Louise Hoffman
@ 2006-12-20 13:34         ` Louise Hoffman
  2006-12-20 14:23           ` Enno Schwass
  2006-12-20 20:01           ` Robert Thorpe
  0 siblings, 2 replies; 9+ messages in thread
From: Louise Hoffman @ 2006-12-20 13:34 UTC (permalink / raw)


Well, I thought it solved the problem, but now it is back...

It is on Linux and emacs is running in graphical mode.

It is something that have come out of nowhere. It haven't done it
before, and I haven't changed anything in emacs...

Hugs,
Louise

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-20 13:34         ` Louise Hoffman
@ 2006-12-20 14:23           ` Enno Schwass
  2006-12-20 20:01           ` Robert Thorpe
  1 sibling, 0 replies; 9+ messages in thread
From: Enno Schwass @ 2006-12-20 14:23 UTC (permalink / raw)
  Cc: help-gnu-emacs

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi

> Well, I thought it solved the problem, but now it is back...
>
> It is on Linux and emacs is running in graphical mode.
>
> It is something that have come out of nowhere. It haven't done it
> before, and I haven't changed anything in emacs...

Is scroll-lock defined in your xinit?

Open a terminal and run

xev

press the key to see if X-Windows knows the symbol of the scroll lock  
key.
Maybe its undefined there?

Just an idea

bye
Enno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (Darwin)

iD8DBQFFiUdqRar8+mLBvIcRAuolAKCYd6u9wgB7NVcydMAq8+JzNrW0aACcC7YD
PKrP8mAlvJnyAlVimcn35RA=
=x+QE
-----END PGP SIGNATURE-----

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-20 13:34         ` Louise Hoffman
  2006-12-20 14:23           ` Enno Schwass
@ 2006-12-20 20:01           ` Robert Thorpe
  2007-02-01  8:39             ` Louise Hoffman
  1 sibling, 1 reply; 9+ messages in thread
From: Robert Thorpe @ 2006-12-20 20:01 UTC (permalink / raw)


Louise Hoffman wrote:
> Well, I thought it solved the problem, but now it is back...
>
> It is on Linux and emacs is running in graphical mode.
>
> It is something that have come out of nowhere. It haven't done it
> before, and I haven't changed anything in emacs...

It sounds like a bug somewhere outside of Emacs, for example in the X
setup or a keyboard driver.  I say this because it doesn't happen to
me, and it doesn't seem like it happens to others. It would be very
noticable if it did, lots of people would complain.

If you like, try the following:-
* Check you haven't used the function enable-flow-control in your
configuration
* Try running Emacs without any configuration at all, with "emacs -q
--no-site-file". If it doesn't happen in that Emacs then it's an issue
with your configuration, and probably Emacs too.
* Open Emacs in a terminal by using "emacs -nw" and see if it happens
there.  If not it's likely a bug in X or in the configuration of X.

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

* Re: Need help. Scroll_Lock is undefined
  2006-12-20 20:01           ` Robert Thorpe
@ 2007-02-01  8:39             ` Louise Hoffman
  0 siblings, 0 replies; 9+ messages in thread
From: Louise Hoffman @ 2007-02-01  8:39 UTC (permalink / raw)
  To: help-gnu-emacs

Just for the sake of consistancy and to help others, here is what
solved the problem for me.

;; Disable Scoll Lock warnings
;;(global-set-key [scroll-lock] 'noop)
;;(global-set-key [scroll-lock] nil)
;;(global-set-key [scroll-lock] '(quote nil))
(global-set-key (kbd "<Scroll_Lock>") '(lambda () (interactive) nil))

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

end of thread, other threads:[~2007-02-01  8:39 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-19 16:07 Need help. Scroll_Lock is undefined Louise Hoffman
2006-12-19 18:14 ` Robert Thorpe
2006-12-19 19:43   ` Louise Hoffman
2006-12-19 19:56     ` Robert Thorpe
2006-12-20  7:07       ` Louise Hoffman
2006-12-20 13:34         ` Louise Hoffman
2006-12-20 14:23           ` Enno Schwass
2006-12-20 20:01           ` Robert Thorpe
2007-02-01  8:39             ` Louise Hoffman

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