emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reliable after-change-functions (via: Using incremental parsing in E


From: Yuan Fu
Subject: Re: Reliable after-change-functions (via: Using incremental parsing in Emacs)
Date: Mon, 30 Mar 2020 15:02:58 -0400

> On Mar 30, 2020, at 2:46 PM, Stefan Monnier <address@hidden> wrote:
> 
>> https://gitlab.com/stepnem/stripes-el/-/issues/1#note_309176403
>> (In short, `dired-readin' binds `inhibit-modification-hooks' to t, so
>> the buffer changes caused by populating dired buffers are not noticeable
>> in `after-change-functions'.)
>> I was wondering if I should report it as a bug, despite the workaround
>> not being particularly painful in this case (there's 
>> `dired-after-readin-hook').
> 
> I think it deserves a bug report, yes.
> 
> 
>        Stefan
> 

Is it really a bug of dired-mode? Dired-mode probably has a good reason to bind 
`inhibit-modification-hooks` to t. And if we provide such feature (disabling 
after-change-functions), we should expect people using it. Maybe there should 
be a reliable way to be informed of buffer changes (that cannot be silenced).

Yuan


reply via email to

[Prev in Thread] Current Thread [Next in Thread]