all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Bastien Guerry <bzg@altern.org>
Cc: 13824@debbugs.gnu.org
Subject: bug#13824: 24.3.50; :package-version not taking priority over :version
Date: Thu, 8 Aug 2019 05:59:21 +0200	[thread overview]
Message-ID: <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@mail.gmail.com> (raw)
In-Reply-To: <87txozc7c4.fsf@bzg.ath.cx>

Bastien Guerry <bzg@altern.org> writes:

> The docstring of `defcustom' says:
>
> :package-version
>         VALUE should be a list with the form (PACKAGE . VERSION)
>         specifying that the variable was first introduced, or its
>         default value was changed, in PACKAGE version VERSION.  This
>         keyword takes priority over :version.
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> but `describe-variable-custom-version-info' gives priority to :version
> over :package-version.  Which one is correct here?

This is still an issue on current master (and 26.2).

I reproduced this using:

    (progn
      (defcustom foobar nil
        "foo"
        :version "27.1"
        :package-version '(foo . "1"))
      (describe-variable-custom-version-info 'foobar))

Which results in:

    "This variable was introduced, or its default value was changed, in
    version 27.1 of Emacs.
    "

But C-h f defcustom says:

    :package-version
            VALUE should be a list with the form (PACKAGE . VERSION)
            specifying that the variable was first introduced, or its
            default value was changed, in PACKAGE version VERSION.  This
            keyword takes priority over :version.

Thanks,
Stefan Kangas





  reply	other threads:[~2019-08-08  3:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-26 17:28 bug#13824: 24.3.50; :package-version not taking priority over :version Bastien Guerry
2019-08-08  3:59 ` Stefan Kangas [this message]
2019-08-10  9:22   ` Eli Zaretskii
2019-08-10 14:13     ` Stefan Kangas
2019-08-10 22:10     ` Bill Wohler
2019-08-10 22:40       ` Bill Wohler
2019-08-11 14:01       ` Eli Zaretskii
2019-08-11 18:06         ` Bill Wohler

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='CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@mail.gmail.com' \
    --to=stefan@marxist.se \
    --cc=13824@debbugs.gnu.org \
    --cc=bzg@altern.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.