unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2)
       [not found] ` <20200515175845.997EC20999@vcs0.savannah.gnu.org>
@ 2020-05-15 18:38   ` Stefan Monnier
  2020-05-15 20:58     ` Stefan Kangas
  2020-05-17  3:18     ` Stefan Kangas
  0 siblings, 2 replies; 5+ messages in thread
From: Stefan Monnier @ 2020-05-15 18:38 UTC (permalink / raw)
  To: emacs-devel; +Cc: Stefan Kangas

>     Delete libraries obsolete since 23.1 and 23.2

Thanks Stefan.

I did a quick `grep` to see the functions/vars that were obsoleted in
the same time frame, and I saw instead a deluge of

    :version "23.1"

If we consider those thingies old enough to remove their obsolete
functions, shouldn't we also remove the corresponding `:version`
thingies from `defcustom`s?

I see:
- 1 defcustom with a :version of 19.29
- >200 defcustoms with a :version of 20.x
- a bit less than 200 defcustoms with a :version of 21.x
- >400 defcustoms with a :version of 22.x
- >200 defcustoms with a :version of 23.x


-- Stefan




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2)
  2020-05-15 18:38   ` Stefan Monnier
@ 2020-05-15 20:58     ` Stefan Kangas
  2020-05-17  3:18     ` Stefan Kangas
  1 sibling, 0 replies; 5+ messages in thread
From: Stefan Kangas @ 2020-05-15 20:58 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I did a quick `grep` to see the functions/vars that were obsoleted in
> the same time frame, and I saw instead a deluge of
>
>     :version "23.1"
>
> If we consider those thingies old enough to remove their obsolete
> functions, shouldn't we also remove the corresponding `:version`
> thingies from `defcustom`s?

There are also these two libraries:

./lisp/obsolete/fast-lock.el9:;; Obsolete-since: 22.1
./lisp/obsolete/lazy-lock.el9:;; Obsolete-since: 22.1

For some reason they weren't removed in 27.1, when most other libraries
obsolete since 22.x were deleted.  This made me wonder if there was any
particular reason for their non-removal.  Does anyone know?  And could
we delete them now?

Best regards,
Stefan Kangas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2)
  2020-05-15 18:38   ` Stefan Monnier
  2020-05-15 20:58     ` Stefan Kangas
@ 2020-05-17  3:18     ` Stefan Kangas
  2020-05-17 15:18       ` Eli Zaretskii
  1 sibling, 1 reply; 5+ messages in thread
From: Stefan Kangas @ 2020-05-17  3:18 UTC (permalink / raw)
  To: Stefan Monnier, emacs-devel

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> I did a quick `grep` to see the functions/vars that were obsoleted in
> the same time frame, and I saw instead a deluge of
>
>     :version "23.1"
>
> If we consider those thingies old enough to remove their obsolete
> functions, shouldn't we also remove the corresponding `:version`
> thingies from `defcustom`s?
>
> I see:
> - 1 defcustom with a :version of 19.29
> - >200 defcustoms with a :version of 20.x
> - a bit less than 200 defcustoms with a :version of 21.x
> - >400 defcustoms with a :version of 22.x
> - >200 defcustoms with a :version of 23.x

I realize I don't fully understand the purpose of the :version
declarations.  If it's mostly to let users know what changed, they can
probably be removed for these very old versions.

But are they also intended to provide a historical record?  If so, maybe
they should be kept indefinitely.

Best regards,
Stefan Kangas



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2)
  2020-05-17  3:18     ` Stefan Kangas
@ 2020-05-17 15:18       ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2020-05-17 15:18 UTC (permalink / raw)
  To: Stefan Kangas; +Cc: monnier, emacs-devel

> From: Stefan Kangas <stefankangas@gmail.com>
> Date: Sat, 16 May 2020 20:18:54 -0700
> 
> I realize I don't fully understand the purpose of the :version
> declarations.  If it's mostly to let users know what changed, they can
> probably be removed for these very old versions.
> 
> But are they also intended to provide a historical record?  If so, maybe
> they should be kept indefinitely.

I think it's good to have a facility that can tell us in which Emacs
version was some option introduced.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2)
       [not found]       ` <<83v9kubnep.fsf@gnu.org>
@ 2020-05-17 18:17         ` Drew Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2020-05-17 18:17 UTC (permalink / raw)
  To: Eli Zaretskii, Stefan Kangas; +Cc: monnier, emacs-devel

> > But are they also intended to provide a historical record?  If so,
> > maybe they should be kept indefinitely.
> 
> I think it's good to have a facility that can tell us in which Emacs
> version was some option introduced.

+1.
Something more than, say, a comment.
Something you/code can check easily at runtime.



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-05-17 18:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <<20200515175844.18941.61355@vcs0.savannah.gnu.org>
     [not found] ` <<20200515175845.997EC20999@vcs0.savannah.gnu.org>
     [not found]   ` <<jwva729hwud.fsf-monnier+emacs@gnu.org>
     [not found]     ` <<CADwFkmmfLiur-8sJ=skX5vPgL0ggKF5OChs3k2LbQPt2zS6SrA@mail.gmail.com>
     [not found]       ` <<83v9kubnep.fsf@gnu.org>
2020-05-17 18:17         ` Deleting old `:version` from defcustoms (was: master b76cdd0: Delete libraries obsolete since 23.1 and 23.2) Drew Adams
     [not found] <20200515175844.18941.61355@vcs0.savannah.gnu.org>
     [not found] ` <20200515175845.997EC20999@vcs0.savannah.gnu.org>
2020-05-15 18:38   ` Stefan Monnier
2020-05-15 20:58     ` Stefan Kangas
2020-05-17  3:18     ` Stefan Kangas
2020-05-17 15:18       ` Eli Zaretskii

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).