[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Exposing buffer text modifications to Lisp
From: |
Ihor Radchenko |
Subject: |
Re: Exposing buffer text modifications to Lisp |
Date: |
Tue, 21 Jun 2022 11:58:50 +0800 |
Alan Mackenzie <acm@muc.de> writes:
> On Mon, Jun 20, 2022 at 19:58:31 +0800, Ihor Radchenko wrote:
>> Eli Zaretskii <eliz@gnu.org> writes:
>
> [ .... ]
>
>> > If you already have a workaround for marker-related problems, then why
>> > do you need to hook into insertion and deletion on the lowest level?
>
>> Because the workaround relies on before/after-change-functions that may
>> be suppressed by bad third-party code.
>
> Why is that your (or our) problem? Code which isn't the major mode
> masking out the change functions is just invalid code. Can't you just
> document somewhere that before/after-change-functions are an essential
> part of Org Mode, and that messing around with them will lead to
> unpredictable results?
It is indeed possible. However, this particular issue can cause data
loss in user files. Which I'd prefer to avoid at all costs.
Best,
Ihor
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), (continued)
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), Ihor Radchenko, 2022/06/18
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), Eli Zaretskii, 2022/06/18
- Re: Exposing buffer text modifications to Lisp (was: Tree-sitter integration on feature/tree-sitter), Ihor Radchenko, 2022/06/18
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/18
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Eli Zaretskii, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Stefan Kangas, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/20
- Re: Exposing buffer text modifications to Lisp, Ihor Radchenko, 2022/06/21
- Re: Exposing buffer text modifications to Lisp, Alan Mackenzie, 2022/06/20
- Re: Exposing buffer text modifications to Lisp,
Ihor Radchenko <=
Re: Tree-sitter integration on feature/tree-sitter, Eli Zaretskii, 2022/06/17
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/17
- Re: Tree-sitter integration on feature/tree-sitter, Eli Zaretskii, 2022/06/17
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/17
- Re: Tree-sitter integration on feature/tree-sitter, Eli Zaretskii, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Eli Zaretskii, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/18
- Re: Tree-sitter integration on feature/tree-sitter, Eli Zaretskii, 2022/06/19
- Re: Tree-sitter integration on feature/tree-sitter, Yuan Fu, 2022/06/19