[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#25111: (Inaccurate documentation of inhibit-modification-hooks)
From: |
npostavs |
Subject: |
bug#25111: (Inaccurate documentation of inhibit-modification-hooks) |
Date: |
Mon, 03 Jun 2019 15:26:38 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1.92 (windows-nt) |
Alan Mackenzie <acm@muc.de> writes:
> Hello, Eli.
>
> To recap, the problem we were talking about was the modification-hooks
> overlay property, whose value is a function which gets called before and
> after modification of the text under an overlay.
>
> When such a function gets called, inhibit-modification-hooks is left at
> nil. When the other four similar overlay/text-property "change
> functions" get called, inhibit-modification-hooks gets bound to t.
Minor correction: it's the modification-hooks text property which have
inhibit-modification-hooks left at nil, when the overlay property
modification-hooks get called inhibit-modification-hooks is bound to t,
just like in the after/before-change-functions case.
> This is difficult to document coherently.
And confusing, as evidenced by the fact that we both got confused about
it in this very thread :)
> My proposal of last week was to fix the code, also to bin
> inhibit-modification-hooks to t for the modification-hooks overlay
> property, even though this would be an incompatibility in Lisp.
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Alan Mackenzie, 2019/06/03
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks),
npostavs <=
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Alan Mackenzie, 2019/06/04
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Eli Zaretskii, 2019/06/04
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Eli Zaretskii, 2019/06/09
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Alan Mackenzie, 2019/06/09
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Alan Mackenzie, 2019/06/24
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Noam Postavsky, 2019/06/24
- bug#25111: (Inaccurate documentation of inhibit-modification-hooks), Alan Mackenzie, 2019/06/25