diff options
| author | Sean Whitton | 2026-02-28 15:34:16 +0000 |
|---|---|---|
| committer | Sean Whitton | 2026-02-28 15:34:16 +0000 |
| commit | 342e002c879329e89bdec3a9d82c28ab06e6fce9 (patch) | |
| tree | 51bbf420cffecdc0176991f9efe1cc67bfd8fb29 /admin/notes | |
| parent | fe2fdf7c82e5efc3350061233d3f0aed54915876 (diff) | |
| download | emacs-342e002c879329e89bdec3a9d82c28ab06e6fce9.tar.gz emacs-342e002c879329e89bdec3a9d82c28ab06e6fce9.zip | |
Show a message in locked frames in single-kboard mode
* src/keyboard.c (kbd_buffer_get_event): Pass the event's frame
up to the caller by means of a new 'struct frame **' argument.
(read_event_from_main_queue): Show a message in locked frames in
single-kboard mode (bug#79892).
* src/xdisp.c (log_message): Factor out of message3.
(message3): Call it.
(message3_nolog): Rename to ...
(message3_frame_nolog): ... this. New 'struct frame *' argument
which causes temporarily switching to another frame when
displaying the message.
(message3_frame, message3_nolog): New functions.
* src/lisp.h: Declare message3_frame and message3_frame_nolog.
* admin/notes/multi-tty: Remove notes on showing a message.
Diffstat (limited to 'admin/notes')
| -rw-r--r-- | admin/notes/multi-tty | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/admin/notes/multi-tty b/admin/notes/multi-tty index 7783eb395e7..fff20a1769b 100644 --- a/admin/notes/multi-tty +++ b/admin/notes/multi-tty | |||
| @@ -402,29 +402,15 @@ THINGS TO DO | |||
| 402 | 402 | ||
| 403 | ** The single-keyboard mode of MULTI_KBOARD is extremely confusing | 403 | ** The single-keyboard mode of MULTI_KBOARD is extremely confusing |
| 404 | sometimes; Emacs does not respond to stimuli from other keyboards. | 404 | sometimes; Emacs does not respond to stimuli from other keyboards. |
| 405 | At least a beep or a message would be important, if the single-mode | 405 | (Reported by Dan Nicolaescu.) |
| 406 | is still required to prevent interference. (Reported by Dan | ||
| 407 | Nicolaescu.) | ||
| 408 | 406 | ||
| 409 | Update: selecting a region with the mouse enables single_kboard | 407 | Update: selecting a region with the mouse enables single_kboard |
| 410 | under X. This is very confusing. | 408 | under X. This is very confusing. |
| 411 | 409 | ||
| 412 | Update: After discussions with Richard Stallman, this will be | 410 | Update: After discussions with Richard Stallman, this will be |
| 413 | resolved by having locked displays warn the user to wait, and | 411 | resolved introducing a complex protocol to remotely bail out of |
| 414 | introducing a complex protocol to remotely bail out of | ||
| 415 | single-kboard mode by pressing C-g. | 412 | single-kboard mode by pressing C-g. |
| 416 | 413 | ||
| 417 | Update: Warning the user is not trivial to implement, as Emacs has | ||
| 418 | only one echo area, shared by all frames. Ideally the warning | ||
| 419 | should not be displayed on the display that is locking the others. | ||
| 420 | Perhaps the high probability of user confusion caused by | ||
| 421 | single_kboard mode deserves a special case in the display code. | ||
| 422 | Alternatively, it might be good enough to signal single_kboard mode | ||
| 423 | by changing the modelines or some other frame-local display element | ||
| 424 | on the locked out displays. | ||
| 425 | |||
| 426 | Update: In fact struct kboard does have an echo_string slot. | ||
| 427 | |||
| 428 | ** The session management module is prone to crashes when the X | 414 | ** The session management module is prone to crashes when the X |
| 429 | connection is closed and then later I try to connect to a new X | 415 | connection is closed and then later I try to connect to a new X |
| 430 | session: | 416 | session: |