<feed xmlns='http://www.w3.org/2005/Atom'>
<title>chemacs.git/lisp/replace.el, branch devmain</title>
<subtitle>emacs
</subtitle>
<id>http://cgit.adnoto.dev/chemacs.git/atom?h=devmain</id>
<link rel='self' href='http://cgit.adnoto.dev/chemacs.git/atom?h=devmain'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/'/>
<updated>2026-05-27T15:37:04Z</updated>
<entry>
<title>Fix lax whitespace highlight during query-replace</title>
<updated>2026-05-27T15:37:04Z</updated>
<author>
<name>Zhengyi Fu</name>
<email>i@fuzy.me</email>
</author>
<published>2026-05-27T02:03:36Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c3babe4b8966c3ada6305b2af85e24398190a14f'/>
<id>urn:sha1:c3babe4b8966c3ada6305b2af85e24398190a14f</id>
<content type='text'>
* lisp/replace.el (query-replace-read-args): Add :lax-whitespace to
minibuffer-lazy-highlight-setup, so lazy highlight during
query-replace respects replace-lax-whitespace and
replace-regexp-lax-whitespace (bug#81131).

Copyright-paperwork-exempt: yes
</content>
</entry>
<entry>
<title>; Improve documentation of lazy-highlight in search and replace commands</title>
<updated>2026-05-22T11:46:13Z</updated>
<author>
<name>Eli Zaretskii</name>
<email>eliz@gnu.org</email>
</author>
<published>2026-05-22T11:46:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=7df8604ea635e7940af19e0fe06e5f644181f32e'/>
<id>urn:sha1:7df8604ea635e7940af19e0fe06e5f644181f32e</id>
<content type='text'>
* lisp/isearch.el (lazy-highlight, lazy-highlight-initial-delay)
(lazy-highlight-buffer, isearch-lazy-highlight, isearch-forward):
* lisp/replace.el (query-replace, query-replace-lazy-highlight)
(query-replace, query-replace-regexp): Doc fixes.

* doc/emacs/search.texi (Search Customizations): Document
'lazy-highlight-buffer' and 'lazy-highlight-buffer-max-at-a-time'.
Use @vtable to avoid the need of indexing each variable
separately.
</content>
</entry>
<entry>
<title>Revert "New key 'M-j' for 'icomplete-mode' (bug#62108)"</title>
<updated>2026-02-11T07:19:52Z</updated>
<author>
<name>Juri Linkov</name>
<email>juri@linkov.net</email>
</author>
<published>2026-02-11T07:19:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=79fda663272636345927a88fbc38b73953668a67'/>
<id>urn:sha1:79fda663272636345927a88fbc38b73953668a67</id>
<content type='text'>
This reverts commit 3584a762b8cbfb6e13011827ec5934f039344d0f.
Another fix follows shortly after this commit.
</content>
</entry>
<entry>
<title>New key 'M-j' for 'icomplete-mode' (bug#62108)</title>
<updated>2026-01-30T07:27:12Z</updated>
<author>
<name>Juri Linkov</name>
<email>juri@linkov.net</email>
</author>
<published>2026-01-30T07:27:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=3584a762b8cbfb6e13011827ec5934f039344d0f'/>
<id>urn:sha1:3584a762b8cbfb6e13011827ec5934f039344d0f</id>
<content type='text'>
* lisp/icomplete.el (icomplete-exit): New alias for 'icomplete-fido-exit'.
(icomplete-minibuffer-map): Bind it to "M-j" .

* lisp/replace.el (multi-occur--prompt): Show "M-j" bound to 'icomplete-exit'
in 'icomplete-mode'.
</content>
</entry>
<entry>
<title>; Add 2026 to copyright years.</title>
<updated>2026-01-01T12:54:34Z</updated>
<author>
<name>Sean Whitton</name>
<email>spwhitton@spwhitton.name</email>
</author>
<published>2026-01-01T12:54:34Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=c31f6adc31d48076c63ad82b83b2970e1b0d7b9b'/>
<id>urn:sha1:c31f6adc31d48076c63ad82b83b2970e1b0d7b9b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>December 2025 spelling fixes</title>
<updated>2025-12-26T18:22:12Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-12-26T18:20:45Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=481ad70d5cb5ef68a456152a6bab88e27f9bd319'/>
<id>urn:sha1:481ad70d5cb5ef68a456152a6bab88e27f9bd319</id>
<content type='text'>
Some of the fixes are to continue to use American
rather than British spelling.
* doc/misc/modus-themes.org (my-modus-themes-engraved-faces):
Fix misspelled ‘:foreground’s.
* etc/themes/modus-themes.el (modus-themes-faces):
Fix misspelled ‘modus-themes-bold’.
* lisp/emacs-lisp/rx.el (rx--normalize-char-pattern):
Rename from rx--normalise-char-pattern.
(rx--optimize-or-args):	Rename from rx--optimise-or-args.
* lisp/frame.el (frame--special-parameters):
Fix misspelled "right-divider-width".
* lisp/net/tramp.el (tramp-fingerprint-prompt-regexp):
Use American spelling “centered”, to match current libfprintf.
* lisp/org/org-fold-core.el (org-fold-core--optimize-for-huge-buffers):
Rename from org-fold-core--optimise-for-huge-buffers.
(org-fold-core-update-optimization):
Rename from org-fold-core-update-optimisation,
leaving an alias behind.
(org-fold-core-remove-optimization):
Rename from org-fold-core-remove-optimisation,
leaving an alias behind.
* lisp/org/org.el (org-advertized-archive-subtree):
This alias is now obsolete.
* lisp/play/zone.el (zone-ignored-buffers):
Fix misspelling of ‘zone--buffer-encrypted-p’.
* lisp/progmodes/csharp-mode.el (csharp-ts-mode-faces):
Fix misspelling of ‘csharp’ group.
* lisp/vc/vc.el (vc-clonable-backends-custom-type):
Rename from vc-cloneable-backends-custom-type,
leaving an alias behind.
* test/lisp/emacs-lisp/bytecomp-tests.el:
(bytecomp-tests--warn-arity-non-compiled-callee):
Rename from bytecomp-tests--warn-arity-noncompiled-callee.
(bytecomp-test-defface-spec): Reword a deliberate misspelling
of “default” that is so common I don’t want it to pollute the
spelling dictionary.
* test/lisp/emacs-lisp/package-vc-tests.el:
(package-vc-tests-preserve-artifacts):
Rename from package-vc-tests-preserve-artifacts.
* test/lisp/eshell/em-prompt-tests.el:
(em-prompt-test/forward-backward-paragraph-1):
Reword a deliberate misspelling of “goodbye” that is so common I
don’t want it to pollute the spelling dictionary.
</content>
</entry>
<entry>
<title>Add query-replace-read-transpose-from-to</title>
<updated>2025-12-20T19:10:06Z</updated>
<author>
<name>Jens Schmidt</name>
<email>jschmidt4gnu@vodafonemail.de</email>
</author>
<published>2025-11-14T19:28:23Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=bc30310f8753ee35c77f7e70ba6707f066475aba'/>
<id>urn:sha1:bc30310f8753ee35c77f7e70ba6707f066475aba</id>
<content type='text'>
Provide a command to easily swap FROM and TO arguments in a query
replace operation.

* lisp/replace.el (query-replace-read-transpose-from-to): New function.
(query-replace-read-map): New keymap.
(query-replace-read-from): Use new keymap to read from minibuffer.
(read-regexp-map): Inherit from 'query-replace-read-map'.
(query-replace-read-from, query-replace-read-to): Fix parameter
references in doc strings.
* etc/NEWS: Document the change.  (Bug#79835)
</content>
</entry>
<entry>
<title>Override 'display-buffer-overriding-action' conditionally in perform-replace</title>
<updated>2025-12-01T17:29:11Z</updated>
<author>
<name>Juri Linkov</name>
<email>juri@linkov.net</email>
</author>
<published>2025-12-01T17:29:11Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=481977f5970e71d0c0575d48dbd5b1b0ea1bc63f'/>
<id>urn:sha1:481977f5970e71d0c0575d48dbd5b1b0ea1bc63f</id>
<content type='text'>
* lisp/replace.el (perform-replace): For 'diff' display, override
'display-buffer-overriding-action' only when it has the default value.
https://lists.gnu.org/archive/html/emacs-devel/2025-11/msg01077.html
</content>
</entry>
<entry>
<title>Fix query-replace-regexp for using '^' with calculated replacement '\,'</title>
<updated>2025-11-24T18:14:15Z</updated>
<author>
<name>Juri Linkov</name>
<email>juri@linkov.net</email>
</author>
<published>2025-11-24T18:14:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=33d813c63b9e050c04066a3a6d75fc5c02234389'/>
<id>urn:sha1:33d813c63b9e050c04066a3a6d75fc5c02234389</id>
<content type='text'>
* lisp/replace.el (replace--push-stack): Add new args
'next-replacement' and 'match-again' and push them to the stack.
(perform-replace): Restore the previous already calculated values
of 'next-replacement' and 'match-again' from the stack for the
'backup' ('^') key (bug#79811).

* test/lisp/replace-tests.el (query-replace-tests): Add tests.
</content>
</entry>
<entry>
<title>Show the diff buffer with replacements by typing 'd' in 'query-replace'</title>
<updated>2025-11-20T18:39:29Z</updated>
<author>
<name>Juri Linkov</name>
<email>juri@linkov.net</email>
</author>
<published>2025-11-20T18:39:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/chemacs.git/commit/?id=f4d353f9c9e7dea67f04020a9218c7dfb244d44b'/>
<id>urn:sha1:f4d353f9c9e7dea67f04020a9218c7dfb244d44b</id>
<content type='text'>
* doc/emacs/search.texi (Query Replace): Mention new key 'd'.

* lisp/replace.el (query-replace-help): Mention the key 'd'.
(query-replace-map): Bind the key 'd' to 'diff'.
(perform-replace): When 'def' is equal to 'diff',
call 'multi-file-replace-as-diff' to show the diff buffer
with replacements (bug#79761).
</content>
</entry>
</feed>
