unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Uwe Brauer <oub@mat.ucm.es>
Cc: emacs-devel@gnu.org
Subject: Re: 29.2: (void-function batch-update-autoloads)
Date: Sun, 25 Aug 2024 14:30:14 +0300	[thread overview]
Message-ID: <86jzg4lu0p.fsf@gnu.org> (raw)
In-Reply-To: <87ikvpt264.fsf@mat.ucm.es> (emacs-devel@gnu.org)

> Date: Sun, 25 Aug 2024 10:52:19 +0200
> From:  Uwe Brauer via "Emacs development discussions." <emacs-devel@gnu.org>
> 
> I am one of the maintainers of matlab-emacs, and after upgrading my
> system (and emacs) I realised that  the function batch-update-autoloads
> is gone (which we need for our compilation/installation), sigh [1]

It is not "gone", it was obsoleted.  You can still find autoloads.el
in lisp/obsolete.

> I run grep over my local cloned emacs repository but cannot find any
> information of how this function can be replaced.

You can still use that function, if you want, after loading its
package from lisp/obsolete.  If you want to migrate to the new
facility, the function to use is loaddefs-generate--emacs-batch,
defined in the new file lisp/emacs-lisp/loaddefs-gen.el.  (You could
have found this out yourself by looking at lisp/Makefile in the Emacs
Git repository, where we have the commands to generate loaddefs.el at
Emacs build time.)

> Footnotes:
> [1]  (I know it has a lot of benefits to change function and variable
>      names, but for those who don't participate in such discussion such
>      changes cause a bit of inconveniences  to say the least)

You are being unfair to us.  We never remove stuff entirely before
keeping it deprecated enough years to let everyone adapt.  Knowing
Emacs as much as you do, I'd expect you to trust us not to do anything
foolish or user-unfriendly, but instead assume that the stuff you are
looking for is present somewhere, and you just don't look for it close
enough.



  reply	other threads:[~2024-08-25 11:30 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-08-25  8:52 29.2: (void-function batch-update-autoloads) Uwe Brauer via Emacs development discussions.
2024-08-25 11:30 ` Eli Zaretskii [this message]
2024-08-25 16:23   ` Uwe Brauer via Emacs development discussions.
2024-08-25 18:24     ` Eli Zaretskii
2024-08-26 12:35       ` Uwe Brauer
2024-08-26 12:47         ` Eli Zaretskii
2024-08-26 13:19         ` Arash Esbati
2024-08-26 13:21           ` Uwe Brauer

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=86jzg4lu0p.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=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).