From: Richard Stallman <rms@gnu.org>
Cc: multi-tty@lists.fnord.hu, emacs-devel@gnu.org
Subject: Re: Emacs routinely gets stuck in single_kboard mode
Date: Sun, 13 Jun 2004 17:49:20 -0400 [thread overview]
Message-ID: <E1BZcqu-0008R0-JK@fencepost.gnu.org> (raw)
In-Reply-To: <lorentey.g.e.devel.8765a3x13i.elte@eris.elte.hu>
A possible third bug (and a definite inconvenience) is that entering a
recursive edit (M-x recursive-edit) or a debug session like above sets
single_kboard. Pressing C-g unfreezes the other keyboards without
exiting the recursion, with no apparent bad side effects. The bug is
either that the displays are frozen unnecessarily, or that C-g should
not break out of single_kboard in this case.
A recursive edit or debug session must set single_kboard,
because the environment of the recursive edit or debug session
would otherwise be imposed on all the other terminals.
This is part of the reason why we discourage use of recursive edit.
It cannot be avoided unless we implement multi-threading in Emacs.
Does this fix that bug?
*** keyboard.c 11 Jun 2004 21:54:28 -0400 1.778
--- keyboard.c 13 Jun 2004 16:19:43 -0400
***************
*** 1158,1164 ****
Vinhibit_quit = Qnil;
#ifdef MULTI_KBOARD
! any_kboard_state ();
#endif
return make_number (0);
--- 1158,1165 ----
Vinhibit_quit = Qnil;
#ifdef MULTI_KBOARD
! if (command_loop_level == 0 && minibuf_level == 0)
! any_kboard_state ();
#endif
return make_number (0);
next prev parent reply other threads:[~2004-06-13 21:49 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-07 7:45 Emacs routinely gets stuck in single_kboard mode Lőrentey Károly
2004-06-13 21:49 ` Richard Stallman [this message]
2004-07-11 1:29 ` Lőrentey Károly
2004-07-11 3:55 ` Lőrentey Károly
2004-07-11 23:23 ` Richard Stallman
2004-07-12 23:58 ` Richard Stallman
2004-07-13 16:55 ` Lőrentey Károly
2004-07-11 23:23 ` Richard Stallman
2004-07-12 6:18 ` Lőrentey Károly
2004-07-12 23:57 ` Richard Stallman
2004-07-13 17:12 ` Lőrentey Károly
2004-07-13 23:49 ` David Kastrup
2004-07-14 18:26 ` Richard Stallman
2004-07-15 22:22 ` Lőrentey Károly
2004-07-16 16:08 ` Richard Stallman
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=E1BZcqu-0008R0-JK@fencepost.gnu.org \
--to=rms@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=multi-tty@lists.fnord.hu \
/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.