all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tim X <timx@nospam.dev.null>
To: help-gnu-emacs@gnu.org
Subject: Re: Keyboard goes dead
Date: Mon, 14 Feb 2011 18:10:48 +1100	[thread overview]
Message-ID: <87wrl36qh3.fsf@rapttech.com.au> (raw)
In-Reply-To: mailman.9.1297637432.4981.help-gnu-emacs@gnu.org

Ken Goldman <kgold@watson.ibm.com> writes:

> On 02/05/2011 05:43 PM, Tim X wrote:
>> Ken Goldman<kgold@watson.ibm.com>  writes:
>>
>>> 23.1.1 on Linux x86, 64bit
>>>
>>> Has anyone seen this:
>>>
>>> About once a day, the keyboard becomes inactive within emacs.  The mouse works,
>>> and the keyboard works outside emacs.
>>>
>>> It seems to happen right after I do a grep or compile and try to do a
>>> next-error.
>>>
>>> Sometimes, I can recover by hitting return in the compile or grep window.  When
>>> I do that, the messages window appears, and anything that I typed in the other
>>> windows is processed.
>>>
>>> Other times, I have to kill emacs.
>>>
>>> Ctrl-G doesn't have any effect, nor does ESC-ESC-ESC.
>>>
>>> Any clues?  Anything to try?
>>>
>>>
>>
>> No cannot think of what it might be and I don't see this behavior.
>> However, you could try enabling "enter debugger on quit" in the options
>> menu and see if hitting C-g gies you a backtrace next time this occurs -
>> may narrow down the possible cause or give you something to work with.
>
> I did as you recommended, but it didn't help.  C-g didn't enter the debugger.
> I assume that's because emacs isn't processing the C-g or any other keyboard
> character.
>

Not really. If I had to guess, I'd be suspicious that what is really
happening is that emacs is caught up in some slow process and not
responding to keyborad input (maybe see if your load increases when this
next happens). 

The most relevant suggestion I could give is to upgrade. Emacs 23.1 is
quite old. Emacs 23.2 has been out for some time and emacs 23.3 is
scheduled to be released soon. It could well be your fighting a bug
which has already been fixed in a later version. 

I'm running emacs 24.0.50 most of the time and most of the day I'm using
it. I've not noticed this behavior (also running 64 bit). I sometimes
run emacs 23, but I use the latest dev branch (i.e. what will be 23.3). 

The only other thing which *might* provide some more details would be to
run emacs under gdb and see if you can use gdb to get more information
on what emacs is doing when it stops responding to keyboard events.
Never needed to do this myself, so cannot provide any specific details.
Might find something relevant on the emacs wiki at http://emacswiki.org

Tim


-- 
tcross (at) rapttech dot com dot au


  parent reply	other threads:[~2011-02-14  7:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.14.1296940315.12531.help-gnu-emacs@gnu.org>
2011-02-05 22:43 ` Keyboard goes dead Tim X
2011-02-13 22:50   ` Ken Goldman
     [not found]   ` <mailman.9.1297637432.4981.help-gnu-emacs@gnu.org>
2011-02-14  7:10     ` Tim X [this message]
2011-02-05 21:11 Ken Goldman
2011-02-11 16:39 ` Sivaram Neelakantan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wrl36qh3.fsf@rapttech.com.au \
    --to=timx@nospam.dev.null \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.