From: Uwe Brauer via "Emacs development discussions." <emacs-devel@gnu.org>
To: emacs-devel@gnu.org
Subject: replacement of find-file-not-found-hooks
Date: Sat, 20 Jul 2024 16:52:13 +0200 [thread overview]
Message-ID: <87a5icjeua.fsf@mat.ucm.es> (raw)
Hi
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?
Backward compatibility, sigh
Regards
Uwe Brauer
--
I strongly condemn Hamas heinous despicable pogroms/atrocities on Israel
I strongly condemn Putin's war of aggression against Ukraine.
I support to deliver weapons to Ukraine's military.
I support the EU and NATO membership of Ukraine.
next reply other threads:[~2024-07-20 14:52 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-20 14:52 Uwe Brauer via Emacs development discussions. [this message]
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
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=87a5icjeua.fsf@mat.ucm.es \
--to=emacs-devel@gnu.org \
--cc=oub@mat.ucm.es \
/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).