Basil L. Contovounesios
d780007283
Add predicate for initial_terminal
...
This introduces the predicate frame-initial-p, which uses
struct frame.output_method or struct terminal.type to detect
initial_terminal without relying on its name (bug#80629).
For some prior discussion, see:
https://lists.gnu.org/r/emacs-devel/2019-12/msg00480.html
https://lists.gnu.org/r/emacs-devel/2020-01/msg00120.html
* doc/lispref/frames.texi (Frames): Document frame-initial-p.
(Finding All Frames): Fix grammar.
* etc/NEWS (Lisp Changes in Emacs 31.1): Announce frame-initial-p.
* lisp/desktop.el (desktop--check-dont-save):
* lisp/emacs-lisp/debug.el (debug):
* lisp/frameset.el (frameset-restore):
* lisp/menu-bar.el (menu-bar-update-buffers):
* lisp/xt-mouse.el (turn-on-xterm-mouse-tracking-on-terminal):
Use frame-initial-p instead of checking the "initial_terminal" name.
* lisp/emacs-lisp/byte-opt.el: Mark frame-initial-p as error-free.
* src/pgtkterm.c (pgtk_focus_changed): Use IS_DAEMON in place of
Fdaemonp, thus also accepting a named daemon session.
* src/terminal.c (decode_tty_terminal): Clarify commentary.
(Fframe_initial_p): New function.
(syms_of_terminal): Expose it.
(init_initial_terminal): Update commentary now that
menu-bar-update-buffers uses frame-initial-p (bug#53740).
* test/lisp/xt-mouse-tests.el (with-xterm-mouse-mode): Simulate the
lack of an initial terminal by overriding frame-initial-p now
that turn-on-xterm-mouse-tracking-on-terminal uses it.
* test/src/terminal-tests.el: New file.
2026-03-26 15:19:56 +01:00
..
2026-03-10 10:48:22 -04:00
2026-03-10 10:48:22 -04:00
2026-02-13 23:48:32 -05:00
2026-03-26 15:19:56 +01:00
2026-03-04 14:43:05 +00:00
2026-03-23 18:14:57 -07:00
2026-03-10 10:48:22 -04:00
2026-03-15 17:17:21 -04:00
2026-01-03 13:22:01 +02:00
2026-03-10 10:48:22 -04:00
2026-03-25 14:59:56 +02:00
2026-02-12 13:23:24 +02:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-03-16 09:02:03 +01:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-03-17 18:32:40 -04:00
2026-03-26 15:19:56 +01:00
2026-02-28 09:52:15 +00:00
2026-03-15 17:17:21 -04:00
2026-03-10 00:13:31 -04:00
2026-03-16 18:23:37 +01:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-02-05 10:56:51 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-22 17:02:34 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:05:22 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-12 19:15:39 +01:00
2026-01-01 12:54:34 +00:00
2026-03-15 12:16:40 +02:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-01-13 20:49:03 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-04 11:14:10 -05:00
2026-02-14 12:47:07 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-22 10:35:23 +01:00
2026-01-01 12:54:34 +00:00
2026-02-28 20:54:56 +00:00
2026-01-01 12:54:34 +00:00
2026-02-21 09:35:30 +00:00
2026-03-22 10:58:40 -04:00
2026-01-01 12:54:34 +00:00
2026-03-17 12:40:22 -04:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-03-03 11:10:18 +00:00
2026-01-01 12:54:34 +00:00
2026-03-25 20:45:44 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-07 11:33:14 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:21 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-17 15:32:15 +02:00
2026-02-22 18:48:57 -05:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-11 16:05:04 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-21 13:24:08 +02:00
2026-03-11 16:05:04 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-21 12:31:21 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-03 14:21:19 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-11 15:53:09 -05:00
2026-01-01 12:54:34 +00:00
2026-02-03 05:14:59 +02:00
2026-03-02 22:11:51 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-14 16:52:09 -05:00
2026-03-19 17:46:57 +02:00
2026-02-11 15:04:18 +00:00
2026-01-01 12:54:34 +00:00
2026-01-15 11:12:12 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-24 19:37:30 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-17 15:32:15 +02:00
2026-03-25 15:23:46 +02:00
2026-01-01 12:54:34 +00:00
2026-02-02 17:42:40 -05:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:21 -04:00
2026-02-14 18:56:44 +01:00
2026-01-26 22:57:09 +00:00
2026-03-07 10:55:23 +02:00
2026-01-01 12:54:34 +00:00
2026-03-14 09:04:32 -04:00
2026-02-20 23:37:48 -05:00
2026-03-13 15:35:05 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:21 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-18 14:36:51 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-24 15:54:49 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-17 06:13:54 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-31 11:01:02 +02:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-08 14:55:23 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-04 18:56:19 -05:00
2026-02-11 09:19:52 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-12 09:59:40 +00:00
2026-01-01 12:54:34 +00:00
2026-01-17 15:32:15 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-01 12:54:34 +00:00
2026-01-07 10:08:45 +01:00
2026-01-01 12:54:34 +00:00
2026-03-17 06:13:54 +01:00
2026-02-26 11:07:57 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-02-22 16:38:38 -08:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-15 17:29:41 -04:00
2026-01-01 12:54:34 +00:00
2026-03-22 16:03:16 +00:00
2026-01-01 12:54:34 +00:00
2026-02-22 10:35:23 +01:00
2026-02-22 10:36:16 +01:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-12 15:10:59 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-02-22 12:39:12 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-09 09:20:12 -07:00
2026-01-31 12:12:21 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 11:20:53 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-10 10:48:22 -04:00
2026-01-01 12:54:34 +00:00
2026-02-25 11:25:29 -05:00
2026-03-22 20:54:58 -07:00
2026-01-01 12:54:34 +00:00
2026-02-16 10:47:29 +01:00
2026-03-10 10:48:21 -04:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-23 21:11:38 +00:00
2026-01-01 12:54:34 +00:00
2026-02-07 11:45:00 +02:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-22 20:09:47 +02:00
2026-03-11 15:53:39 +01:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-01-01 12:54:34 +00:00
2026-03-26 15:19:56 +01:00
2026-01-17 15:32:15 +02:00
2026-01-17 15:32:15 +02:00