emacs-devel
[Top][All Lists]
Advanced

[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.



reply via email to

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