[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Remove all existing file notification watches from Emacs
From: |
Michael Albinus |
Subject: |
Re: Remove all existing file notification watches from Emacs |
Date: |
Sat, 16 Oct 2021 15:30:53 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Stefan Monnier <monnier@iro.umontreal.ca> writes:
Hi Stefan,
> I can see its use while debugging but I can't imagine it being of any
> use in real ELisp code because it's much too blunt.
Not only in code. It's an interactive command.
> [ Personally I'd put a `--` in its name and/or add some blurb in the
> docstring explaining it's only for debugging. ]
Nope. There have been bug reports in the past, that Emacs was stalled
after creating hundreds of file notifications. One solution is to
stop/restart Emacs. The other solution is this command.
>> The code is simple enough to avoid regressions. I'd like to add it to
>> the emacs-28 branch (plus doc), any objection?
>
> I don't see any reason why it needs to be in emacs-28.
> It's not a bugfix and there's no hurry.
After advice from Eli, I've pushed it to master.
> Stefan
Best regards, Michael.
Re: Remove all existing file notification watches from Emacs, Stefan Kangas, 2021/10/16