1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-18 08:51:45 -08:00
emacs/test/src
Stefan Monnier 40d8650d51 (Freplace_buffer_contents): Preserve markers more carefully
Use `replace_range` rather than `delete+insert`.

* src/insdel.c (replace_range): Allow NEW to specify a chunk
of buffer text.
* src/editfns.c (Freplace_buffer_contents): Use it.
* test/src/editfns-tests.el (replace-buffer-contents-1): Remove
incorrect check which happened to succeed because point was not
preserved carefully enough.  Make the replacement text share a bit
more content to make the test a bit more strict.
(editfns-tests--replace-region): Doesn't fail any more.
2025-03-11 17:16:21 -04:00
..
comp-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
emacs-module-resources Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lread-resources
regex-resources * src/regex-emacs.c (analyze_first): Fix incorrect optimization 2023-09-27 13:29:50 -04:00
syntax-resources
alloc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
buffer-tests.el Prefer ert-with-temp-directory in tests 2025-02-23 03:46:57 +01:00
callint-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
callproc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
casefiddle-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
character-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
charset-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
chartab-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
cmds-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
coding-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
comp-tests.el ; Grammar fixes for "native-compiled" 2025-02-28 20:20:55 +01:00
data-tests.el Prefer incf to cl-incf in tests 2025-02-23 00:38:22 +01:00
decompress-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
doc-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
editfns-tests.el (Freplace_buffer_contents): Preserve markers more carefully 2025-03-11 17:16:21 -04:00
emacs-module-tests.el Prefer plusp/minusp to cl-plusp/cl-minusp 2025-02-17 22:46:56 +01:00
emacs-tests.el Port allows-stdout test to overly-suspicious bwrap 2025-01-22 11:04:57 -08:00
eval-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
fileio-tests.el Prefer ert-with-temp-directory in tests 2025-02-23 03:46:57 +01:00
filelock-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
floatfns-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
fns-tests.el Merge from origin/emacs-30 2025-03-01 10:01:52 -05:00
font-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
image-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
indent-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
inotify-tests.el Guarantee delivery of inotify special events 2025-02-26 10:39:46 +08:00
json-tests.el Prefer incf to cl-incf in tests 2025-02-23 00:38:22 +01:00
keyboard-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
keymap-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lcms-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
lread-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
marker-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
minibuf-tests.el Prefer incf to cl-incf in tests 2025-02-23 00:38:22 +01:00
print-tests.el Fix print-tests 2025-02-23 01:34:46 +01:00
process-tests.el Adapt process-tests to Android 2025-02-28 21:06:48 +08:00
regex-emacs-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
search-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
sqlite-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
syntax-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
textprop-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
thread-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
timefns-tests.el Use eabs in Fcurrent_time_zone 2025-01-13 01:05:42 +01:00
treesit-tests.el Rename treesit-add-simple-indent-rules 2025-02-17 13:38:15 -08:00
undo-tests.el Prefer oddp/evenp to free-coding them in tests 2025-02-17 05:37:10 +01:00
xdisp-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xfaces-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00
xml-tests.el Update copyright year to 2025 2025-01-02 18:39:42 +01:00