1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/progmodes
Steven Allen b0eaaf7366 More reliably check if a frame is the daemon's initial frame
Frames created when Emacs is running as a daemon may not have the
"client" frame parameter set, e.g., when:

1. Created from the user's init file.
2. Created via "emacsclient -e" (e.g., "emacsclient -e '(make-frame)'").

The "client" parameter simply indicates that the frame was created by
emacsclient directly (or recursively from another emacsclient frame).

Instead, this commit checks if (a) Emacs is running as a daemon and (b)
the target frame is the "terminal frame".  When run as a daemon, Emacs's
terminal frame is always the daemon's initial frame.

* lisp/desktop.el (desktop-clear):
(desktop-restoring-frameset-p):
* lisp/display-fill-column-indicator.el
(display-fill-column-indicator--turn-on):
* lisp/frame.el (frame-notice-user-settings):
* lisp/obsolete/linum.el (linum-on):
* lisp/progmodes/flymake.el (flymake-start):
* lisp/tab-bar.el (tab-bar--update-tab-bar-lines): Fix the "is this the
initial daemon-frame" checks.  (Bug#79686)
2025-10-30 20:27:19 +02:00
..
antlr-mode.el
asm-mode.el
autoconf.el
bat-mode.el
bug-reference.el (read-only-keymap-*): Be more careful with the namespace 2025-10-12 09:50:31 -04:00
c-ts-common.el
c-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
cc-align.el CC Mode: Don't indent a construct in a class after a template 2025-09-19 20:51:45 +00:00
cc-awk.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-bytecomp.el
cc-cmds.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-defs.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-engine.el ; * lisp/progmodes/cc-engine.el: Fix trailing whitespace. 2025-07-05 06:03:48 -04:00
cc-fonts.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-guess.el
cc-langs.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-menus.el CC Mode: Remove workarounds for missing "\_<", "\_>" in XEmacs 2025-06-23 11:50:07 +00:00
cc-mode.el Amend CC Mode so that the test suite in XEmacs runs error free 2025-06-11 13:43:50 +00:00
cc-styles.el
cc-vars.el CC Mode: Don't indent a construct in a class after a template 2025-09-19 20:51:45 +00:00
cfengine.el
cl-font-lock.el
cmacexp.el
cmake-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
compile.el * lisp/progmodes/compile.el (compilation--set-up-margin): Fix. 2025-10-19 20:56:30 +03:00
cperl-mode.el ; cperl-mode.el: Do not warn with valid character escapes 2025-08-22 15:03:17 +02:00
cpp.el
csharp-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
cwarn.el
dcl-mode.el
dockerfile-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
ebnf-abn.el
ebnf-bnf.el
ebnf-dtd.el
ebnf-ebx.el
ebnf-iso.el
ebnf-otz.el
ebnf-yac.el
ebnf2ps.el
ebrowse.el
eglot.el Eglot: release version 1.19 2025-10-23 21:47:04 +01:00
elisp-mode.el ; (elisp-fontify-symbol): Put less text props when possible 2025-10-26 17:39:10 +01:00
elixir-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
erts-mode.el
etags-regen.el Fix etags-regen-mode for remote projects (bug#79358) 2025-09-29 02:40:28 +03:00
etags.el Fix exact matching of Ada tags by 'M-.' 2025-05-27 13:50:12 +03:00
executable.el executable-interpret: Handle remote file names 2025-08-14 17:08:36 +02:00
f90.el
flymake-cc.el
flymake-proc.el
flymake.el More reliably check if a frame is the daemon's initial frame 2025-10-30 20:27:19 +02:00
fortran.el
gdb-mi.el Fix gdb-mi startup when asking user about debuginfod 2025-09-14 08:55:44 +03:00
glasses.el
go-ts-mode.el Cache compiled tree-sitter queries (bug#79363) 2025-10-20 22:12:35 -07:00
grep.el Merge from origin/emacs-30 2025-05-24 06:55:24 -04:00
gud.el "M-x lldb": bugfix source code location without column 2025-09-06 12:04:30 +03:00
heex-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
hideif.el
hideshow.el ; * lisp/progmodes/hideshow.el: More fixes for recent changes. 2025-10-22 09:42:29 +03:00
icon.el
inf-lisp.el
java-ts-mode.el Remove cached font-lock settings in java-ts-mode 2025-10-23 23:41:31 -07:00
js.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
json-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
ld-script.el
lua-mode.el New 'lua-mode' inferior process command & options 2025-10-18 11:22:43 +03:00
lua-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
m4-mode.el
make-mode.el
meta-mode.el
mixal-mode.el
modula2.el
octave.el
opascal.el
pascal.el
peg.el peg.el: Fix bug#79502 a bit more 2025-09-27 22:57:02 -04:00
perl-mode.el
php-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
prog-mode.el Add tree-sitter version of prog-fill-reindent-defun (bug#78703) 2025-06-09 22:55:09 -07:00
project.el ; project-prompt-project-name: Fix pcase usage. 2025-10-01 11:27:25 +01:00
prolog.el
ps-mode.el
python.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
ruby-mode.el ruby-syntax-propertize: Add exception for /= 2025-09-16 02:17:13 +03:00
ruby-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
rust-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
scheme.el (scheme-mode-variables): Fix bug#79282 2025-09-10 19:05:15 -04:00
sh-script.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
simula.el
sql.el
subword.el
tcl.el
typescript-ts-mode.el Check if treesit-major-mode-remap-alist is bound in ts-modes autoload forms 2025-10-16 09:45:30 +03:00
vera-mode.el
verilog-mode.el
vhdl-mode.el
which-func.el
xref.el Merge from origin/emacs-30 2025-10-18 06:15:46 -04:00
xscheme.el