From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: derived-mode-run-hooks
Date: Fri, 15 Jul 2005 01:06:55 -0400 [thread overview]
Message-ID: <873bqgk6e4.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <f7ccd24b050714064130f13318@mail.gmail.com> (Juanma Barranquero's message of "Thu, 14 Jul 2005 15:41:34 +0200")
> It's OK to delete, or at least comment out, the function
> `derived-mode-run-hooks' from derived.el? It has been unused for
> almost five years:
> http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/Attic/derived.el.diff?r1=1.20&r2=1.21
> It still exists in XEmacs' derived.el, but it is not part of the
> derived.el API, just an internal function.
It's part of the internal API used by code that has been byte-compiled with
Emacs-20 (the macro-expansion of define-derived-mode used
derived-mode-run-hooks back then).
So removing it may prevent running .elc files compiled with Emacs-20.
I'd expect that several people have .elc files compiled with Emacs-20 for
the purpose of making them work with both Emacs-20 and Emacs-21, so unless
you have a good reason to get rid of that function (and the various other
similar ones in derived.el), I'd recommend we keep it a bit longer.
After all, derived.el is normally not loaded by end-users anyway so its size
doesn't matter that much.
Stefan
next prev parent reply other threads:[~2005-07-15 5:06 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-14 13:41 derived-mode-run-hooks Juanma Barranquero
2005-07-15 0:12 ` derived-mode-run-hooks Richard M. Stallman
2005-07-15 5:06 ` Stefan Monnier [this message]
2005-07-15 8:29 ` derived-mode-run-hooks Juanma Barranquero
2005-07-15 8:43 ` derived-mode-run-hooks Juanma Barranquero
2005-07-15 9:43 ` derived-mode-run-hooks Juanma Barranquero
2005-07-15 22:03 ` derived-mode-run-hooks Richard M. Stallman
2005-07-16 10:07 ` derived-mode-run-hooks Juanma Barranquero
2005-07-15 18:10 ` derived-mode-run-hooks Richard M. Stallman
2005-07-16 10:05 ` derived-mode-run-hooks Juanma Barranquero
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=873bqgk6e4.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.