aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Doc clarificationscratch/string-common-prefixPhil Sainty2025-06-292-2/+3
|
* fixup! Subsume `string-try-completion' into `string-common-prefix'Phil Sainty2025-06-291-1/+1
|
* Revised commit messagePhil Sainty2025-06-290-0/+0
| | | | | | | | | | | | Add function `string-common-prefix' * lisp/subr.el: (string-common-prefix): New function. * etc/NEWS: * doc/lispref/strings.texi: * doc/lispref/minibuf.texi: * lisp/emacs-lisp/shortdoc.el: Documentation.
* fixup! Subsume `string-try-completion' into `string-common-prefix'Phil Sainty2025-06-292-19/+23
|
* Subsume `string-try-completion' into `string-common-prefix'Phil Sainty2025-06-295-58/+74
|
* fixup! Add functions `string-common-prefix' and `string-try-completion'Phil Sainty2025-06-091-4/+0
|
* Add functions `string-common-prefix' and `string-try-completion'Phil Sainty2025-06-085-1/+105
| | | | | | | | | | | * lisp/subr.el: (string-common-prefix, string-try-completion): New functions. * lisp/emacs-lisp/shortdoc.el: * doc/lispref/strings.texi: * doc/lispref/minibuf.texi: * etc/NEWS: Documentation.
* vc-next-action: On mixed state sets, treat missing files as removedSean Whitton2025-06-081-4/+4
| | | | | | | * lisp/vc/vc.el (vc-only-files-state-and-model, vc-next-action): Add the 'missing' state to the set of compatible states for mixed state actions. This means you can commit removals of files without first moving them to the 'removed' state.
* vc-next-action: Offer to delete missing filesSean Whitton2025-06-081-5/+4
| | | | | | * lisp/vc/vc.el (vc-next-action): Call vc-delete-file on a set of missing files, to move them to the 'removed' state, instead of just erroring out.
* Fix 'ffap-string-at-point' under 'ffap-file-name-with-spaces'Eli Zaretskii2025-06-082-13/+35
| | | | | | | | | * lisp/ffap.el (ffap-file-name-with-spaces): Doc fix. (ffap-string-at-point): Don't reject '~foo/' and 'd:/bar' file names when 'ffap-file-name-with-spaces' is non-nil. * test/lisp/ffap-tests.el (ffap-test-with-spaces): Add tests, and fix expected results to not strip Windows drive letters.
* ; Use completion category 'recentf' in 'recentf-open'Eshel Yaron2025-06-071-1/+3
| | | | | | | | * lisp/recentf.el (recentf-open): Specify a completion category, 'recentf', when prompting for a recent file name. This allows users the customize the behavior of recent file name completion via 'completion-category-overrides'. (Bug#78596)
* Fix 'save-some-buffers' when file name has embedded '%'Eli Zaretskii2025-06-071-19/+19
| | | | | * lisp/emacs-lisp/map-ynp.el (map-y-or-n-p): Don't assume the prompt will never include the '%' character. (Bug#78715)
* vc-git: Properly track unstaged deletionsSean Whitton2025-06-071-8/+19
| | | | | | | * lisp/vc/vc-git.el (vc-git--git-status-to-vc-state) (vc-git-after-dir-status-stage): Return/set 'missing' VC state, not 'removed' state, for unstaged deletions. (vc-git-dir-status-goto-stage): Add 'ls-files-missing' stage.
* ; * lisp/vc/vc-git.el (vc-git-after-dir-status-stage): Comments.Sean Whitton2025-06-071-0/+10
|
* Inline sole call to vc-git--state-codeSean Whitton2025-06-071-11/+8
| | | | | * lisp/vc/vc-git.el (vc-git--state-code): Delete. (vc-git-after-dir-status-stage): Inline it here.
* Merge from origin/emacs-30Eli Zaretskii2025-06-072-2/+5
|\ | | | | | | | | e4ba279b014 ; * doc/emacs/misc.texi (Network Security): Fix typo. 8fdb2d19b49 ; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix...
| * ; * doc/emacs/misc.texi (Network Security): Fix typo.Robert Pluim2025-06-061-1/+1
| |
| * ; * lisp/treesit.el (treesit-beginning-of-defun): Doc fix (bug#78703).Eli Zaretskii2025-06-061-1/+4
| |
* | ; Merge from origin/emacs-30Eli Zaretskii2025-06-070-0/+0
|\ \ | |/ | | | | | | | | The following commit was skipped: 41f8dc18dfd Make xoauth2 auth fail when a smtp server replies 334 (Bu...
| * Make xoauth2 auth fail when a smtp server replies 334 (Bug#78366)Xiyue Deng2025-06-031-5/+15
| | | | | | | | | | | | | | * lisp/mail/smtpmail.el (smtpmail-try-auth-method): Throw error 535 when receiving a "334 server challenge" reply. (cherry picked from commit 53371c959462a677a29ee869b3b6627facf3ed79)
* | Merge from origin/emacs-30Eli Zaretskii2025-06-071-0/+6
|\ \ | |/ | | | | cd57a05542b ; * etc/PROBLEMS: Improve the item about 'C-S-u' in PGTK ...
| * ; * etc/PROBLEMS: Improve the item about 'C-S-u' in PGTK build.Eli Zaretskii2025-06-021-0/+6
| |
* | ; Fix last change (bug#78396)Eli Zaretskii2025-06-073-17/+21
| | | | | | | | | | | | | | * lisp/paren.el (show-paren-not-in-comments-or-strings): * etc/NEWS: * doc/emacs/programs.texi (Matching): Fix wording and punctuation in doc string, defcustom tags, manual, and NEWS.
* | Add option for not highlight parens inside comments or stringsElías Gabriel Pérez2025-06-073-81/+117
| | | | | | | | | | | | | | | | * lisp/paren.el (show-paren-not-in-comments-or-strings): New user option. (Bug#78396) (show-paren-function): Enclose code in 'catch' function. * etc/NEWS: Announce changes. * doc/emacs/programs.texi (Matching): Document new option.
* | Fix vertical-motion when an image is at EOL under word-wrapJD Smith2025-06-071-4/+15
| | | | | | | | | | | | * src/xdisp.c (move_it_in_display_line_to): Fix return value under word-wrap when a screen line ends with an image that "just fits". (Bug#67604)
* | ; Fix last change (bug#77945)Eli Zaretskii2025-06-072-7/+7
| | | | | | | | | | * lisp/faces.el (face-all-attributes): * etc/NEWS: Reformat and fix wording in documentation.
* | Add optional inherit argument to 'face-all-attributes' (bug#77945)shipmints2025-06-073-12/+23
| | | | | | | | | | * lisp/faces.el (face-all-attributes): Add 'inherit' argument and pass to 'face-attribute'.
* | Avoid whitespace-mode breaking standard-display-unicode-special-glyphsEli Zaretskii2025-06-071-1/+2
| | | | | | | | | | | | | | * lisp/whitespace.el (whitespace-display-char-on): Copy from 'standard-display-table' if 'buffer-display-table' is nil. This avoids overwriting display-table customizations by features that modify 'standard-display-table' for global effects. (Bug#78522)
* | Teach checkdoc about (:this that) in cl-defunEli Zaretskii2025-06-071-16/+28
| | | | | | | | | | * lisp/emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine): Support more complex keyword args. (Bug#78543)
* | Fix semantic-utest-ia testsEli Zaretskii2025-06-071-1/+2
| | | | | | | | | | * test/lisp/cedet/semantic-utest-ia.el (semantic-ia-utest): Clean up better, to avoid affecting the next test.
* | * lisp/cedet/semantic.el: Turn off semantic-mode in all buffers (bug#76815),Lin Sun2025-06-071-5/+7
| |
* | New revert-files VC backend function for faster mass revertsSean Whitton2025-06-063-24/+58
| | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-revert-files): * lisp/vc/vc-hg.el (vc-hg-revert-files): * lisp/vc/vc.el (vc-revert-files): New functions. (vc-revert-files): Incorporate vc-revert's calls to message here so that the messages are displayed more consistently. (vc-next-action, vc-default-checkin-patch, vc-revert): Use vc-revert-files instead of vc-revert-file.
* | Fix apparent thinko in vc-next-actionSean Whitton2025-06-061-2/+2
| | | | | | | | | | | | * lisp/vc/vc.el (vc-next-action): Pass an argument to buffer-modified-p because the loop does not set the current buffer before calling that function.
* | VC: Deprecate log-incoming and log-outgoing backend functionsSean Whitton2025-06-066-37/+49
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-incoming-revision): Inline vc-git--fetch-incoming. (vc-git--fetch-incoming, vc-git-log-incoming) (vc-git-log-outgoing): Delete. * lisp/vc/vc-hg.el (vc-hg-mergebase): * lisp/vc/vc.el (vc-default-log-incoming) (vc-default-log-outgoing): New functions. * lisp/vc/vc.el: * etc/NEWS: Document the deprecation.
* | * lisp/vc/vc.el: Update specification of print-log backend function.Sean Whitton2025-06-061-6/+6
| |
* | ; vc--with-backend-in-rootdir: Fix Edebug declaration.Sean Whitton2025-06-061-1/+1
| |
* | ; * lisp/register.el (cl-find-class): declare to silence warningMattias Engdegård2025-06-061-0/+1
| |
* | project-switch-to-buffer: Don't disambiguate too muchDmitry Gutov2025-06-061-7/+22
| | | | | | | | | | | | * lisp/progmodes/project.el (project--read-project-buffer): Use the new function from 'uniquify' to generate buffer names that are just unique to the current project, not globally (bug#77312).
* | Add uniquify-get-unique-names (bug#77312)Spencer Baugh2025-06-061-11/+55
| | | | | | | | | | | | | | | | | | | | | | | | This new function provides an interface to uniquify.el which doesn't change the actual names of the buffers. This is useful for any commands which deal with a subset of all buffers; for example, project.el. * lisp/uniquify.el (uniquify-rationalize--generic): Add. (uniquify-rationalize, uniquify-rationalize-a-list) (uniquify-rationalize-conflicting-sublist): Explicitly pass RENAME-BUFFER-FN and GET-BUFFER-FN. (uniquify--stateless-curname, uniquify-get-unique-names): Add.
* | Fix function arity check for noncompiled callees (bug#78685)Mattias Engdegård2025-06-052-5/+16
| | | | | | | | | | | | | | | | | | This is a regression from Emacs 29. * lisp/emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it work for functions that aren't compiled. * test/lisp/emacs-lisp/bytecomp-tests.el (bytecomp-tests--f): (bytecomp-tests--warn-arity-noncompiled-callee): Add test.
* | Fix Tramp connection propertyMichael Albinus2025-06-052-8/+8
| | | | | | | | | | | | * lisp/net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): * lisp/net/tramp-rclone.el (tramp-rclone-maybe-open-connection): Set "connected" property in time.
* | * lisp/subr.el (play-sound): Update docstring (bug#78694).Kazuhiro Ito2025-06-051-1/+1
| |
* | ; Improve documentation of treesit nodesEli Zaretskii2025-06-051-2/+10
| | | | | | | | | | * doc/lispref/parsing.texi (Retrieving Nodes): Fix and describe the printed representation of treesit nodes.
* | Delay running vc-checkin-hook for an async checkinSean Whitton2025-06-053-41/+61
| | | | | | | | | | | | | | | | | | * lisp/vc/vc-git.el (vc-git-checkin): * lisp/vc/vc-hg.el (vc-hg-checkin, vc-hg-checkin-patch): Run vc-checkin-hook using vc-run-delayed. * lisp/vc/vc.el (vc-checkin): Don't pass vc-checkin-hook to vc-start-logentry when doing an async checkin. That runs the hook too early.
* | ; * etc/NEWS: Call out incompatible change in 'date-to-time'.Eli Zaretskii2025-06-051-0/+11
| |
* | Improve documentation of treesit "thing"Eli Zaretskii2025-06-053-52/+80
| | | | | | | | | | | | | | | | | | | | * src/treesit.c (syms_of_treesit): * lisp/treesit.el (treesit-cycle-sexp-type): (treesit-thing-at, treesit-thing-at-point): Doc fixes. * doc/lispref/parsing.texi (User-defined Things): Improve documentation of treesit "thing" and related functions; add cross-references and indexing.
* | (cl-deftype): Silence spurious warnings in `xcb-types.el`Stefan Monnier2025-06-041-1/+1
| | | | | | | | | | * lisp/emacs-lisp/cl-macs.el (cl-deftype): Don't warn if the predicate doesn't use its argument, e.g. when the type is equivalent to `t`.
* | (outline--hidden-headings-paths): Fix slow saves (bug#78665)Stefan Monnier2025-06-042-59/+90
| | | | | | | | | | | | | | | | | | | | | | | | * lisp/outline.el: Prefer #' to quote function names. (outline--end-of-previous): New function, extracted from `outline-end-of-subtree`. (outline-end-of-subtree): Use it. (outline--hidden-headings-paths): Distinguish headings where just the entry is hidden from those where a whole subtree is hidden (bug#78673). (outline--hidden-headings-restore-paths): Adjust accordingly and don't delegate to functions like `outline-hide-subtree` so as to avoid an O(N²) behavior.
* | * lisp/tab-line.el: Use 'tab-line-event-start' in remaining functions.Juri Linkov2025-06-041-2/+2
| | | | | | | | | | | | (tab-line-switch-to-prev-tab, tab-line-switch-to-next-tab): Use 'tab-line-event-start' instead of 'event-start' like in all other functions.
* | ; * src/nsterm.m (ns_draw_stretch_glyph_string): Fix a thinko (bug#78654).Eli Zaretskii2025-06-041-1/+1
| |