all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Vasilij Schneidermann <mail@vasilij.de>
Cc: emacs-devel@gnu.org
Subject: Re: Obtaining a database of new functionality per Emacs version
Date: Mon, 07 Dec 2020 20:17:43 +0200	[thread overview]
Message-ID: <83a6up8oqg.fsf@gnu.org> (raw)
In-Reply-To: <X85rTwIFDvFFEIxp@odonien.localdomain> (message from Vasilij Schneidermann on Mon, 7 Dec 2020 18:50:07 +0100)

> Date: Mon, 7 Dec 2020 18:50:07 +0100
> From: Vasilij Schneidermann <mail@vasilij.de>
> Cc: emacs-devel@gnu.org
> 
> > Did you try "make TAGS" in the top-level directory, followed by
> > searching the TAGS files?
> 
> Thanks, that's the kind of idea I'm looking for. I'd still need to diff
> that output against that of an older Emacs version to find out what has
> been removed/added between the releases, but that's fine. Another
> problem is that it includes helper functions that aren't part of a
> public API.

I thought the latter problem will not be an issue in your case, since
my mental model of what you want was that you have a function in hand
and want to check whether it was available in Emacs XX.YY.  In which
case you will never need to look for internal functions.

> > Manually or automatically?  If manually, the result will be as
> > accurate and comprehensive as NEWS.  If automatically, please tell
> > what kind of implementation you have in mind.
> 
> Manually, similar to how version information is added to customizables.

That needs Someone™ to be extra vigilant and double-check any changes
that add functions to prod people to mark them with a version tag.  My
experience with being that cop in defcustoms case is that the
probability of some falling through the cracks is non-negligible.

> The gain is having a machine-readable version you can consult from a
> Lisp program. Who knows, maybe you could use it to make an Emacs Lisp
> spec independent implementations could target...

I know of libraries that have this as part of their SOPs, but Emacs is
so much larger than any library that I doubt if this scales well
enough.  So I don't believe such manual procedures will be reliable
enough in Emacs.  One possible idea is to have a Git commit hook that
would reject commits with new functions if they fail to include the
necessary tag.



  reply	other threads:[~2020-12-07 18:17 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-07 12:23 Obtaining a database of new functionality per Emacs version Vasilij Schneidermann
2020-12-07 15:19 ` Stefan Monnier
2020-12-07 18:11   ` Vasilij Schneidermann
2020-12-07 18:20     ` Eli Zaretskii
2020-12-07 19:54     ` Stefan Monnier
2020-12-07 15:34 ` Eli Zaretskii
2020-12-07 17:50   ` Vasilij Schneidermann
2020-12-07 18:17     ` Eli Zaretskii [this message]
2020-12-07 20:08       ` Stefan Monnier
2020-12-07 20:25         ` Eli Zaretskii
2020-12-07 20:40           ` Stefan Monnier
2020-12-10  7:31 ` Jean Louis
2020-12-10 14:14   ` Eli Zaretskii
2020-12-10 16:47     ` Stefan Monnier
2020-12-10 17:22       ` Vasilij Schneidermann
2020-12-10 17:59         ` Stefan Monnier

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=83a6up8oqg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mail@vasilij.de \
    /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.