aboutsummaryrefslogtreecommitdiffstats
path: root/etc (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add support for su-rs and sudo-rs programsMichael Albinus2025-10-151-6/+11
| | | | | | | | | | | | | | | | | | | | * doc/misc/tramp.texi (Inline methods): Add "surs" and "sudors" methods. * etc/NEWS: Add optional "surs" and "sudors" Tramp methods. Presentational fixes and improvements. * lisp/net/tramp-cmds.el (tramp-file-name-with-method): Add "surs" and "sudors" to :type. Adapt :version. * lisp/net/tramp-sh.el (tramp-enable-surs-method) (tramp-enable-sudors-method): New defuns (tramp-sh-handle-expand-file-name): Add "surs" and "sudors" in check. * lisp/net/tramp.el (tramp-methods): Adapt docstring. * lisp/comint.el (comint-password-prompt-regexp): * test/lisp/comint-tests.el (comint-testsuite-password-strings): Add su-rs and sudo-rs password prompts.
* ; Fix recently introduced uses of "ELisp".Sean Whitton2025-10-131-1/+1
|
* Merge branch 'feature/elisp-fontify-semantically'Eshel Yaron2025-10-121-0/+9
|\
| * Document 'elisp-fontify-semantically' in the Emacs manualEshel Yaron2025-10-111-1/+2
| | | | | | | | | | | | | | | | * doc/emacs/display.texi (Semantic Font Lock): New node. * doc/emacs/emacs.texi: Update menu. * etc/NEWS: Update relevant entry. * lisp/emacs-lisp/elisp-scope.el: Expand commentary. * doc/misc/elisp-semantic-highlighting.org: Delete it.
| * ; Expand ELisp semantic highlighting documentationEshel Yaron2025-10-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/elisp-scope.el (elisp-scope-get-symbol-role-property) (elisp-scope-set-symbol-role-property) (elisp-scope-safe-macro-p, elisp-scope-report-s) (elisp-scope-1, elisp-scope-n): Add docstring. (elisp-scope-analyze-form): * lisp/progmodes/elisp-mode.el (elisp-fontify-semantically): Expand docstring. * etc/NEWS: Refer to 'elisp-fontify-semantically' for documentation.
| * Add optional semantic highlighting for Emacs Lisp.Eshel Yaron2025-09-291-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/emacs-lisp/scope.el: New file. * lisp/progmodes/elisp-mode.el (elisp): New 'defgroup'. (elisp-add-help-echo, elisp-fontify-semantically) (elisp-fontify-symbol-precedence-function): New options. (elisp-symbol-at-mouse, elisp-free-variable, elisp-condition) (elisp-major-mode-name, elisp-face, elisp-symbol-type) (elisp-symbol-type-definition, elisp-function-reference) (elisp-non-local-exit, elisp-unknown-call, elisp-macro-call) (elisp-special-form, elisp-throw-tag, elisp-feature) (elisp-rx, elisp-theme, elisp-binding-variable) (elisp-bound-variable, elisp-shadowing-variable) (elisp-shadowed-variable, elisp-variable-at-point) (elisp-warning-type, elisp-declaration, elisp-thing) (elisp-slot, elisp-widget-type, elisp-type, elisp-group) (elisp-nnoo-backend, elisp-ampersand, elisp-constant) (elisp-defun, elisp-defmacro, elisp-defvar, elisp-defface) (elisp-icon, elisp-deficon, elisp-oclosure) (elisp-defoclosure, elisp-coding, elisp-defcoding) (elisp-charset, elisp-defcharset, elisp-completion-category) (elisp-completion-category-definition): New faces. (elisp-local-references, elisp-highlight-variable) (elisp-unhighlight-variable, elisp-cursor-sensor) (elisp--function-help-echo, elisp--help-echo-1) (elisp--help-echo, elisp--annotate-symbol-with-help-echo) (elisp-extend-region-to-whole-defuns, elisp-fontify-symbol) (elisp-fontify-region-semantically, elisp-fontify-region): New functions. (emacs-lisp-mode): Set 'font-lock-extra-managed-props', 'font-lock-fontify-region-function' and 'font-lock-extend-region-functions'. * etc/NEWS: Announce new feature.
* | defvar-keymap: New ':prefix t' abbreviationSean Whitton2025-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | * lisp/keymap.el (defvar-keymap): New ':prefix t' abbreviation. * lisp/emacs-lisp/helper.el (Helper-help-map): * lisp/vc/pcvs.el (cvs-mode-diff-map): * lisp/vc/vc-hooks.el (vc-prefix-map): * lisp/vcursor.el (vcursor-map): Use it. * doc/lispref/keymaps.texi (Creating Keymaps): * etc/NEWS: Document it.
* | Run buffer-local window change functions in their buffers nowMartin Rudalics2025-10-061-0/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The buffer-local-versions of 'window-buffer-change-functions', 'window-size-change-functions', 'window-selection-change-functions' and 'window-state-change-functions' are now run with the respective buffer temporarily current. Also, the local version of 'window-buffer-change-functions' is run for the buffer removed from the window too. * src/window.c (run_window_change_functions_locally) (run_window_change_functions_globally): New functions replacing 'run_window_change_functions_1'. (run_window_change_functions): Run the buffer local versions of these hooks in their respective buffers. Run 'window-buffer-change-functions' for the buffer removed from the window too. (Vwindow_buffer_change_functions, Vwindow_size_change_functions) (Vwindow_selection_change_functions) (Vwindow_state_change_functions): Mention that the buffer-local versions are run with their buffer temporarily current. * doc/lispref/windows.texi (Window Hooks): Mention that buffer-local-versions of window change functions are run with their buffer temporarily current. Also say that 'window-buffer-change-functions' will be run for removed buffer too. * etc/NEWS: Advertise changes for the buffer-local versions of window change functions.
* | Add fallback backend in auth-sourcesMichael Albinus2025-10-051-19/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * etc/NEWS: Describe effect of auth-sources being nil. * lisp/auth-source.el (auth-sources): Add const nil. (auth-source-ignored-keys): New defconst. (auth-source-backends, auth-source-keys) (auth-source-search-keys, auth-source-returned-keys) (auth-source-search-spec): New macros. (auth-source-file-name-p, auth-source-search) (auth-source-specmatchp, auth-source-netrc-create) (auth-source-secrets-search, auth-source-secrets-create) (auth-source-macos-keychain-search) (auth-source-plstore-search, auth-source-plstore-create): Use them (auth-source-read-passwd-search, auth-source-read-passwd-create): New defuns. * test/lisp/auth-source-tests.el (auth-source-backend-parse-plstore-string) (auth-source-backend-parse-json-string) (auth-source-backend-parse-fallback) (auth-source-test-read-passwd-create-secret): New tests.
* | ; Tweak wording of a NEWS entry.Sean Whitton2025-10-051-4/+4
| |
* | VC: New commands for cherry-picking (bug#79408)Sean Whitton2025-10-041-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/diff-mode.el (diff-buffer-file-names): New function. * lisp/vc/log-view.el (vc--pick-or-revert) (vc--prompt-other-working-tree): Autoload. (vc-parent-buffer-name, vc-log-short-style) (vc-print-log-internal): Declare. (log-view--pick-or-revert): New function. (log-view-revision-cherry-pick, log-view-revision-revert): New commands. (log-view-mode-map, log-view-mode-menu): Bind them. * lisp/vc/vc-dispatcher.el (vc-start-logentry): If get-file-buffer returns nil, use the current buffer as the parent buffer. * lisp/vc/vc.el (diff-buffer-file-names, diff-reverse-direction): Declare. (vc--pick-or-revert): New function. (vc-revision-cherry-pick, vc-revision-revert): New commands. * lisp/vc/vc-hooks.el (vc-menu-map): Bind them. * doc/emacs/maintaining.texi (VC Change Log, VC Undo) (Copying Between Branches): * etc/NEWS: Document the new commands.
* | ; Improve the documentation of the last commitEli Zaretskii2025-10-041-2/+4
| | | | | | | | | | | | * lisp/vc/log-view.el (log-view-copy-revision-as-kill): * doc/emacs/maintaining.texi (VC Change Log): * etc/NEWS: Improve wording of last commit. (Bug#79493)
* | Improve log-view-copy-revision-as-killSean Whitton2025-10-041-6/+4
| | | | | | | | | | | | | | * lisp/vc/log-view.el (log-view-copy-revision-as-kill): Signal user-error if there is no revision at point. * doc/emacs/maintaining.texi (VC Change Log): * etc/NEWS: Shorten docs for the new command.
* | New command log-view-copy-revision-as-killTimo Myyrä2025-10-041-0/+7
| | | | | | | | | | | | | | | | * lisp/vc/log-view.el (log-view-copy-revision-as-kill): New command. (log-view-mode-map): Bind it. * doc/emacs/maintaining.texi (VC Change Log): * etc/NEWS: Document it.
* | New command log-view-unmark-all-entriesSean Whitton2025-10-031-0/+2
| | | | | | | | | | | | | | | | * lisp/vc/log-view.el (log-view-unmark-all-entries): New command. (log-view-mode-map): Bind it. * doc/emacs/maintaining.texi (VC Change Log): * etc/NEWS: Document it.
* | ; TRAMP docs: "cherry pick"->"cherry-pick" (see bug#79408).Sean Whitton2025-10-031-1/+1
| |
* | Eglot: make markup invisible instead of deleting it (bug#79552)Spencer Baugh2025-10-031-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We use gfm-view-mode to render Markdown before we hand over the string to ElDoc (which usually put it in a 'special' mode "*eldoc*" buffer). 'gfm-view-mode' adds keymap text properties to make links clickable. It also makes some of the markup invisible with a special 'invisible' property value which is specific to 'gfm-view-mode'. We used to delete the latter, therefore breaking the link-clicking. Simply resetting the regions with non-nil 'invisible' to 't' instead of deleting them fixes this. See also https://github.com/joaotavora/eglot/discussions/1238 * lisp/progmodes/eglot.el: Make invisible markup invisible instead of deleting it. * etc/EGLOT-NEWS: Mention bugfix. Co-authored-by: João Távora <joaotavora@gmail.com>
* | New command vc-kill-other-working-tree-buffersSean Whitton2025-10-011-0/+1
| | | | | | | | | | | | | | | | * lisp/vc/vc.el (vc-kill-other-working-tree-buffers): New command. * lisp/vc/vc-hooks.el (vc-prefix-map): Bind it. * doc/emacs/vc1-xtra.texi (Other Working Trees): * etc/NEWS: Document it.
* | VC: Allow deleting or moving current working treeSean Whitton2025-09-301-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lisp/progmodes/project.el (project-prompter) (project-prompt-project-dir, project-prompt-project-name): * lisp/vc/vc.el (vc--prompt-other-working-tree): New ALLOW-EMPTY optional argument. (delete-working-tree, move-working-tree): Specify that callers must ensure DIRECTORY is not the current working tree. (vc-delete-working-tree, vc-move-working-tree): Pass ALLOW-EMPTY non-nil to vc--prompt-other-working-tree. Bind 'default-directory' to another working tree when operating on the current working tree. (vc-delete-working-tree): Extra prompt when asked to delete the current working tree. When deleting the current working tree, call 'bury-buffer' one or more times at the end.
* | New value 'window' of 'global-hl-line-sticky-flag'Juri Linkov2025-09-291-10/+12
|/ | | | | | | | | | | | | | | * etc/NEWS: Rename 'global-hl-line-modes' to 'global-hl-line-buffers' (bug#79481). Mention new default value of 'global-hl-line-buffers' (bug#64993). Mention new value 'window' of 'global-hl-line-sticky-flag' that is more useful than the value 'all' now removed from NEWS (bug#64993). * lisp/hl-line.el (hl-line-nonselected): New face. (global-hl-line-sticky-flag): Add the value 'window'. (global-hl-line-buffers): Change the default value to exclude the minibuffer and 'cursor-face-highlight-mode'. (global-hl-line-mode): Handle the value 'window' of 'global-hl-line-sticky-flag'. (global-hl-line-window-redisplay): New function.
* Detect suspicious email addresses in Rmail and SendmailEli Zaretskii2025-09-281-0/+21
| | | | | | | | | | | | | * lisp/mail/rmail.el (rmail-detect-suspicious-headers): New user option. (rmail-check-suspicious-from): New function, highlights suspicious "From" addresses. (rmail-show-message-1): Call 'rmail-check-suspicious-from' if 'rmail-detect-suspicious-headers' is non-nil. * lisp/mail/sendmail.el (mail-send): Detect suspicious addresses before sending. * etc/NEWS: Announce the new features.
* Restore mouse line dragging in character increments (Bug#79351)Martin Rudalics2025-09-271-0/+10
| | | | | | * lisp/mouse.el (mouse-drag-line): Restore dragging in character increments and make it the default (Bug#79351). * etc/NEWS: Mention restored behavior of mouse line dragging.
* (electric-indent-actions): Add missing NEWSElías Gabriel Pérez2025-09-251-0/+6
| | | | * lisp/electric.el (electric-indent-actions): Fix docstring.
* Navigate *Completions* buffer based on 'completions-format'Stephen Berman2025-09-221-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch makes 'next-completion' and 'previous-completion' work in the vertical completions format analogously to how they work in the default horizontal format (bug#78959). It also fixes wrapping in the vertical format and confines navigation (including wrapping) in column-wise movement in the vertical format to the current line, analogously to how navigation (including wrapping) in line-wise movement in the horizontal format is confined to the current column. * doc/emacs/mini.texi (Completion): Fix several typos and improve wording is several places. (Completion Commands): Document navigation of the *Completions* buffer in the vertical format. Document the difference between format-sensitive movement and strictly column-wise or line-wise movement. Document 'minibuffer-complete-and-exit' and update the documentation of 'minibuffer-completion-auto-choose' and 'minibuffer-choose-completion'. Document the use of a numeric prefix argument with the navigation commands. (Completion Options): Rearrange and improve documentation of 'completions-sort', 'completions-format' and 'completion-auto-wrap', updating the latter to document the new behavior. * lisp/minibuffer.el (minibuffer-visible-completions-map): Rebind "<left>" to 'minibuffer-previous-column-completion' and "<right>" to 'minibuffer-next-column-completion'. (minibuffer-next-completion): Add check for whether completions format is vertical to decide whether to call 'next-line-completion' and replace calling 'next-completion' by 'next-column-completion'. (minibuffer-next-column-completion) (minibuffer-previous-column-completion): New commands. * lisp/simple.el (completion-list-mode-map): Rebind "<left>" to 'previous-column-completion' and "<right>" to 'next-column-completion'. (last-completion): Add handling for vertical completions format. (completion--move-to-candidate-end): Always move point to the position immediately after the last character of the completion candidate. This unifies the behavior, simplifies the implementation and facilitates implementing the improved navigation of the *Completions* buffer. (previous-column-completion, next-column-completion): New commands, replacing the previous definitions of 'previous-completion' and 'next-completion' to reflect their column-wise operation. Confine navigation (including wrapping) in vertical format to the current line. (previous-line-completion, next-line-completion): Implement line-wise navigation (including wrapping) through all completions in vertical format, not just those in the current column as in horiztonal format. Update doc strings. (next-completion, previous-completion): Redefine to call '{next,previous}-line-completion' when completions format is vertical and '{next,previous}-column-completion' otherwise. * test/lisp/minibuffer-tests.el (completions-format-navigation--tests): New function providing a template to define tests of the navigation and wrapping behavior with specified numbers of completion candidates. (completions-format-navigation-test-{2,3,4,5,10,15,16}): New tests.
* Support 'RET' for visiting URLs in read-only buffers (bug#74792)Juri Linkov2025-09-211-0/+5
| | | | | | | | | | | | * lisp/net/browse-url.el (browse-url-keymap-filter) (browse-url-keymap-bind): New functions. (browse-url-button-map): Bind "C-c RET" to 'browse-url-button-open' and rebind "RET" with the filter 'browse-url-keymap-bind'. * lisp/ansi-osc.el (ansi-osc-hyperlink-map): * lisp/net/goto-addr.el (goto-address-highlight-keymap): * lisp/progmodes/bug-reference.el (bug-reference-map): Bind "RET" with the filter 'browse-url-keymap-bind'.
* ; * etc/NEWS: Merge two "Register" sections. Fix wording.Eli Zaretskii2025-09-201-9/+8
|
* (register-preview-info): sort registers in preview bufferMasatake YAMATO2025-09-201-0/+4
| | | | | * lisp/register.el (register-preview): Sort alist returned from `register-of-type-alist'. (Bug#79474)
* ; Fix last change.Eli Zaretskii2025-09-201-2/+1
| | | | | * etc/NEWS: * doc/emacs/programs.texi (Hideshow): Fix wording and punctuation.
* Add hideable indicators for hideshow. (Bug#79294)Elías Gabriel Pérez2025-09-201-2/+30
| | | | | | | | | | | | | | | | * doc/emacs/programs.texi (Hideshow): Update documentation. * etc/NEWS: Announce changes. * lisp/progmodes/hideshow.el (hs-show-indicators) (hs-indicator-type, hs-indicator-maximum-buffer-size): New user options. (hs-indicator-hide, hs-indicator-show): New icons. (hs-block-positions, hs--make-indicators-overlays) (hs-indicator-mouse-toggle-hidding, hs--add-indicators) (hs--refresh-indicators): New functions. (hs-hide-block-at-point): Use hs-block-positions. (hs-inside-comment-p): Use 'get-char-property' instead of 'hs-overlay-at'. (hs-minor-mode): Rework.
* New mode 'minibuffer-nonselected-mode'Juri Linkov2025-09-191-0/+7
| | | | | | | | * lisp/minibuffer.el (minibuffer-nonselected): New face. (minibuffer-nonselected-overlay): New buffer-local variable. (minibuffer-nonselected-check, minibuffer-nonselected-setup): New functions. (minibuffer-nonselected-mode): New command (bug#49844).
* Fixes for csharp-ts-mode fontification (bug#79406)Jostein Kjønigsen2025-09-161-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | - hightlight reserved keywords agressively, dont allow misuse as variables etc (the compiler will fail!) - highlight lambda-valued variables as funtions. - improve semantics of function/class annotations using attributes (maps closer to using-something than declaring it). also: rename to "attribute". "property" has a different, defined meaning in C#. - better highlight variable-use in different scenarios (function-calls, if-statements, assignment-expressions, property-use, anonymous object initializers). - better highlight for property-use (anonymous object initializers). - highlight field-declaration using font-lock-variable-face. - fontify attributes using new face csharp-ts-mode-attribute-face (defaults to font-lock-property-use-face). - remove extensive use of "override" making evalutation hard-to-reason about. * lisp/progmodes/csharp-mode.el (csharp-ts-mode--indent-rules): Update indent rules. (csharp-ts-mode-faces): New group. (csharp-ts-mode-attribute-face): New face. (csharp-ts-mode--font-lock-settings): Rule updates. (csharp-ts-mode): Change property feature to attribute
* New mode 'mouse-shift-adjust-mode' for S-<mouse-1>Juri Linkov2025-09-161-1/+5
| | | | | | | | | * lisp/mouse.el (mouse-shift-adjust-mode-map): New variable. (mouse-shift-adjust-mode): New minor mode (bug#79453). (mouse-shift-adjust-point): New variable. (mouse-drag-region-shift-adjust): New command. (mouse-drag-track, mouse-set-region): Use 'mouse-shift-adjust-point' to take into account the already existing region boundary.
* * lisp/hl-line.el (global-hl-line-sticky-flag): New value 'all'.Juri Linkov2025-09-161-0/+6
| | | | | | (global-hl-line-mode): Use 'global-hl-line-highlight-all' for 'post-command-hook' when the value of 'global-hl-line-sticky-flag' is 'all' (bug#64993).
* Context menu related fixes (bug#64980)Juri Linkov2025-09-161-0/+9
| | | | | | | | | * etc/PROBLEMS: Suggest how to keep context menus open on Lucid. * lisp/mouse.el (context-menu-mode-map): Bind [mouse-3] to 'ignore' instead of 'nil' to not fallback to the default binding. (mouse--drag-start-event): Remove unused variable. (mouse-undouble-last-event): Remove unused function.
* ; Improve recently-added documentationEli Zaretskii2025-09-161-0/+4
| | | | | | | * etc/NEWS: * lisp/vc/vc.el (vc-apply-root-to-other-working-tree): * doc/emacs/vc1-xtra.texi (Other Working Trees): Fix spelling and wording of documentation of recent changes to VC.
* New commands to apply changes to other working treesSean Whitton2025-09-161-0/+2
| | | | | | | | | | | * lisp/vc/diff-mode.el (diff-apply-buffer): New TEST argument. * lisp/vc/vc.el (diff-apply-buffer): Declare. (vc-no-confirm-moving-changes): New user option. (vc-apply-to-other-working-tree) (vc-apply-root-to-other-working-tree): New commands. * lisp/vc/vc-hooks.el (vc-prefix-map): Bind them. * doc/emacs/vc1-xtra.texi (Other Working Trees): * etc/NEWS: Document them.
* Introduc auth-source-ignore-non-existing-fileMichael Albinus2025-09-121-6/+5
| | | | | | | | | | | | * lisp/auth-source.el (auth-source-ignore-non-existing-file): Rename it from `auth-source-ignore-empty-file'. (auth-source-backends-parser-file): Use it. * doc/misc/auth.texi (Help for users): * etc/NEWS: * test/lisp/auth-source-tests.el (auth-source-validate-backend) (auth-source-test-netrc-create-secret): Use `auth-source-ignore-non-existing-file'.
* ; * etc/NEWS: Fix last change.Eli Zaretskii2025-09-111-3/+1
|
* Update to Unicode 17.0Eli Zaretskii2025-09-111-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * test/manual/BidiCharacterTest.txt: * admin/unidata/BidiBrackets.txt: * admin/unidata/BidiMirroring.txt: * admin/unidata/Blocks.txt: * admin/unidata/IVD_Sequences.txt: * admin/unidata/IdnaMappingTable.txt: * admin/unidata/NormalizationTest.txt: * admin/unidata/PropertyValueAliases.txt: * admin/unidata/ScriptExtensions.txt: * admin/unidata/Scripts.txt: * admin/unidata/SpecialCasing.txt: * admin/unidata/UnicodeData.txt: * admin/unidata/confusables.txt: * admin/unidata/emoji-data.txt: * admin/unidata/emoji-sequences.txt: * admin/unidata/emoji-test.txt: * admin/unidata/emoji-variation-sequences.txt: * admin/unidata/emoji-zwj-sequences.txt: Import from Unicode 17.0. * etc/NEWS: * test/lisp/international/ucs-normalize-tests.el (ucs-normalize-tests--failing-lines-part1) (ucs-normalize-tests--failing-lines-part2): * lisp/international/mule-cmds.el (ucs-names): * lisp/international/fontset.el (script-representative-chars) (otf-script-alist): * lisp/international/characters.el: * admin/unidata/blocks.awk: Update for Unicode 17.0.
* Ignore non-existing or empty files in auth-sourcesMichael Albinus2025-09-091-27/+40
| | | | | | | | | | | | | | | | | | | * doc/misc/auth.texi: Replace @code{"..."} by @t{"..."}. (Help for users): Describe property lists format. Explain, that empty files in auth-sources are ignored when auth-source-ignore-empty-file is non-nil. (Help for developers): Add auth-source-creation-defaults to vindex. * etc/NEWS: Introduce auth-source-ignore-empty-file. Presentational fixes and improvements. * lisp/auth-source.el (auth-source-ignore-empty-file): New defcustom. (auth-source-backends-parser-file): Use it. (Bug#9113) * test/lisp/auth-source-tests.el (auth-source-validate-backend): Let-bind `auth-source-ignore-empty-file'. (auth-source-test-searches): Set file suffix. (auth-source-test-netrc-create-secret): Adapt test.
* 'nxml-mode': add schema for .NET SLNX files.Jostein Kjønigsen2025-09-062-0/+77
| | | | | | | | | | | | | | | | | | | | | | | | | SLNX is a new XML-based file-format for .NET based solutions, replacing the older proprietary SLN file-format. Unlike SLN-files, it is merge-friendly and expected to become the new de-facto standard for working with .NET projects. This commit adds support for SLNX-schema to 'nxml-mode'. The schme provided has been synthesized using the official XSD-schema definition: https://github.com/microsoft/vs-solutionpersistence/blob/main/src/Microsoft.VisualStudio.SolutionPersistence/Serializer/Xml/Slnx.xsd This schema was then converted to RNG using XSDtoRNG.xsl: https://github.com/epiasini/XSDtoRNG The RNG schema was then converted to RNC using the trang CLI-tool: https://relaxng.org/jclark/trang.html * etc/schema/dotnet-slnx.rnc: New file. * etc/schema/schemas.xml: Add Slnx schema. * lisp/files.el (auto-mode-alist): Add association for SLNX files. (Bug#79379)
* Make 'm' and 'u' in Log View mode more standardSean Whitton2025-09-051-0/+10
| | | | | | | | | * lisp/vc/log-view.el (log-view-mark-entry) (log-view-unmark-entry): New commands. (log-view-toggle-mark-entry): Rewrite in terms of them. (log-view-mode-map): Unbind log-view-toggle-mark-entry. Bind the two new commands. * etc/NEWS: Document the change.
* Support completion category inheritanceEshel Yaron2025-09-031-0/+5
| | | | | | | | | | | | | | | * lisp/minibuffer.el (define-completion-category): New function. (completion-category-get): New function, implements completion category property lookup with (multiple) inheritance. (completion-metadata-get, completion--styles) (completion--cycle-threshold): Use it. (completion-category-defaults): Mention it in docstring. Remove entry for 'project-buffer' category, and instead... * lisp/progmodes/project.el: ...have 'project-buffer' inherit from 'buffer'. * test/lisp/minibuffer-tests.el (completion-category-inheritance): New test. * etc/NEWS: Announce support for category inheritance.
* Add 'elisp-flymake-byte-compile-executable' defcustomSpencer Baugh2025-09-021-0/+7
| | | | | | | | | | | | | | | | The correct Emacs executable to use for 'elisp-flymake-byte-compile' is not necessarily the running Emacs. For example, when editing trunk with Emacs 30, various Lisp changes will cause spurious flymake warnings. Add 'elisp-flymake-byte-compile-executable' to allow customizing this. * lisp/progmodes/elisp-mode.el (elisp-flymake-byte-compile-executable) (elisp-flymake-byte-compile--executable): Add. (Bug#79342) (elisp-flymake-byte-compile): Invoke 'elisp-flymake-byte-compile--executable'. * etc/NEWS: Announce the change.
* ; * etc/NEWS: Copyedit.Sean Whitton2025-09-021-5/+4
|
* Add new library 'timeout'Philip Kaludercic2025-09-011-0/+6
| | | | | | | * lisp/emacs-lisp/timeout.el: Add the file. * etc/NEWS: Mention the library. See https://mail.gnu.org/archive/html/emacs-devel/2025-07/msg00520.html.
* New user option 'tab-line-define-keys'Juri Linkov2025-08-311-0/+6
| | | | | | | | | | | * lisp/tab-line.el (tab-line-define-keys): New defcustom. (tab-line--define-keys, tab-line--undefine-keys): New functions that explicitly bind commands from 'tab-line-mode-map' to 'ctl-x-map'. (tab-line-mode-map): Leave this keymap empty by default to avoid breaking 'ctl-x-map' (bug#79323). (global-tab-line-mode): Call either 'tab-line--define-keys' or 'tab-line--undefine-keys'.
* * doc/emacs/modes.texi (Choosing Modes): Document 'treesit-enabled-modes'.Juri Linkov2025-08-311-0/+1
|
* ; * etc/NEWS: Document the change that fixed bug#65897.Eli Zaretskii2025-08-311-0/+8
|
* Document and test 'let-alist' support for indexingSpencer Baugh2025-08-301-0/+6
| | | | | | | | * etc/NEWS: Announce 'let-alist' support for indexing. * test/lisp/emacs-lisp/let-alist-tests.el (let-alist-numbers): Add a test for 'let-alist's support for indexing. * doc/lispref/lists.texi (Association Lists): Document indexing with 'let-alist'. (Bug#66509)