X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Bastien Guerry <bzg@HIDDEN> Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Tue, 26 Feb 2013 21:31:02 +0000 Resent-Message-ID: <handler.13824.B.136191425225747 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 13824 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.136191425225747 (code B ref -1); Tue, 26 Feb 2013 21:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 26 Feb 2013 21:30:52 +0000 Received: from localhost ([127.0.0.1]:51706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1UAS6u-0006hE-K3 for submit <at> debbugs.gnu.org; Tue, 26 Feb 2013 16:30:52 -0500 Received: from eggs.gnu.org ([208.118.235.92]:60996) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from <bastienguerry@HIDDEN>) id 1UAS6s-0006h7-9a for submit <at> debbugs.gnu.org; Tue, 26 Feb 2013 16:30:51 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bastienguerry@HIDDEN>) id 1UAS56-0000Ea-Eh for submit <at> debbugs.gnu.org; Tue, 26 Feb 2013 16:29:03 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-102.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW, T_DKIM_INVALID, USER_IN_WHITELIST autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:40789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bastienguerry@HIDDEN>) id 1UAS56-0000EE-60 for submit <at> debbugs.gnu.org; Tue, 26 Feb 2013 16:29:00 -0500 Received: from eggs.gnu.org ([208.118.235.92]:44081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <bastienguerry@HIDDEN>) id 1UAS53-00016g-U8 for bug-gnu-emacs@HIDDEN; Tue, 26 Feb 2013 16:29:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <bastienguerry@HIDDEN>) id 1UAS52-0000Ag-8A for bug-gnu-emacs@HIDDEN; Tue, 26 Feb 2013 16:28:57 -0500 Received: from mail-wi0-f181.google.com ([209.85.212.181]:42097) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <bastienguerry@HIDDEN>) id 1UAOL8-0003un-Hk for bug-gnu-emacs@HIDDEN; Tue, 26 Feb 2013 12:29:18 -0500 Received: by mail-wi0-f181.google.com with SMTP id hm6so4987231wib.8 for <bug-gnu-emacs@HIDDEN>; Tue, 26 Feb 2013 09:29:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:subject:user-agent:date:message-id :mime-version:content-type; bh=2Jk95xZKQdsM9Btc2N7GM5IvWZRP8mubXnKqefQoJ38=; b=IscBd6LR6zyS915Gg/1YnafpISozXdV2l+uAoUTCyx+TP9dM9Kbz6paPpWGGwdlyQf EDkf1pOdPyhmsiRFnHg1aM88ckU09CPltz1O9HqOHxFHxmYt8SvUKUq3UDz9yaWLNPjF rv/WWwIovFNSPPfsOdYj1AN3Rh3jUVFf09aYfI2U2/5JolthIK+MKXDJfL3Py5uVYASf ha2Qu/odmI9zxHGaQwq7i8sTUt0We1oDn4wgNX2mNXcvOa651YeK04muqETcMcpNca+t fM0RDIMuObxbi4P+zNkW52b+Mno+ym/T0RqenGCD1dbjNwZOSUlMS/306uHL59b67L0A 0+tg== X-Received: by 10.180.84.165 with SMTP id a5mr21016717wiz.6.1361899757789; Tue, 26 Feb 2013 09:29:17 -0800 (PST) Received: from bzg.localdomain (128-79-136-150.hfc.dyn.abo.bbox.fr. [128.79.136.150]) by mx.google.com with ESMTPS id q13sm27367436wie.0.2013.02.26.09.29.13 (version=TLSv1.2 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 09:29:16 -0800 (PST) Received: by bzg.localdomain (Postfix, from userid 1000) id 0D13A1C206CA; Tue, 26 Feb 2013 18:28:59 +0100 (CET) From: Bastien Guerry <bzg@HIDDEN> User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Date: Tue, 26 Feb 2013 18:28:59 +0100 Message-ID: <87txozc7c4.fsf@HIDDEN> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -3.4 (---) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Sender: debbugs-submit-bounces <at> debbugs.gnu.org Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org X-Spam-Score: -6.1 (------) 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? Thanks!
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.428 (Entity 5.428) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Bastien Guerry <bzg@HIDDEN> Subject: bug#13824: Acknowledgement (24.3.50; :package-version not taking priority over :version) Message-ID: <handler.13824.B.136191425225747.ack <at> debbugs.gnu.org> References: <87txozc7c4.fsf@HIDDEN> X-Gnu-PR-Message: ack 13824 X-Gnu-PR-Package: emacs Reply-To: 13824 <at> debbugs.gnu.org Date: Tue, 26 Feb 2013 21:31:02 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 13824 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 13824: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13824 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version References: <87txozc7c4.fsf@HIDDEN> In-Reply-To: <87txozc7c4.fsf@HIDDEN> Resent-From: Stefan Kangas <stefan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 08 Aug 2019 04:00:01 +0000 Resent-Message-ID: <handler.13824.B13824.156523678228175 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Bastien Guerry <bzg@HIDDEN> Cc: 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.156523678228175 (code B ref 13824); Thu, 08 Aug 2019 04:00:01 +0000 Received: (at 13824) by debbugs.gnu.org; 8 Aug 2019 03:59:42 +0000 Received: from localhost ([127.0.0.1]:39773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hvZaY-0007KN-05 for submit <at> debbugs.gnu.org; Wed, 07 Aug 2019 23:59:42 -0400 Received: from mail-pl1-f176.google.com ([209.85.214.176]:45669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1hvZaW-0007KB-CK for 13824 <at> debbugs.gnu.org; Wed, 07 Aug 2019 23:59:40 -0400 Received: by mail-pl1-f176.google.com with SMTP id y8so818536plr.12 for <13824 <at> debbugs.gnu.org>; Wed, 07 Aug 2019 20:59:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=VjManevO0w1KB1eaZ+zQ4ijkOUtJ4KN63KRgyAVf6hk=; b=pyngOPfLHcnb9GQaQES9ronwWgMDS2Qeidk3bDSOk0vxSzQw/SO5QkaYci5bD394ZB JsXi6sJJDdCEqkkWZRmqSOHuHvknsA7s96V93du4K5fa2PZ5gN5BPYrCyG2jvLGweNGS NZO87QoarIBkFMWPTRiBGrPQ0C3Gs18CGekeODtktyjsIrPggTMmi9jupdVroGxVDAbi rJ1F0Md+IakACekWFgoPt1maDDnnlbIzYyjcC3ywhGSTxv21wrea1MkE5aMM9uX4Ma32 88lr67tIT2wbPIlvRUmpfyKhLNFFD9+n0wGL9m7T+ETM3lOnxtPyOhlMXPjBZEpxvg8v 387A== X-Gm-Message-State: APjAAAWPkBnfihk8fbJo6QkqSd3mdBL+0GqttwKO3Bt5Ccsc2EfasZzm PVJsAk7n5KuelfosVcfd5/ImftekUQ7CyrONt28wEgfT X-Google-Smtp-Source: APXvYqwH02weHxaysBCyADsaV6DcWIsJSq5cdkJ0piokD25CfPqM6fp1TjtDagkdrtXtIX3xmcl8TMLZd0tHU65XNc4= X-Received: by 2002:a17:902:d70a:: with SMTP id w10mr10800792ply.251.1565236774472; Wed, 07 Aug 2019 20:59:34 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 8 Aug 2019 05:59:21 +0200 Message-ID: <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Bastien Guerry <bzg@HIDDEN> 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
Received: (at control) by debbugs.gnu.org; 8 Aug 2019 04:00:37 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 08 00:00:37 2019 Received: from localhost ([127.0.0.1]:39781 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hvZbR-0007OT-9z for submit <at> debbugs.gnu.org; Thu, 08 Aug 2019 00:00:37 -0400 Received: from mail-pg1-f180.google.com ([209.85.215.180]:38162) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1hvZbP-0007OG-KK for control <at> debbugs.gnu.org; Thu, 08 Aug 2019 00:00:36 -0400 Received: by mail-pg1-f180.google.com with SMTP id z14so6060581pga.5 for <control <at> debbugs.gnu.org>; Wed, 07 Aug 2019 21:00:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=jaLFWjhDbF7tZw9HfddP8XSZBsNDfl3y7AOAWgn2rs4=; b=IAtGio+Faxqj65jp1rPaq5zFPmHEu8RMck/Vl7ecYd/pgfhhHcVqLYqSwCmCjgEFT0 foa3+gn7plRDbd8LnqAIj9EcM1t3XinLXv4rO7DzPwpav6QnDb+axTvVfUw/vwC10rH8 JIJPTwoXpEzNiLge3Z7nTu5ZMmlCaoXh5kB2stO0WUpr2gQmDtCeXz6QIOmwULNhPkWL Uoz9N4yH7BA/1B/4dnINN4/3o+B/nr+hLx6y3XFRZ1BTW3MzajcznK2ZWPubJoE4jC2m nYV7/gkxQGX0s1UBm1de3S65Rwk7xH5Lw2Dmgritq9YQyCZ2eTb1Ewina3gTihzyP+4K hwJw== X-Gm-Message-State: APjAAAXYWkmtZPJtbI8UhDZ/bj2ZrtKHRcwEzzN+1Couf627Hy1vchC0 xv63B/ZKDpY1+nUDmtegSRYjoPKaGEAnTD9uLyuo7Ae0 X-Google-Smtp-Source: APXvYqz9BP6zyHp703Pl60T2GDM+bq8uheYoUFxIgSySjN62MWTlnTBKjHzNWmT85eD0Vr0MY2hczPbEn0RGN6IbC8E= X-Received: by 2002:a65:53cb:: with SMTP id z11mr9866506pgr.200.1565236829355; Wed, 07 Aug 2019 21:00:29 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 8 Aug 2019 06:00:17 +0200 Message-ID: <CADwFkmkUUVVTsz-e3vSM293VgSJdVRyNoW2wfRy5TzQvk+si0A@HIDDEN> Subject: tags 13824 + confirmed To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) tags 13824 + confirmed quit
Received: (at control) by debbugs.gnu.org; 8 Aug 2019 04:01:45 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Thu Aug 08 00:01:45 2019 Received: from localhost ([127.0.0.1]:39786 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hvZcX-0007QV-JH for submit <at> debbugs.gnu.org; Thu, 08 Aug 2019 00:01:45 -0400 Received: from mail-pg1-f182.google.com ([209.85.215.182]:35696) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1hvZcV-0007QG-FK for control <at> debbugs.gnu.org; Thu, 08 Aug 2019 00:01:43 -0400 Received: by mail-pg1-f182.google.com with SMTP id n4so1562703pgv.2 for <control <at> debbugs.gnu.org>; Wed, 07 Aug 2019 21:01:43 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=FDF4Cu6Sj+hI+n1Vx/YpmCK56L++ymHsFfvGQ72Htfs=; b=r+Q2HY6tXdlE5kdtYxNy5/5Rifb/26OWB/RR5hFc70TFM8iKrxTUk0dc/UT5yOrtLb 7Ve4v5TNeLjP59127VeznucyM9lUvbKHNA1RZsrQMR0Yh12lajWGLO89MXhj/bHvzxG0 QEaYvgIMi1oewCc6lTAy1D9bUgmUYHvn+1A2I8LKLfoPdNrZmU0vcZlsG4aKQwdQswPs 8n1YCvr13CHyf3bsNPTf0rZp051ZdEobtnn2M5q4wmkMJCdJTAxyQ6BkFx+hkJZtYiV8 P9SqGdv2IUxHVAqtLGg8nNlwrtSIROcPEFFg+bw/PISf0yln06eNfZ9q5ahmSFig+WD6 qWVA== X-Gm-Message-State: APjAAAWIs4CXMxJtM6UtSTKKJO9OUPOQ3FBz4N7boBcE1s5swgThWv2S LHqm2a8thKQmDSxWg+SaJsiqva6vWHh0UCChkFXIng== X-Google-Smtp-Source: APXvYqwcJVkY8gyQFGJPFIg+cjmcnQaWFz01CPr/IN0I9AI5VHctttQjdh/9ZteXanqv62JjcoEAAjEPuaObQVB029c= X-Received: by 2002:a62:f250:: with SMTP id y16mr13096753pfl.50.1565236897130; Wed, 07 Aug 2019 21:01:37 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas <stefan@HIDDEN> Date: Thu, 8 Aug 2019 06:01:25 +0200 Message-ID: <CADwFkmm9c1rryheDT0gnWikSh=pU4YJDKu26dJEjaqST4xU_ZA@HIDDEN> Subject: found 13824 26.2 To: control <at> debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) found 13824 26.2 quit
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 Aug 2019 09:23:01 +0000 Resent-Message-ID: <handler.13824.B13824.156542893825386 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Stefan Kangas <stefan@HIDDEN>, Bill Wohler <wohler@HIDDEN> Cc: bzg@HIDDEN, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.156542893825386 (code B ref 13824); Sat, 10 Aug 2019 09:23:01 +0000 Received: (at 13824) by debbugs.gnu.org; 10 Aug 2019 09:22:18 +0000 Received: from localhost ([127.0.0.1]:43463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwNZp-0006bO-Pa for submit <at> debbugs.gnu.org; Sat, 10 Aug 2019 05:22:18 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50878) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hwNZo-0006bB-GW for 13824 <at> debbugs.gnu.org; Sat, 10 Aug 2019 05:22:16 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:51345) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hwNZi-0002A9-Pn; Sat, 10 Aug 2019 05:22:10 -0400 Received: from [176.228.60.248] (port=3716 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hwNZg-0006rd-OP; Sat, 10 Aug 2019 05:22:10 -0400 Date: Sat, 10 Aug 2019 12:22:02 +0300 Message-Id: <83sgq98jet.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> (message from Stefan Kangas on Thu, 8 Aug 2019 05:59:21 +0200) References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > From: Stefan Kangas <stefan@HIDDEN> > Date: Thu, 8 Aug 2019 05:59:21 +0200 > Cc: 13824 <at> debbugs.gnu.org > > Bastien Guerry <bzg@HIDDEN> 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. The implementation only prefers :package-version for the purposes of customize-changed-options, i.e. the Options->Customize Emacs->New Options menu item. By contrast, describe-variable-custom-version-info is used for displaying the doc strings of options. For a package that is bundled with Emacs, I think displaying :version in "C-h v" makes sense. If people agree, then this is a minor documentation bug (also to be fixed in the ELisp manual), not a code bug. Bill, what is your take on this? Your change, which introduced this attribute, only modified customize-changed-options. Was that on purpose?
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Stefan Kangas <stefan@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 Aug 2019 14:15:01 +0000 Resent-Message-ID: <handler.13824.B13824.156544644328302 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii <eliz@HIDDEN> Cc: Bastien Guerry <bzg@HIDDEN>, Bill Wohler <wohler@HIDDEN>, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.156544644328302 (code B ref 13824); Sat, 10 Aug 2019 14:15:01 +0000 Received: (at 13824) by debbugs.gnu.org; 10 Aug 2019 14:14:03 +0000 Received: from localhost ([127.0.0.1]:44358 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwS8B-0007MO-3T for submit <at> debbugs.gnu.org; Sat, 10 Aug 2019 10:14:03 -0400 Received: from mail-pf1-f177.google.com ([209.85.210.177]:38170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <stefankangas@HIDDEN>) id 1hwS89-0007Lo-6d for 13824 <at> debbugs.gnu.org; Sat, 10 Aug 2019 10:14:01 -0400 Received: by mail-pf1-f177.google.com with SMTP id o70so2176788pfg.5 for <13824 <at> debbugs.gnu.org>; Sat, 10 Aug 2019 07:14:01 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=HoRjaWs6yZwNFZKuJibps9+VSLTzFYeLlyFnsklcbTE=; b=l6dut6I2jqE2HN658cp8JQF3LzL208qqv36ranPEZ/mgtTIuvhA+xKu7OJ7pgmqhRs 1Uqj3AxovSWLu5jTKf7M1MNxJRPcya0kJvtK/bpsjll2fjjH7vwAeUywqyXWH2ZHruhH fvRlE8mQlYrujwQzwLQxaYe78LrA7H4anmCFfXh3BmwHqSVNo2jdPX07qWKMEBM8OH53 wgM3VnAXbtvqkSJ6a7aA2E85BPJC9mATHrbuv4E7pbuszaUZFg/lWbZTjbtqIzshs/TT Ga6zGC6g51eZtwXh9Znh7+RgvzdngTEHA92XCFgcV3VnH58bFMxp49vOgGKypzY/4Jk7 WlYQ== X-Gm-Message-State: APjAAAXsTr/1e6701o6YZAN6mdAzHjytGTqZXfmBvAblfeMHH+R3ZWY3 Hz+8QWju4Z2icd1cpfUpEFLI7nmcyw0TGmyUDQM= X-Google-Smtp-Source: APXvYqyTXpj9/ZDQrz06NLhqNgYd+xa4XQOIWhFeS5/DQ5hmfPAF3f+i0ae1EBy/QmRBHXAzbseVOCsuz9rUP4xtoAs= X-Received: by 2002:a63:69c1:: with SMTP id e184mr21178474pgc.198.1565446435474; Sat, 10 Aug 2019 07:13:55 -0700 (PDT) MIME-Version: 1.0 References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> <83sgq98jet.fsf@HIDDEN> In-Reply-To: <83sgq98jet.fsf@HIDDEN> From: Stefan Kangas <stefan@HIDDEN> Date: Sat, 10 Aug 2019 16:13:46 +0200 Message-ID: <CADwFkm=LrVTaUZJJ+bT+N0se2vXT75EfracjZuQV2tOZ96Ts2Q@HIDDEN> Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -0.5 (/) Eli Zaretskii <eliz@HIDDEN> writes: > For a package that > is bundled with Emacs, I think displaying :version in "C-h v" makes > sense. If people agree, then this is a minor documentation bug (also > to be fixed in the ELisp manual), not a code bug. Yes, that makes sense. Let's see what Bill says. Thanks, Stefan Kangas
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Bill Wohler <wohler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 Aug 2019 22:11:02 +0000 Resent-Message-ID: <handler.13824.B13824.15654750465242 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii <eliz@HIDDEN> Cc: bzg@HIDDEN, Stefan Kangas <stefan@HIDDEN>, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.15654750465242 (code B ref 13824); Sat, 10 Aug 2019 22:11:02 +0000 Received: (at 13824) by debbugs.gnu.org; 10 Aug 2019 22:10:46 +0000 Received: from localhost ([127.0.0.1]:44543 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwZZS-0001MK-0c for submit <at> debbugs.gnu.org; Sat, 10 Aug 2019 18:10:46 -0400 Received: from ecbiz204.inmotionhosting.com ([173.205.126.238]:55815) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wohler@HIDDEN>) id 1hwZZP-0001Lx-OK for 13824 <at> debbugs.gnu.org; Sat, 10 Aug 2019 18:10:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References :In-reply-to:Subject:From:cc:To:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Ndk0t4Y5clVvsvE00QKDXqiSyokb+oxxwoR3Oi4yrgs=; b=YeGBOa4fa9R1/3XrPOupbowB/t NvlRiAGZs1dL4NFjw+u6ewyVbBZdJNmO3beeNzpaPu6KdbxXWEFBQjoeGyMACOeFDwBLRV7jzXpbw MiOLY/WmPcpCUFC/Cmkz+brHxStql+SFpzeVWKSs3Va3tQUwYvMKwOt0hXSVknEFnb6A83KGm0sHM 6gTTW0I/vBQRdjxyByFnlqFL+WCiAyCER+pB857clXXzdYTpwmIM1e/gwkaIJCXHYlO0qxGshLXAe 9I9yaSEyXxI4iuHXM25HBBpxRhZ6cq47TVan5NXnv4qGvZ+7qOFR9paoY8jIhqzVZ90+WyZXU+A5G GkEE30uQ==; Received: from [73.162.57.71] (port=56530 helo=olgas.newt.com) by ecbiz204.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <wohler@HIDDEN>) id 1hwZZ0-005f29-84; Sat, 10 Aug 2019 18:10:31 -0400 Received: by olgas.newt.com (Postfix, from userid 1000) id BDECF3802AB; Sat, 10 Aug 2019 15:10:13 -0700 (PDT) From: Bill Wohler <wohler@HIDDEN> In-reply-to: <83sgq98jet.fsf@HIDDEN> References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> <83sgq98jet.fsf@HIDDEN> Comments: In-reply-to Eli Zaretskii <eliz@HIDDEN> message dated "Sat, 10 Aug 2019 12:22:02 +0300." Organization: Newt Software X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <116968.1565475013.1@HIDDEN> Date: Sat, 10 Aug 2019 15:10:13 -0700 Message-ID: <116969.1565475013@HIDDEN> X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ecbiz204.inmotionhosting.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - newt.com X-Get-Message-Sender-Via: ecbiz204.inmotionhosting.com: authenticated_id: wohler@HIDDEN X-Authenticated-Sender: ecbiz204.inmotionhosting.com: wohler@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> wrote: > > From: Stefan Kangas <stefan@HIDDEN> > > Date: Thu, 8 Aug 2019 05:59:21 +0200 > > Cc: 13824 <at> debbugs.gnu.org > > > > Bastien Guerry <bzg@HIDDEN> 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. > > The implementation only prefers :package-version for the purposes of > customize-changed-options, i.e. the Options->Customize Emacs->New > Options menu item. By contrast, describe-variable-custom-version-info > is used for displaying the doc strings of options. For a package that > is bundled with Emacs, I think displaying :version in "C-h v" makes > sense. If people agree, then this is a minor documentation bug (also > to be fixed in the ELisp manual), not a code bug. > > Bill, what is your take on this? Your change, which introduced this > attribute, only modified customize-changed-options. Was that on > purpose? Thanks for asking. The original intent of package-version was to provide more accurate version information in packages that were updated more often than Emacs, regardless of whether they were packaged in Emacs (like MH-E and Gnus) or not. I think that should apply to any function that displays version information for an option. That is, any function that looks for :version should also look for :package-version. -- Bill Wohler <wohler@HIDDEN> aka <Bill.Wohler@HIDDEN> http://www.newt.com/wohler/, GnuPG ID:610BD9AD
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Bill Wohler <wohler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 10 Aug 2019 22:42:02 +0000 Resent-Message-ID: <handler.13824.B13824.15654768638888 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii <eliz@HIDDEN>, Stefan Kangas <stefan@HIDDEN>, bzg@HIDDEN, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.15654768638888 (code B ref 13824); Sat, 10 Aug 2019 22:42:02 +0000 Received: (at 13824) by debbugs.gnu.org; 10 Aug 2019 22:41:03 +0000 Received: from localhost ([127.0.0.1]:44556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwa2k-0002Id-SM for submit <at> debbugs.gnu.org; Sat, 10 Aug 2019 18:41:03 -0400 Received: from ecbiz204.inmotionhosting.com ([173.205.126.238]:34875) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wohler@HIDDEN>) id 1hwa2j-0002IS-Sy for 13824 <at> debbugs.gnu.org; Sat, 10 Aug 2019 18:40:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References :In-reply-to:Subject:From:to:Sender:Reply-To:Cc:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=GdHxqMYO0wUqGPQ34v7mjepOwydEz6O0l1MMrXt/etg=; b=NISbFshzU3Nm/IAjKIqihQTsBD PrNehilBASayhWjNw+7XiMetAphmn/bx96JmDm9aJ5dAbtHybeSZwt3dSBNzZBoSXa/ncqLCWB/9Q 5+IEES/zlqrwYscoLMGbN9GAX7Mb3acf7vZYlot9UePVVu9o3P4iz+OAFce+0sw+s/tAvD1LgdEW7 +zOIZ3hnFpQSd2HXDbsdXQt7PJJx1iX25LGTeqemN6adjNYIsDklBBxR2JdGtBQaCQgyBJkK8Dgnv q+2+jyX8XQatQMBu8cR6WhvV2F5LhxY+hA05AxjqXMVYQ7FahU6mv/dmWd7jIsa7AmaNIm6863QQD 3vg0dhUA==; Received: from [73.162.57.71] (port=56576 helo=olgas.newt.com) by ecbiz204.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <wohler@HIDDEN>) id 1hwa2S-006M17-Qh; Sat, 10 Aug 2019 18:40:52 -0400 Received: by olgas.newt.com (Postfix, from userid 1000) id 5904D3802AB; Sat, 10 Aug 2019 15:40:40 -0700 (PDT) From: Bill Wohler <wohler@HIDDEN> In-reply-to: <116969.1565475013@HIDDEN> References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> <83sgq98jet.fsf@HIDDEN> <116969.1565475013@HIDDEN> Comments: In-reply-to Bill Wohler <wohler@HIDDEN> message dated "Sat, 10 Aug 2019 15:10:13 -0700." Organization: Newt Software X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <117723.1565476840.1@HIDDEN> Date: Sat, 10 Aug 2019 15:40:40 -0700 Message-ID: <117724.1565476840@HIDDEN> X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ecbiz204.inmotionhosting.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - newt.com X-Get-Message-Sender-Via: ecbiz204.inmotionhosting.com: authenticated_id: wohler@HIDDEN X-Authenticated-Sender: ecbiz204.inmotionhosting.com: wohler@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Bill Wohler <wohler@HIDDEN> wrote: > Eli Zaretskii <eliz@HIDDEN> wrote: > > > > From: Stefan Kangas <stefan@HIDDEN> > > > Date: Thu, 8 Aug 2019 05:59:21 +0200 > > > Cc: 13824 <at> debbugs.gnu.org > > > > > > Bastien Guerry <bzg@HIDDEN> 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. > > > > The implementation only prefers :package-version for the purposes of > > customize-changed-options, i.e. the Options->Customize Emacs->New > > Options menu item. By contrast, describe-variable-custom-version-info > > is used for displaying the doc strings of options. For a package that > > is bundled with Emacs, I think displaying :version in "C-h v" makes > > sense. If people agree, then this is a minor documentation bug (also > > to be fixed in the ELisp manual), not a code bug. > > > > Bill, what is your take on this? Your change, which introduced this > > attribute, only modified customize-changed-options. Was that on > > purpose? > > Thanks for asking. The original intent of package-version was to provide > more accurate version information in packages that were updated more > often than Emacs, regardless of whether they were packaged in Emacs > (like MH-E and Gnus) or not. I think that should apply to any function > that displays version information for an option. That is, any function > that looks for :version should also look for :package-version. And to answer your question directly, if I didn't change other functions, it was not on purpose. By the way, I just checked and describe-variable-custom-version-info, which was added in 2007, did not yet exist when I added :package-version in 2006. -- Bill Wohler <wohler@HIDDEN> aka <Bill.Wohler@HIDDEN> http://www.newt.com/wohler/, GnuPG ID:610BD9AD
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 11 Aug 2019 14:03:02 +0000 Resent-Message-ID: <handler.13824.B13824.156553214521025 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Bill Wohler <wohler@HIDDEN> Cc: bzg@HIDDEN, stefan@HIDDEN, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.156553214521025 (code B ref 13824); Sun, 11 Aug 2019 14:03:02 +0000 Received: (at 13824) by debbugs.gnu.org; 11 Aug 2019 14:02:25 +0000 Received: from localhost ([127.0.0.1]:45673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwoQS-0005T3-M9 for submit <at> debbugs.gnu.org; Sun, 11 Aug 2019 10:02:24 -0400 Received: from eggs.gnu.org ([209.51.188.92]:55741) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1hwoQQ-0005Sq-07 for 13824 <at> debbugs.gnu.org; Sun, 11 Aug 2019 10:02:22 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:35678) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1hwoQK-0002tK-4s; Sun, 11 Aug 2019 10:02:16 -0400 Received: from [176.228.60.248] (port=2400 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1hwoQJ-0002kI-B0; Sun, 11 Aug 2019 10:02:15 -0400 Date: Sun, 11 Aug 2019 17:01:59 +0300 Message-Id: <83r25ru7fs.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <116969.1565475013@HIDDEN> (message from Bill Wohler on Sat, 10 Aug 2019 15:10:13 -0700) References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> <83sgq98jet.fsf@HIDDEN> <116969.1565475013@HIDDEN> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -3.3 (---) > cc: Stefan Kangas <stefan@HIDDEN>, bzg@HIDDEN, > 13824 <at> debbugs.gnu.org > From: Bill Wohler <wohler@HIDDEN> > Date: Sat, 10 Aug 2019 15:10:13 -0700 > > > Bill, what is your take on this? Your change, which introduced this > > attribute, only modified customize-changed-options. Was that on > > purpose? > > Thanks for asking. The original intent of package-version was to provide > more accurate version information in packages that were updated more > often than Emacs, regardless of whether they were packaged in Emacs > (like MH-E and Gnus) or not. I think that should apply to any function > that displays version information for an option. That is, any function > that looks for :version should also look for :package-version. Thanks. Upon taking a better look, I conclude that there's more here than originally met the eye. First, the doc string 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. For packages which are bundled with Emacs releases, the PACKAGE and VERSION must appear in the alist `customize-package-emacs-version-alist'. ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ So Stefan's reproducer, viz.: (progn (defcustom foobar nil "foo" :version "27.1" :package-version '(foo . "1")) (describe-variable-custom-version-info 'foobar)) wasn't supposed to work, since it doesn't play by the rules. Next, MH-E uses :package-version, but doesn't use :version. So, for example, "C-h v mh-whitelist-preserves-sequences-flag RET" produces the expected This variable was introduced, or its default value was changed, in version 8.4 of the MH-E package that is part of Emacs 24.4. By contrast, Org mode files use both :package-version and :version, which I guess was the reason why Bastien filed this bug report in the first place. Now, since we _require_ the package versions to appear in customize-package-emacs-version-alist, specifying :package-version alone provides all the info we need about both the package version and the corresponding Emacs version. Therefore, specifying :version as well is simply redundant when :package-version is given, and Org shouldn't use :version (btw, Org is the only bundled package which uses both these attributes). IOW, if a package uses both attributes, it's a mistake, we should document that to be a mistake (i.e. not just say :package-version "overrides"), and it should probably be flagged as a mistake by checkdoc. And yes, functions that need the version information should ignore :version if :package-version is available. Which means describe-variable-custom-version-info should indeed be fixed. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#13824: 24.3.50; :package-version not taking priority over :version Resent-From: Bill Wohler <wohler@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sun, 11 Aug 2019 18:07:02 +0000 Resent-Message-ID: <handler.13824.B13824.156554679720582 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 13824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed To: Eli Zaretskii <eliz@HIDDEN> Cc: bzg@HIDDEN, stefan@HIDDEN, 13824 <at> debbugs.gnu.org Received: via spool by 13824-submit <at> debbugs.gnu.org id=B13824.156554679720582 (code B ref 13824); Sun, 11 Aug 2019 18:07:02 +0000 Received: (at 13824) by debbugs.gnu.org; 11 Aug 2019 18:06:37 +0000 Received: from localhost ([127.0.0.1]:45779 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1hwsEi-0005Lh-Ma for submit <at> debbugs.gnu.org; Sun, 11 Aug 2019 14:06:36 -0400 Received: from ecbiz204.inmotionhosting.com ([173.205.126.238]:43007) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <wohler@HIDDEN>) id 1hwsEe-0005LG-Os for 13824 <at> debbugs.gnu.org; Sun, 11 Aug 2019 14:06:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References :In-reply-to:Subject:From:cc:To:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=jefvvdvhE54NuAUzLPyG/YaKLDVyoyJoskQZL5ThTeo=; b=3UvEfj2mvvAxXhBhQJjF9KGPvL 3k6bkmXND/xKWJSD/g2Y3wwaTSfnkl15hwxzqlwpos1e/olUYHndHWDu6qYaSsDQ44NqhrPfqtieT updi/yglQRFSl0JFPN3L5VHEr30jvhZ6zNPcMD5vfaBkQxiz30dHG3/XCh9x0F2w1gYY5xbW77W6S 5+5dLCAlgvzvwsxpiHDBSzZkuCZ0h92g1HjghS9w8jSFW4Ci0pGk6dH4cU1vhtSsQ+4skV3ujLoDV ZS9h/8mHRPS25IE27X9ZTtIHDEjnoy6YmKHT92KO+S8zS6XKzBwaPA7x/Vf9PFiAubnJ35xRTDYCN UBWhcpBQ==; Received: from [73.162.57.71] (port=58648 helo=olgas.newt.com) by ecbiz204.inmotionhosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from <wohler@HIDDEN>) id 1hwsEH-00CEaR-4T; Sun, 11 Aug 2019 14:06:21 -0400 Received: by olgas.newt.com (Postfix, from userid 1000) id AC20A3802B3; Sun, 11 Aug 2019 11:06:04 -0700 (PDT) From: Bill Wohler <wohler@HIDDEN> In-reply-to: <83r25ru7fs.fsf@HIDDEN> References: <87txozc7c4.fsf@HIDDEN> <CADwFkm=UA-=BqFVajf-qq8nss+LRYrpGT1WbJWvr_fgg=aaASg@HIDDEN> <83sgq98jet.fsf@HIDDEN> <116969.1565475013@HIDDEN> <83r25ru7fs.fsf@HIDDEN> Comments: In-reply-to Eli Zaretskii <eliz@HIDDEN> message dated "Sun, 11 Aug 2019 17:01:59 +0300." Organization: Newt Software X-Mailer: MH-E 8.6; nmh 1.6; GNU Emacs 24.5.1 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <34218.1565546764.1@HIDDEN> Date: Sun, 11 Aug 2019 11:06:04 -0700 Message-ID: <34219.1565546764@HIDDEN> X-OutGoing-Spam-Status: No, score=-1.0 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ecbiz204.inmotionhosting.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - newt.com X-Get-Message-Sender-Via: ecbiz204.inmotionhosting.com: authenticated_id: wohler@HIDDEN X-Authenticated-Sender: ecbiz204.inmotionhosting.com: wohler@HIDDEN X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Eli Zaretskii <eliz@HIDDEN> wrote: > > cc: Stefan Kangas <stefan@HIDDEN>, bzg@HIDDEN, > > 13824 <at> debbugs.gnu.org > > From: Bill Wohler <wohler@HIDDEN> > > Date: Sat, 10 Aug 2019 15:10:13 -0700 > > > > > Bill, what is your take on this? Your change, which introduced this > > > attribute, only modified customize-changed-options. Was that on > > > purpose? > > > > Thanks for asking. The original intent of package-version was to provide > > more accurate version information in packages that were updated more > > often than Emacs, regardless of whether they were packaged in Emacs > > (like MH-E and Gnus) or not. I think that should apply to any function > > that displays version information for an option. That is, any function > > that looks for :version should also look for :package-version. > > Thanks. > > Upon taking a better look, I conclude that there's more here than > originally met the eye. > > First, the doc string 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. For packages which > are bundled with Emacs releases, the PACKAGE and VERSION > must appear in the alist `customize-package-emacs-version-alist'. > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > So Stefan's reproducer, viz.: > > (progn > (defcustom foobar nil > "foo" > :version "27.1" > :package-version '(foo . "1")) > (describe-variable-custom-version-info 'foobar)) > > wasn't supposed to work, since it doesn't play by the rules. > > Next, MH-E uses :package-version, but doesn't use :version. So, for > example, "C-h v mh-whitelist-preserves-sequences-flag RET" produces > the expected > > This variable was introduced, or its default value was changed, in > version 8.4 of the MH-E package that is part of Emacs 24.4. > > By contrast, Org mode files use both :package-version and :version, > which I guess was the reason why Bastien filed this bug report in the > first place. > > Now, since we _require_ the package versions to appear in > customize-package-emacs-version-alist, specifying :package-version > alone provides all the info we need about both the package version and > the corresponding Emacs version. Therefore, specifying :version as > well is simply redundant when :package-version is given, and Org > shouldn't use :version (btw, Org is the only bundled package which > uses both these attributes). IOW, if a package uses both attributes, > it's a mistake, we should document that to be a mistake (i.e. not just > say :package-version "overrides"), and it should probably be flagged > as a mistake by checkdoc. And yes, functions that need the version > information should ignore :version if :package-version is available. > Which means describe-variable-custom-version-info should indeed be > fixed. Thanks for digging in. That makes sense. A function that gets the version info from :package-version or :version as appropriate could be written (if it hasn't already). If used consistently throughout, it would provide a good example for obtaining version information. > > Thanks. > -- Bill Wohler <wohler@HIDDEN> aka <Bill.Wohler@HIDDEN> http://www.newt.com/wohler/, GnuPG ID:610BD9AD
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.