[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: replacement of find-file-not-found-hooks
From: |
Eli Zaretskii |
Subject: |
Re: replacement of find-file-not-found-hooks |
Date: |
Wed, 24 Jul 2024 14:13:05 +0300 |
> From: Uwe Brauer <oub@mat.ucm.es>
> Cc: Philip Kaludercic <philipk@posteo.net>, oub@mat.ucm.es,
> stefankangas@gmail.com, rms@gnu.org, emacs-devel@gnu.org
> Date: Tue, 23 Jul 2024 21:34:22 +0200
>
> > Indeed. We leave these obsolete aliases for several major releases to
> > give people enough time to pay attention to those obsolescence
> > warnings, and change their code before the obsolete
> > variables/functions are actually deleted.
>
> Several comments,
>
> 1. I «load» via require and I therefore those message are somewhat
> difficult to notice.
I understand, but you are encouraged to pay attention to these
warnings, if you don't want surprises.
> 2. When I compile I of course see the warnings, but do you suggest
> that I just byte compile all my files after installing a new
> Emacs version?
Yes, I'd definitely recommend that. I do it myself on my systems,
FWIW.
> 3. I still find the naming «find-file-not-found-functions»
> and therefore the call
> (add-hook 'find-file-not-found-functions
> 'insert-auto-insert-files 'append)
> counterintuitive, (now it is too late, but why wasn't this called
> «find-file-not-found-hook-functions» or something like this).
Longer names are harder to type and read.
> 5. I still don't gasp the advantage of renaming functions and
> variables. I understand the benefit of introducing new functions and
> variables but the benefit of renaming variables and functions I
> fail to see.
It makes Emacs easier to learn and use.
- Re: replacement of find-file-not-found-hooks, (continued)
- Re: replacement of find-file-not-found-hooks, Andreas Schwab, 2024/07/20
- Re: replacement of find-file-not-found-hooks, Uwe Brauer, 2024/07/21
- Re: replacement of find-file-not-found-hooks, Eli Zaretskii, 2024/07/21
- Re: replacement of find-file-not-found-hooks, Richard Stallman, 2024/07/22
- Re: replacement of find-file-not-found-hooks, Stefan Kangas, 2024/07/23
- Re: replacement of find-file-not-found-hooks, Uwe Brauer, 2024/07/23
- Re: replacement of find-file-not-found-hooks, Philip Kaludercic, 2024/07/23
- Re: replacement of find-file-not-found-hooks, Eli Zaretskii, 2024/07/23
- Re: replacement of find-file-not-found-hooks, Uwe Brauer, 2024/07/23
- Re: replacement of find-file-not-found-hooks, Stefan Kangas, 2024/07/23
- Re: replacement of find-file-not-found-hooks,
Eli Zaretskii <=
- [toggle-read-only] (was: replacement of find-file-not-found-hooks), Uwe Brauer, 2024/07/24
- Re: [toggle-read-only] (was: replacement of find-file-not-found-hooks), Eli Zaretskii, 2024/07/24
- Re: [toggle-read-only], Uwe Brauer, 2024/07/24
- Re: [toggle-read-only], Eli Zaretskii, 2024/07/24
- Re: replacement of find-file-not-found-hooks, Björn Bidar, 2024/07/23