* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
@ 2019-12-30 1:20 Samuel Wales
2019-12-30 15:45 ` Eli Zaretskii
0 siblings, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2019-12-30 1:20 UTC (permalink / raw)
To: 38802
To: bug-gnu-emacs@gnu.org
Subject: 24.5; emacs unusable in minibuffer, unpredictably, with "k is
undefined" for every key
--text follows this line--
I have long had a bug where everything I type says "k is undefined",
where k stands for any key including ESC and C-g. this occurs
randomly.
It is impossible to get out of this mode, unless you can figure out
some SIGUSR1 voodoo. Except once, I think type-break activating got
me out of the mode. And once I got
out by just coming back to it after a half hour or something.
I suspect maybe type-break also causes the bug, if certain conditions
obtain. I am not sure. But it is the only timer-based thing I can
think of.
I believe it occurs when I am in the minibuffer. Perhaps only at a
password prompt.
I don't know if this bug report is useful.
Thanks.
In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.22.11)
of 2017-09-12 on hullmann, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11902000
System Description: Debian GNU/Linux 9.11 (stretch)
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2019-12-30 1:20 bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key Samuel Wales
@ 2019-12-30 15:45 ` Eli Zaretskii
2019-12-31 22:39 ` Samuel Wales
2020-01-01 0:31 ` Michael Heerdegen
0 siblings, 2 replies; 18+ messages in thread
From: Eli Zaretskii @ 2019-12-30 15:45 UTC (permalink / raw)
To: Samuel Wales; +Cc: 38802
> From: Samuel Wales <samologist@gmail.com>
> Date: Sun, 29 Dec 2019 18:20:15 -0700
>
> I have long had a bug where everything I type says "k is undefined",
> where k stands for any key including ESC and C-g. this occurs
> randomly.
>
> It is impossible to get out of this mode, unless you can figure out
> some SIGUSR1 voodoo. Except once, I think type-break activating got
> me out of the mode. And once I got
> out by just coming back to it after a half hour or something.
Can you show a screenshot of how your Emacs session looks when this
happens?
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2019-12-30 15:45 ` Eli Zaretskii
@ 2019-12-31 22:39 ` Samuel Wales
2020-01-01 3:32 ` Eli Zaretskii
2020-01-01 0:31 ` Michael Heerdegen
1 sibling, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2019-12-31 22:39 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: 38802
On 12/30/19, Eli Zaretskii <eliz@gnu.org> wrote:
> Can you show a screenshot of how your Emacs session looks when this
> happens?
it is quite infrequent. basically, last time, the screen showed the
buffer, password prompt in minibuffer, and then whenever you type any
key, it says that key is undefined.
--
The Kafka Pandemic
What is misopathy?
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
The disease DOES progress. MANY people have died from it. And ANYBODY
can get it at any time.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2019-12-31 22:39 ` Samuel Wales
@ 2020-01-01 3:32 ` Eli Zaretskii
0 siblings, 0 replies; 18+ messages in thread
From: Eli Zaretskii @ 2020-01-01 3:32 UTC (permalink / raw)
To: Samuel Wales; +Cc: 38802
> From: Samuel Wales <samologist@gmail.com>
> Date: Tue, 31 Dec 2019 15:39:36 -0700
> Cc: 38802@debbugs.gnu.org
>
> On 12/30/19, Eli Zaretskii <eliz@gnu.org> wrote:
> > Can you show a screenshot of how your Emacs session looks when this
> > happens?
>
> it is quite infrequent. basically, last time, the screen showed the
> buffer, password prompt in minibuffer, and then whenever you type any
> key, it says that key is undefined.
Please post a screenshot next time it happens.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2019-12-30 15:45 ` Eli Zaretskii
2019-12-31 22:39 ` Samuel Wales
@ 2020-01-01 0:31 ` Michael Heerdegen
2020-01-01 3:33 ` Eli Zaretskii
1 sibling, 1 reply; 18+ messages in thread
From: Michael Heerdegen @ 2020-01-01 0:31 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Samuel Wales, 38802
Eli Zaretskii <eliz@gnu.org> writes:
> Can you show a screenshot of how your Emacs session looks when this
> happens?
Dunno if it's related, but I sometimes saw something similar when I had
been kicked out of an y-or-n-p prompt somehow, AFAIR. But I'm currently
not able to provoke something like this.
Michael.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 0:31 ` Michael Heerdegen
@ 2020-01-01 3:33 ` Eli Zaretskii
2020-01-01 3:38 ` Michael Heerdegen
0 siblings, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2020-01-01 3:33 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: samologist, 38802
> From: Michael Heerdegen <michael_heerdegen@web.de>
> Cc: Samuel Wales <samologist@gmail.com>, 38802@debbugs.gnu.org
> Date: Wed, 01 Jan 2020 01:31:01 +0100
>
> Eli Zaretskii <eliz@gnu.org> writes:
>
> > Can you show a screenshot of how your Emacs session looks when this
> > happens?
>
> Dunno if it's related, but I sometimes saw something similar when I had
> been kicked out of an y-or-n-p prompt somehow, AFAIR. But I'm currently
> not able to provoke something like this.
You are saying that sometimes y-or-n-p doesn't react to C-g?
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 3:33 ` Eli Zaretskii
@ 2020-01-01 3:38 ` Michael Heerdegen
2020-01-01 5:29 ` Samuel Wales
0 siblings, 1 reply; 18+ messages in thread
From: Michael Heerdegen @ 2020-01-01 3:38 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: samologist, 38802
Eli Zaretskii <eliz@gnu.org> writes:
> You are saying that sometimes y-or-n-p doesn't react to C-g?
No, when that happens, the y-or-n-p prompt is gone. Everything looks
like normal top level, but all keys are "undefined" (maybe all except
"y" and "n"?).
I can't be more specific, haven't seen the problem for a long time now.
AFAIR that happened when I somehow stepped out of the prompt, e.g. by
forcing Emacs into debugger, or using Edebug. I don't recall exactly,
and maybe it is unrelated, but there are similarities to what the OP
described. Too bad I currently can't reproduce the issue I mean. I
think the OP can be of more help.
Michael.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 3:38 ` Michael Heerdegen
@ 2020-01-01 5:29 ` Samuel Wales
2020-01-01 5:39 ` Samuel Wales
0 siblings, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2020-01-01 5:29 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 38802
i'd be delighted to be of more help. however, besides posting a
screenshot next time it occurs [which is infrequent enough that it
could be /quite/ a long time], what would you suggest i do to be of
more help?
i have no idea why you said that. i thought it could be useful to
somebody to post the bug report, in case it jogs somebody's memory of
code interaction, although there wasn't much to it. i don't want to
regret doing so.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 5:29 ` Samuel Wales
@ 2020-01-01 5:39 ` Samuel Wales
2020-01-01 5:43 ` Samuel Wales
2020-01-01 15:38 ` Eli Zaretskii
0 siblings, 2 replies; 18+ messages in thread
From: Samuel Wales @ 2020-01-01 5:39 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 38802
i will try to post a screenshot next time. it could be quite a long time.
i think i forgot to mention that the password prompt, in the most
recent instance, was triggered by shell mode.
any suggestions of what to put in for a sigusr1 or sigusr2 would be
interesting. i could put debug there maybe. or find out what modes
are active, or the values of hooks.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 5:39 ` Samuel Wales
@ 2020-01-01 5:43 ` Samuel Wales
2020-01-01 5:56 ` Michael Heerdegen
2020-01-01 15:38 ` Eli Zaretskii
1 sibling, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2020-01-01 5:43 UTC (permalink / raw)
To: Michael Heerdegen; +Cc: 38802
i think i misunderstood "can be of more help" to mean "is not helping"
instead of "can be of more help than me". i get it now :).
although there are few things i can do. :)
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 5:43 ` Samuel Wales
@ 2020-01-01 5:56 ` Michael Heerdegen
2020-01-05 22:32 ` Samuel Wales
0 siblings, 1 reply; 18+ messages in thread
From: Michael Heerdegen @ 2020-01-01 5:56 UTC (permalink / raw)
To: Samuel Wales; +Cc: 38802
Samuel Wales <samologist@gmail.com> writes:
> i think i misunderstood "can be of more help" to mean "is not helping"
> instead of "can be of more help than me". i get it now :).
Indeed - and I'm very sorry for the unintentional insult :-( I guess I
really have to improve my English until something really bad happens one
day...
Michael.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 5:39 ` Samuel Wales
2020-01-01 5:43 ` Samuel Wales
@ 2020-01-01 15:38 ` Eli Zaretskii
2020-01-05 22:33 ` Samuel Wales
1 sibling, 1 reply; 18+ messages in thread
From: Eli Zaretskii @ 2020-01-01 15:38 UTC (permalink / raw)
To: Samuel Wales; +Cc: michael_heerdegen, 38802
> From: Samuel Wales <samologist@gmail.com>
> Date: Tue, 31 Dec 2019 22:39:37 -0700
> Cc: Eli Zaretskii <eliz@gnu.org>, 38802@debbugs.gnu.org
>
> i will try to post a screenshot next time. it could be quite a long time.
That's OK. If this problem happens to others, they might come up with
data sooner; if not, it means the problem is rare enough for it not to
be urgent.
Btw, if you can afford that, I'd suggest to upgrade to a newer version
of Emacs, because perhaps this problem was already solved. The
current version is 26.3, and 27.1 will start its pretest soon.
> any suggestions of what to put in for a sigusr1 or sigusr2 would be
> interesting.
I'd suggest to use debug-on-event. You can read about it in the ELisp
manual, node "Error Debugging".
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-01 15:38 ` Eli Zaretskii
@ 2020-01-05 22:33 ` Samuel Wales
2020-09-22 15:19 ` Lars Ingebrigtsen
0 siblings, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2020-01-05 22:33 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: michael_heerdegen, 38802
it is quite rare, but has been around for many emacs versions.
i could test my intuition that it might be related to type-break by
setting type-break to trigger frequently, then running passwd in the
shell, but i don't have it in me atm.
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-01-05 22:33 ` Samuel Wales
@ 2020-09-22 15:19 ` Lars Ingebrigtsen
2020-10-26 15:51 ` Lars Ingebrigtsen
2020-10-26 22:39 ` Samuel Wales
0 siblings, 2 replies; 18+ messages in thread
From: Lars Ingebrigtsen @ 2020-09-22 15:19 UTC (permalink / raw)
To: Samuel Wales; +Cc: michael_heerdegen, 38802
Samuel Wales <samologist@gmail.com> writes:
> it is quite rare, but has been around for many emacs versions.
>
> i could test my intuition that it might be related to type-break by
> setting type-break to trigger frequently, then running passwd in the
> shell, but i don't have it in me atm.
This was some months ago. Have you seen this problem again?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-09-22 15:19 ` Lars Ingebrigtsen
@ 2020-10-26 15:51 ` Lars Ingebrigtsen
2020-10-26 22:39 ` Samuel Wales
1 sibling, 0 replies; 18+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-26 15:51 UTC (permalink / raw)
To: Samuel Wales; +Cc: michael_heerdegen, 38802
Lars Ingebrigtsen <larsi@gnus.org> writes:
> Samuel Wales <samologist@gmail.com> writes:
>
>> it is quite rare, but has been around for many emacs versions.
>>
>> i could test my intuition that it might be related to type-break by
>> setting type-break to trigger frequently, then running passwd in the
>> shell, but i don't have it in me atm.
>
> This was some months ago. Have you seen this problem again?
More information was requested one month ago, but was not given, so
I'm closing this bug report. If further progress can be made here,
please respond to the debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-09-22 15:19 ` Lars Ingebrigtsen
2020-10-26 15:51 ` Lars Ingebrigtsen
@ 2020-10-26 22:39 ` Samuel Wales
2020-10-27 7:49 ` Lars Ingebrigtsen
1 sibling, 1 reply; 18+ messages in thread
From: Samuel Wales @ 2020-10-26 22:39 UTC (permalink / raw)
To: Lars Ingebrigtsen; +Cc: michael_heerdegen, 38802
have not seen it since last time. it is pretty rare.
if you are in the middle of some critical irc conversation, have a lot
of unsaved buffers, etc. it can feel like you've been denied the
source and life of all computing -- emacs.
if it needs closing, then whatever is appropriate.
for health reason i am limited in computer use.
On 9/22/20, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> Samuel Wales <samologist@gmail.com> writes:
>
>> it is quite rare, but has been around for many emacs versions.
>>
>> i could test my intuition that it might be related to type-break by
>> setting type-break to trigger frequently, then running passwd in the
>> shell, but i don't have it in me atm.
>
> This was some months ago. Have you seen this problem again?
>
> --
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no
>
--
The Kafka Pandemic
Please learn what misopathy is.
https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html
^ permalink raw reply [flat|nested] 18+ messages in thread
* bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key
2020-10-26 22:39 ` Samuel Wales
@ 2020-10-27 7:49 ` Lars Ingebrigtsen
0 siblings, 0 replies; 18+ messages in thread
From: Lars Ingebrigtsen @ 2020-10-27 7:49 UTC (permalink / raw)
To: Samuel Wales; +Cc: michael_heerdegen, 38802
Samuel Wales <samologist@gmail.com> writes:
> have not seen it since last time. it is pretty rare.
>
> if you are in the middle of some critical irc conversation, have a lot
> of unsaved buffers, etc. it can feel like you've been denied the
> source and life of all computing -- emacs.
>
> if it needs closing, then whatever is appropriate.
OK, it doesn't sound likely that we'll make further progress in this bug
report, so I'm closing it. If you come up with a recipe for reproducing
the bug, please respond to the debbugs address and we'll reopen.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 18+ messages in thread
end of thread, other threads:[~2020-10-27 7:49 UTC | newest]
Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-12-30 1:20 bug#38802: 24.5; emacs unusable, unpredictably, with "k is undefined" for every key Samuel Wales
2019-12-30 15:45 ` Eli Zaretskii
2019-12-31 22:39 ` Samuel Wales
2020-01-01 3:32 ` Eli Zaretskii
2020-01-01 0:31 ` Michael Heerdegen
2020-01-01 3:33 ` Eli Zaretskii
2020-01-01 3:38 ` Michael Heerdegen
2020-01-01 5:29 ` Samuel Wales
2020-01-01 5:39 ` Samuel Wales
2020-01-01 5:43 ` Samuel Wales
2020-01-01 5:56 ` Michael Heerdegen
2020-01-05 22:32 ` Samuel Wales
2020-01-01 15:38 ` Eli Zaretskii
2020-01-05 22:33 ` Samuel Wales
2020-09-22 15:19 ` Lars Ingebrigtsen
2020-10-26 15:51 ` Lars Ingebrigtsen
2020-10-26 22:39 ` Samuel Wales
2020-10-27 7:49 ` Lars Ingebrigtsen
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.