From: Andreas Schwab <schwab@linux-m68k.org>
To: emacs-devel@gnu.org
Subject: Re: replacement of find-file-not-found-hooks
Date: Sat, 20 Jul 2024 19:37:45 +0200 [thread overview]
Message-ID: <87o76sarrq.fsf@igel.home> (raw)
In-Reply-To: <87a5icjeua.fsf@mat.ucm.es> (Uwe Brauer via's message of "Sat, 20 Jul 2024 16:52:13 +0200")
On Jul 20 2024, Uwe Brauer via "Emacs development discussions." wrote:
> According to the news:
>
>
> ** Some functions and variables obsolete since Emacs 21 or 22 have been removed:
> 'c-toggle-auto-state', 'find-file-not-found-hooks',
> 'ls-lisp-dired-ignore-case', 'query-replace-regexp-eval'.
>
> I am still using an old (starting in 1988) but very useful package called
> auto-insert-tkld.el (automatic insertion of text into new files.)
>
> It uses
> (add-hook 'find-file-not-found-hooks 'insert-auto-insert-files 'append)
>
> Now it seems that hook has been removed what shall I use instead?
According to the news:
*** A number of hooks have been renamed to better follow the conventions:
'find-file-not-found-hooks' to 'find-file-not-found-functions',
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."
next prev parent reply other threads:[~2024-07-20 17:37 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 14:52 replacement of find-file-not-found-hooks Uwe Brauer via Emacs development discussions.
2024-07-20 15:08 ` [Solved] (was: replacement of find-file-not-found-hooks) Uwe Brauer via Emacs development discussions.
2024-07-20 15:10 ` replacement of find-file-not-found-hooks Eli Zaretskii
2024-07-20 17:37 ` Andreas Schwab [this message]
2024-07-21 15:00 ` Uwe Brauer via Emacs development discussions.
2024-07-21 15:52 ` Eli Zaretskii
2024-07-23 3:42 ` Richard Stallman
2024-07-23 4:32 ` Stefan Kangas
2024-07-23 6:52 ` Uwe Brauer
2024-07-23 8:41 ` Philip Kaludercic
2024-07-23 11:36 ` Eli Zaretskii
2024-07-23 19:34 ` Uwe Brauer
2024-07-23 20:38 ` Stefan Kangas
2024-07-24 11:13 ` Eli Zaretskii
2024-07-24 12:33 ` [toggle-read-only] (was: replacement of find-file-not-found-hooks) Uwe Brauer
2024-07-24 12:47 ` Eli Zaretskii
2024-07-24 15:50 ` [toggle-read-only] Uwe Brauer
2024-07-24 16:41 ` [toggle-read-only] Eli Zaretskii
2024-07-23 21:45 ` replacement of find-file-not-found-hooks Björn Bidar
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o76sarrq.fsf@igel.home \
--to=schwab@linux-m68k.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).