unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: emacs-devel@gnu.org
Subject: Re: New obsolete.el file for obsolete stuff?
Date: Tue, 18 Aug 2020 12:44:12 +0000	[thread overview]
Message-ID: <CADwFkm=mnXxg61H3DsMd-d-EhvM6cwSrsey62JzhhzZN70ZZ1w@mail.gmail.com> (raw)
In-Reply-To: <87imdgnn7c.fsf@gnus.org>

Lars Ingebrigtsen <larsi@gnus.org> writes:

> I don't think that would work...  We add the aliases and stuff so that
> people's code will continue to work.  If somebody has out-of-tree code
> that says
>
> (require 'foo)
> (foo-name)
>
> that continues to work even if we've obsoleted foo-name.  Moving it to a
> separate file would defeat the purpose of that...

It would need to be dumped/pre-loaded (not sure what's the prefered
terminology here).  That's what they did in XEmacs.

(One could also use `eval-after-load' where it makes sense to do so.)

Best regards,
Stefan Kangas



  reply	other threads:[~2020-08-18 12:44 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-18 12:10 New obsolete.el file for obsolete stuff? Stefan Kangas
2020-08-18 12:24 ` Andrea Corallo via Emacs development discussions.
2020-08-18 12:39   ` Stefan Kangas
2020-08-18 12:38 ` Lars Ingebrigtsen
2020-08-18 12:44   ` Stefan Kangas [this message]
2020-08-18 16:55 ` Stefan Monnier
2020-08-18 17:22   ` Eli Zaretskii
2020-08-19 14:01   ` Stefan Kangas

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='CADwFkm=mnXxg61H3DsMd-d-EhvM6cwSrsey62JzhhzZN70ZZ1w@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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).