1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-12 22:40:46 -08:00
emacs/test/src
Po Lu b36fd07560 Fix deletion of text holding `inhibit-read-only' properties
* src/intervals.h (INTERVAL_VISIBLE_P): Split into ...
(INTERVAL_GENERALLY_WRITABLE_P, INTERVAL_EXPRESSLY_WRITABLE_P):
... two new macros.

* src/textprop.c (verify_interval_modification): If the buffer
is read only, verify not that there is only a single exempting
interval spanning the area of a multiple-character operation,
but that every intervening interval in such an operation exempts
it from write restrictions, either by providing a read-only
property that appears in Vinhibit_read_only, or by providing an
inhibit-read-only property.

* test/src/textprop-tests.el (textprop-interval-immutability):
New test.
2024-04-30 18:28:05 +08:00
..
comp-resources Fix native compilation for circular immediates (bug#67883) 2024-03-24 12:16:11 +01:00
emacs-module-resources Be more systematic about parens in C source code 2024-01-20 17:28:53 -08:00
lread-resources Make force-load-doc-strings work again 2022-08-07 10:25:03 +02:00
regex-resources * src/regex-emacs.c (analyze_first): Fix incorrect optimization 2023-09-27 13:29:50 -04:00
syntax-resources Enhance syntax-tests.el to test nestable comments (Lisp style) 2020-11-17 16:51:49 +00:00
alloc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
buffer-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
callint-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
callproc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
casefiddle-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
character-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
charset-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
chartab-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
cmds-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
coding-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
comp-tests.el * Fix out of date comp pass names in comp-tests.el 2024-04-08 10:52:53 +02:00
data-tests.el cl-preloaded.el: Partly revert last change 2024-03-26 17:27:29 -04:00
decompress-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
doc-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
editfns-tests.el ; Fix whitespace in editfns-tests.el 2024-04-11 08:55:12 +03:00
emacs-module-tests.el Fix recent test regressions 2024-03-22 18:44:54 -04:00
emacs-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
eval-tests.el * test/src/eval-tests.el (eval-tests/default-value): Add new test case. 2024-02-19 15:12:42 +02:00
fileio-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
filelock-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
floatfns-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
fns-tests.el Fix value< string comparison ungoodthink 2024-04-29 14:29:52 +02:00
font-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
image-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
indent-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
inotify-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
json-tests.el Fix json-insert unibyte buffer bug (bug#70007) 2024-04-02 19:10:00 +02:00
keyboard-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
keymap-tests.el * lisp/keymap.el (define-keymap): Demote "duplicate def" to a warning 2024-01-20 15:03:05 -05:00
lcms-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
lread-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
marker-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
minibuf-tests.el Use obarray-make instead of make-vector to create obarrays 2024-02-23 13:02:27 +01:00
print-tests.el * src/print.c (print_object): Don't print empty hash-table data 2024-01-13 20:50:37 +01:00
process-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
regex-emacs-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
search-tests.el (test-replace-match-modification-hooks): Delete test 2024-04-09 11:01:36 -04:00
sqlite-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
syntax-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
textprop-tests.el Fix deletion of text holding `inhibit-read-only' properties 2024-04-30 18:28:05 +08:00
thread-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
timefns-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
treesit-tests.el Make tree-sitter thing feature public and remove obsolete functions 2024-04-07 22:20:31 -07:00
undo-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xdisp-tests.el Merge from savannah/emacs-29 2024-01-02 10:28:14 +08:00
xfaces-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00
xml-tests.el ; Add 2024 to copyright years 2024-01-02 09:47:10 +08:00