aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Update to Transient v0.9.1-7-gd7d2c1c2Jonas Bernoulli2025-06-042-420/+676
| |
* | Factor out vc--with-backend-in-rootdirSean Whitton2025-06-041-69/+35
| | | | | | | | | | | | | | | | * lisp/vc/vc.el (vc--with-backend-in-rootdir): New macro. (vc-root-version-diff, vc-diff-mergebase, vc-root-diff) (vc-print-root-log, vc-log-mergebase): Use it. (vc-log-incoming, vc-log-outgoing): Use it here too in order to prompt for a directory if current buffer is not VCS-controlled.
* | ; * lisp/vc/vc.el (vc-print-log-internal): Fix some indentation.Sean Whitton2025-06-041-2/+2
| |
* | ; vc-bzr-incoming-revision: Rewrite to match buffer text directly.Sean Whitton2025-06-041-9/+9
| |
* | Better command subst fontification in bash-ts-mode (bug#78567)Jostein Kjønigsen2025-06-041-1/+1
| | | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-mode--treesit-settings): fontify command-substition command only. Don't include enclosing brackets.
* | * lisp/tab-line.el: Remove unnecessary checks for nil event.Juri Linkov2025-06-041-51/+43
| | | | | | | | | | | | | | | | | | (tab-line-hscroll-right, tab-line-hscroll-left) (tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab) (tab-line-close-tab, tab-line-close-other-tabs): Remove '(consp event)' to use the window returned by '(posn-window (tab-line-event-start event))' even in case when 'event' is nil.
* | ; Fix recent changes in typescript-ts-mode.elYuan Fu2025-06-031-1/+1
| | | | | | | | | | | | * lisp/progmodes/typescript-ts-mode.el: (typescript-ts--standalone-parent-p): Add a limit to the looking-back call.
* | lisp/progmodes/sh-script.el (sh-popup-occur-buffer): Remove unused varStefan Monnier2025-06-031-9/+0
| |
* | (lisp-imenu-generic-expression): Add `oclosure-define`Thierry Volpiatto2025-06-031-1/+1
| | | | | | | | | | * lisp/emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add `oclosure-define` alongside the other type definition forms.
* | ; Fix recent changes in typescript-ts-mode.elEli Zaretskii2025-06-031-2/+2
| | | | | | | | | | | | * lisp/progmodes/typescript-ts-mode.el (typescript-ts--standalone-parent-p): Fix warning and punctuation in a comment.
* | * lisp/tab-line.el: Use 'consp' on mouse events instead of 'listp'.Juri Linkov2025-06-031-7/+7
| | | | | | | | | | | | | | | | (tab-line-hscroll-right, tab-line-hscroll-left, tab-line-new-tab) (tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab) (tab-line-close-tab, tab-line-close-other-tabs): Replace '(listp event)' with '(consp event)' that allows calling the functions non-interactively with nil event arguments.
* | Restore c-ts-common-comment-setup in js-ts-mode and typescript-ts-mode.Juri Linkov2025-06-032-0/+2
| | | | | | | | | | | | | | * lisp/progmodes/js.el (js-ts-mode): * lisp/progmodes/typescript-ts-mode.el (typescript-ts-base-mode): Add 'c-ts-common-comment-setup' back removed in 8bccccedb65a since it does more than setting comment variables (bug#78680).
* | Add ansible password prompts to `comint-password-prompt-regexp'Michael Albinus2025-06-032-0/+8
| | | | | | | | | | | | * lisp/comint.el (comint-password-prompt-regexp): * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add ansible password prompts. (Bug#78442)
* | Fix NS port screen geometry report (bug#76051)Alan Third2025-06-021-22/+9
| | | | | | | | | | * src/nsfns.m (Fns_display_monitor_attributes_list): Fix the arithmetic to calculate the origin of the visible frame.
* | Fix ns_make_monitor_attribute_list (bug#76691)shipmints2025-06-021-95/+19
| | | | | | | | | | | | | | | | | | | | | | This is the NS implementation for 'display-monitor-attributes-list'. Change implementation from IORegistry to direct introspection of NSScreen. * src/nsfns.m (ns_make_monitor_attribute_list): Use localizedName selector on NSScreen. For anonymous displays, synthesize names of the form ("%dx%d@%d,%d" width height x y). (ns_get_name_from_ioreg) (ns_screen_name): Removed.
* | Tramp: Do not raise an error when not connected (Bug#78572)Michael Albinus2025-06-024-101/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-cmds.el (tramp-cleanup-connection): Use read syntax #' for `tramp-timeout-session', * lisp/net/tramp.el (tramp-barf-if-file-missing): Do not raise an error when not connected. (Bug#78572) (tramp-file-name-handler): Do not force the backtrace. (tramp-connectable-p): Check also, whether initial handshake is finished. (tramp-skeleton-directory-files) (tramp-skeleton-directory-files-and-attributes) (tramp-skeleton-set-file-modes-times-uid-gid): Rearrange sending `file-missing' error. (tramp-handle-access-file, tramp-handle-unlock-file): Use `tramp-connectable-p'. * test/lisp/net/tramp-tests.el (project-mode-line-format) (project-mode-line): Declare. (tramp-test48-session-timeout): New test. (tramp-test49-auto-load, tramp-test49-delay-load) (tramp-test49-recursive-load, tramp-test49-remote-load-path) (tramp-test50-without-remote-files, tramp-test51-unload): Rename.
* | Pacify Clang's -Wformat-signedness.Collin Funk2025-06-021-0/+1
| | | | | | | | * configure.ac: Enable -Wno-format-signedness if Clang is being used.
* | Fix typescript-ts-mode tenary indentation (bug#77901)Yuan Fu2025-06-012-0/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes indentation for nested ternary expressions: const a = cond1 ? 1 : cond2 ? 2 : cond3 ? 3 : cond 4: 5; instead of const a = cond1 ? 1 : cond2 ? 2 : cond3 ? 3 : cond 4: 5; * lisp/progmodes/typescript-ts-mode.el: (typescript-ts--standalone-parent-p): New function. (typescript-ts-mode): (tsx-ts-mode): Use new function.
* | Fontificatiomn improvements for typescrip-ts-mode.el (bug#78594)Jostein Kjønigsen2025-06-011-3/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | - Fontify type-names for static function calls directly on types. - Special-case "document" and "console" and constants/builtins. - Fontify variable-use in string-interpolation expressions. - Fontify variable-use in function-calls. - Fontify variable-use in member-access expressions. - Fontify variable-use in JSX-expressions. - Fontify variable-use when using explicit nullability override. * lisp/progmodes/typescript-ts-mode.el: (tsx-ts-mode--font-lock-compatibility-bb1f97b): (typescript-ts-mode--font-lock-settings): Improve font-lock settings.
* | bovine/el.el: Tell CEDET how to parse `oclosure-define`Thierry Volpiatto2025-06-011-0/+1
| | | | | | | | * lisp/cedet/semantic/bovine/el.el (oclosure-define): Add parser.
* | * lisp/vc/vc-bzr.el (vc-bzr-incoming-revision): New function.Sean Whitton2025-06-011-2/+15
| |
* | time-stamp-tests: Hygienic macrosStephen Gildea2025-06-011-27/+40
| | | | | | | | | | * test/lisp/time-stamp-test.el (with-time-stamp-test-time, time-stamp-should-warn, formatz-should-equal): Use cl-with-gensyms.
* | New incoming-revision VC backend actionSean Whitton2025-06-013-12/+43
| | | | | | | | | | | | | | | | | | * lisp/vc/vc.el: New incoming-revision backend action (bug#62940). * lisp/vc/vc-git.el (vc-git--fetch-incoming): New function, factored out of vc-git-log-incoming. (vc-git-log-incoming): Use it. (vc-git-incoming-revision): * lisp/vc/vc-hg.el (vc-hg-incoming-revision): New functions.
* | ; Avoid compiler warnings in MinGW buildsEli Zaretskii2025-06-0113-104/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * src/w32proc.c (child_proc_count, child_procs) (Vw32_valid_locale_ids, Vw32_valid_codepages): Declare 'static'. * src/w32inevt.c (faked_key): Declare. * src/w32heap.c (data_region_base, data_region_end, heap): Declare. * src/w32console.c (keyboard_handle, current_tty, cost): Declare. * src/w32.c: Declare function pointers 'static'. (excptr, excprec, ctxrec, g_b_init_compare_string_w) (g_b_init_debug_break_process, LookupAccountSid_Name, dir_static) (winsock_lib, _wsa_errlist): Declare. * src/w32uniscribe.c: Declare function pointers 'static'. (uniscribe_available, harfbuzz_available): Declare. * src/w32term.c: Declare function pointers 'static'. (vertical_scroll_bar_min_handle, horizontal_scroll_bar_min_handle) (vertical_scroll_bar_top_border) (vertical_scroll_bar_bottom_border) (horizontal_scroll_bar_left_border) (horizontal_scroll_bar_right_border, last_scroll_bar_drag_pos): Declare 'static'. * src/w32xfns.c (input_available, interrupt_handle, lpHead) (lpTail, nQueue): Declare. * src/w32menu.c: Declare function pointers 'static'. * src/w32term.h (w32_frame_parm_handlers): Declare. * src/w32fns.c: Declare function pointers 'static'. (w32_darkmode, w32_color_map, deferred_msg_head, tip_frame) (tip_timer, tip_last_string, tip_last_frame, tip_last_parms): * src/lisp.h (daemon_type): Declare for WINDOWSNT as well. * nt/cmdproxy.c (escape_char, child, interactive): Declare 'static'. (Bug#78193)
* | (load-path-filter-cache-directory-files): Filter only for `must-suffix`Stefan Monnier2025-05-311-16/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Most loads set the `must-suffix` (e.g. `require and `autoload-do-load`), but some don't (e.g. `load-library`). This results in two separate entries in `load-path-filter--cache` with two hash-tables. The entry for `must-suffix=nil` is larger and much less often used than the other, so just skip filtering when `must-suffix=nil`. Reduces the memory size of the cache from ~1MB to ~400kB in my test case. * lisp/startup.el (load-path-filter-cache-directory-files): Don't use a filtering cache when `must-suffix` is nil.
* | ; * src/fns.c (fixnum_float_cmp): Don't use non-ASCII characters.Eli Zaretskii2025-05-311-1/+1
| |
* | Merge branch 'master' of git.savannah.gnu.org:/srv/git/emacsEli Zaretskii2025-05-317-88/+158
|\ \
| * | Fix Tramp bug#78508Michael Albinus2025-05-317-88/+158
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/net/tramp-container.el (tramp-methods) <docker, dockercp, podman> <podmancp, apptainer, nspawn>: * lisp/net/tramp-sh.el (tramp-methods) <scp, scpx, rsync> <ssh, sshx, sudo>: * lisp/net/tramp-sshfs.el (tramp-methods) <sshfs>: Set TERM environment. (Bug#78508) * lisp/net/tramp-sh.el (tramp-find-executable): Handle superlong PATH. (tramp-set-remote-path): Simplify command. (tramp-timeout-session): Add ;;;###tramp-autoload cookie. * lisp/net/tramp-smb.el (tramp-smb-errors): Add string. (tramp-smb-winexe-program): Adapt docstring. (tramp-smb-handle-copy-directory, tramp-smb-handle-file-acl) (tramp-smb-handle-set-file-acl, tramp-smb-maybe-open-connection): Simplify argument handling. (tramp-smb-handle-process-file): Flush " process-exit-status" property. (tramp-smb-call-winexe): Set $winsize.Width to 102 only. * lisp/net/tramp.el (tramp-process-sentinel): Adapt docstring. Set " process-exit-status" property. * test/lisp/net/tramp-tests.el (tramp--test-enabled): Make it more robust. (tramp-test18-file-attributes) (tramp-test26-interactive-file-name-completion) (tramp-test26-file-name-completion-boundaries) (tramp-test35-remote-path): Adapt tests.
* | | Add additional keybindings for flymake diagnostics modesMatthew Tromp2025-05-312-0/+29
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds keybindings for C-o and C-m, and changes the bindings for n and m, in `flymake-diagnostics-buffer-mode' and `flymake-project-diagnostics-mode' buffers. Previously, `flymake-project-diagnostics-mode' did not use the keybindings for `flymake-diagnostics-buffer-mode'. RET and SPC were never bound in `flymake-project-diagnostics-mode' buffers. This seems to have been an oversight: since the filename and message are buttons which call `flymake-goto-diagnostic', pressing RET still brought users to the diagnostic at point most of the time. This change adds a `flymake-project-diagnostics-mode-map' which inherits from `flymake-diagnostics-buffer-mode-map'. C-o and C-m now show and jump to the diagnostic currently at point, similar to how `compilation-mode' works. n and p now show the diagnostic newly under point after moving up or down a line, which is also intended to make behavior more similar to `compilation-mode'. In order that other next-error buffers do not interfere with navigation in the diagnostics buffers, this change introduces and uses new functions, `next-error-this-buffer-no-select' and `previous-error-this-buffer-no-select'. If we instead used `next-error-no-select' and `previous-error-no-select', then a user who runs `flymake-show-diagnostics-buffer', then e.g. `compile', then returns to the diagnostics buffer and presses 'n', would be navigated to the next error in the compilation buffer. * lisp/progmodes/flymake.el (flymake-diagnostics-buffer-mode-map): Add bindings. (flymake-project-diagnostics-mode-map): Inherit bindings from `flymake-diagnostics-buffer-mode' * lisp/simple.el (next-error-this-buffer-no-select): (previous-error-this-buffer-no-select): Add new commands. (Bug#78619) Copyright-paperwork-exempt: yes
* | Merge from origin/emacs-30Eli Zaretskii2025-05-313-8/+12
|\ \ | |/ | | | | | | | | | | | | 9dc6c21b414 ; * lisp/subr.el (setq-local): Doc fix (bug#78644). 1bb88a86cb3 Revert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)." cb9556d669c ; * lisp/subr.el (setq-local): Doc fix (bug#78644). 8881dca81c9 ; * doc/lispref/searching.texi (Char Classes): Add speedu... 4507b6a9c75 Fix bug in 'todo-jump-to-category' (bug#78608)
| * ; * lisp/subr.el (setq-local): Doc fix (bug#78644).Eli Zaretskii2025-05-311-3/+4
| |
| * Revert "; * lisp/subr.el (setq-local): Doc fix (bug#78644)."Eli Zaretskii2025-05-313-8/+5
| | | | | | | | | | This reverts commit cb9556d669c037c4e2f1a9c80adacad55948c706. Some of its parts were not supposed to be installed.
| * ; * lisp/subr.el (setq-local): Doc fix (bug#78644).Eli Zaretskii2025-05-313-5/+8
| |
| * ; * doc/lispref/searching.texi (Char Classes): Add speedup advice.Eli Zaretskii2025-05-291-1/+4
| |
| * Fix bug in 'todo-jump-to-category' (bug#78608)Stephen Berman2025-05-281-4/+4
| | | | | | | | | | | | | | | | | | * lisp/calendar/todo-mode.el (todo-jump-to-category): Eliminate comparison of the number of Todo categories before and after specifying the category to jump to and replace it by a check of whether there are any items in the category, since an existing category should always have at least one item (perhaps done or archived).
* | ; Merge from origin/emacs-30Eli Zaretskii2025-05-310-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 3e57c35323a Fix gitlab-ci.yml (don't merge to master)
| * Fix gitlab-ci.yml (don't merge to master)Michael Albinus2025-05-271-9/+4
| | | | | | | | | | * test/infra/gitlab-ci.yml (.job-template): Fix config.log name. (test-filenotify-gio, test-eglot): Fix formatting.
* | Merge from origin/emacs-30Eli Zaretskii2025-05-313-3/+30
|\ \ | |/ | | | | | | 1d2ae31b8bc typescript-ts-mode: Improve function body indentation (bu... 421ecbcf6b4 ; * CONTRIBUTE: Explain the line-width preferences.
| * typescript-ts-mode: Improve function body indentation (bug#78121)Konstantin Kharlamov2025-05-252-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Older code was calculating body indentation depending on function parameters alignment. This is incorrect, because if parameters are misaligned, so will the function body. Instead, use offset of the previous standalone parent. * lisp/progmodes/typescript-ts-mode.el: (typescript-ts-mode--indent-rules): Stop depending on function parameters indentation for calculating body content and the closing `}'. * test/lisp/progmodes/typescript-ts-mode-resources/indent.erts: (Function body with params misindented (bug#78121)): Add new test.
| * ; * CONTRIBUTE: Explain the line-width preferences.Eli Zaretskii2025-05-251-1/+3
| |
* | ansi-osc.el: Use marker (bug#78184)Matthias Meulien2025-05-312-40/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/ansi-osc.el (ansi-osc-apply-on-region) (ansi-osc-filter-region): Use marker to properly handle unfinished escape sequence. * test/lisp/ansi-osc-tests.el (ansi-osc-tests--strings) (ansi-osc-tests-apply-region-no-handlers) (ansi-osc-tests-apply-region-no-handlers-multiple-calls) (ansi-osc-tests-filter-region) (ansi-osc-tests-filter-region-with-multiple-calls): Cover bug#78184.
* | Remove unused user options in sh-script.elEli Zaretskii2025-05-311-39/+1
| | | | | | | | | | | | | | * lisp/progmodes/sh-script.el (sh-indent-comment) (sh-first-lines-indent, sh-indent-for-else): Remove variables that are no longer obeyed. (sh-var-list): Likewise. (Bug#78592)
* | ; * lisp/startup.el (load-path-filter--cache): Doc fix.Eli Zaretskii2025-05-311-0/+2
| |
* | Restore & obsolete vc-finish-logentry-hookSean Whitton2025-05-311-1/+10
| | | | | | | | | | | | * lisp/vc/vc-dispatcher.el (vc-finish-logentry-hook): Declare, document and mark obsolete. (vc-finish-logentry): Call vc-finish-logentry-hook again.
* | Add more "safe" display specs to 'visual-wrap-prefix-mode'Jim Porter2025-05-301-3/+3
| | | | | | | | | | | | | | | | * lisp/visual-wrap.el (visual-wrap--safe-display-specs): Add 'space-width' and 'min-width'. (visual-wrap--display-property-safe-p): Use 'member' instead of 'memq' to more-closely match the behavior of other code that works with display properties.
* | ; reftex.el: Checkdoc fixes, comments to docstringsJeremy Bryant2025-05-301-101/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/textmodes/reftex.el (reftex-next-multifile-index): (reftex-TeX-master-file, reftex-is-multi): (reftex-get-cite-format, reftex-ensure-compiled-variables): (reftex-erase-all-selection-and-index-buffers): (reftex-compile-variables, reftex-parse-args): (reftex-access-scan-info, reftex-check-parse-consistency): (reftex-select-external-document, reftex-find-file-externally): (reftex-access-search-path, reftex-find-file-on-path): (reftex-parse-colon-path, reftex-expand-path): (reftex-recursive-directory-list, reftex-typekey-check): (reftex-check-recursive-edit, reftex-no-props): (reftex-match-string, reftex-kill-buffer): (reftex-erase-buffer, reftex-this-word, reftex-all-assq): (reftex-all-assoc-string, reftex-last-assoc-before-elt): (reftex-sublist-nth, reftex-make-selection-buffer-name): (reftex-make-index-buffer-name, reftex-truncate): (reftex-nearest-match, reftex-auto-mode-alist): (reftex-enlarge-to-fit, reftex-select-with-char): (reftex-make-regexp-allow-for-ctrl-m, reftex-visited-files): (reftex-get-file-buffer-force, reftex-kill-temporary-buffers): (reftex-splice-symbols-into-list, reftex-uniquify): (reftex-uniquify-by-car, reftex-nicify-text, reftex-refontify): (reftex-fontify-select-label-buffer): (reftex-select-font-lock-fontify-region): (reftex-verified-face, reftex-highlight-shall-die): Convert comment to docstring in functions. (reftex-silence-toc-markers): Convert comment to docstring and capitalize argument. (reftex-set-cite-format): Capitalize argument. (AUCTeX bug#77864)
* | vc-finish-logentry: Don't run vc-finish-logentry-hookSean Whitton2025-05-301-11/+7
| | | | | | | | | | | | | | * lisp/vc/vc-dispatcher.el (vc-finish-logentry): Don't run undocumented, undeclared 'vc-finish-logentry-hook'. There is already 'vc-log-after-operation-hook'; it is not clear we need both.
* | Gather variable binding tests in data-tests.elSean Whitton2025-05-302-47/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/lisp/emacs-lisp/lisp-tests.el (c-e-x, c-e-l): Move to data-tests.el. (core-elisp-tests-2-window-configurations): Rename ... (core-elisp-tests-1-window-configurations): ... to this. (core-elisp-tests-3-backquote): Rename ... (core-elisp-tests-2-backquote): ... to this. (core-elisp-tests-1-defvar-in-let) (core-elisp-tests-4-toplevel-values): Move and rename ... * test/src/data-tests.el (binding-test-defvar-in-let) (binding-test-toplevel-values): ... to these. (c-e-x, c-e-l): Moved from data-tests.el.
* | Fix bug in `tramp-find-executable'Michael Albinus2025-05-301-1/+1
| | | | | | | | | | * lisp/net/tramp-sh.el (tramp-find-executable): Use "command -v", preserving non-standard PATH search. Bug#78633)
* | project-remember-project: Support calling it interactivelyDmitry Gutov2025-05-292-6/+14
| | | | | | | | | | | | * lisp/progmodes/project.el (project-remember-project): Support interactive invocation (bug#78099) and react with appropriate messages when called so, depending on the blacklist.