GNU bug report logs - #72554
31.0.50; misleading release information for 'always'

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Ulrich Mueller <ulm@HIDDEN>; dated Sat, 10 Aug 2024 11:18:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 72554 <at> debbugs.gnu.org:


Received: (at 72554) by debbugs.gnu.org; 10 Aug 2024 12:51:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 10 08:51:03 2024
Received: from localhost ([127.0.0.1]:39189 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sclYk-0005K4-Uo
	for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 08:51:03 -0400
Received: from eggs.gnu.org ([209.51.188.92]:37562)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sclYj-0005JZ-A8
 for 72554 <at> debbugs.gnu.org; Sat, 10 Aug 2024 08:51:01 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sclVo-0007xp-J0; Sat, 10 Aug 2024 08:48:15 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=7i3ZxCZl0ucvYig26aMG6kfI5ezaGlrwS3Tc0Yii1bI=; b=It6+dxjAIaOT
 i5WoJFLGfbmcnTcFk0F9aEcKLLZ2bQhd1J7sATN0+dgh9nooVNIxUplY+ncITFBrhJHZaQg1gYlSw
 yIY27TmakV7dh0g3nAScVl/UHVK1qkWO70F0C3R8ruaCCANvhe19FMBgF62gDZGOI/6A9VXmR6gd2
 cc5TrBQPgNa7dGKlM3taGVYZRUY5+YI5SPMr4g39bAfqZsZ21/wdpPg1rcy7I+35tT/6sQvPnoiQn
 XF/O02+DRM00WrR/wi1RYlZi5VIVhgqyOTI2zXfSHx76d7cWHNSMSXj257T27SjcoST5g07FuuODT
 5K4zEPMOsn2Fj6k4GUkfDQ==;
Date: Sat, 10 Aug 2024 15:47:55 +0300
Message-Id: <86ed6wk0hw.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich Mueller <ulm@HIDDEN>
In-Reply-To: <uwmko8ttz@HIDDEN> (message from Ulrich Mueller on Sat, 10
 Aug 2024 14:07:20 +0200)
Subject: Re: bug#72554: 31.0.50; misleading release information for 'always'
References: <u1q2waar0@HIDDEN> <86frrck3jn.fsf@HIDDEN>
 <uwmko8ttz@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72554
Cc: 72554 <at> debbugs.gnu.org
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: Ulrich Mueller <ulm@HIDDEN>
> Cc: 72554 <at> debbugs.gnu.org
> Date: Sat, 10 Aug 2024 14:07:20 +0200
> 
> >>>>> On Sat, 10 Aug 2024, Eli Zaretskii wrote:
> 
> > help-fns--first-release-regexp is supposed to find only quoted names,
> > so the problem is not with common words.  I think it finds this in
> > NEWS.25:
> 
> >   *** New value 'always' for 'sh-indent-after-continuation'.
> >                 ^^^^^^^^
> 
> NEWS.26, too (twice):
> 
>   ** Option 'buffer-offer-save' can be set to new value, 'always'.
>                                                          ^^^^^^^^
>   When set to 'always', the command 'save-some-buffers' will always
>               ^^^^^^^^
>   offer this buffer for saving.
> 
> > So maybe we should reject matches that immediately follow "value" or
> > "values".  That won't reject all false positives, but it should be an
> > improvement, I think.

So we have more prefixes to filter out: "set to" as well.  And some
punctuation between "value" and a quoted symbol should be ignored.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72554; Package emacs. Full text available.

Message received at 72554 <at> debbugs.gnu.org:


Received: (at 72554) by debbugs.gnu.org; 10 Aug 2024 12:08:03 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 10 08:08:03 2024
Received: from localhost ([127.0.0.1]:39148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sckt9-00045o-8H
	for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 08:08:03 -0400
Received: from woodpecker.gentoo.org ([140.211.166.183]:37076
 helo=smtp.gentoo.org) by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ulm@HIDDEN>) id 1sckt6-00045G-Su
 for 72554 <at> debbugs.gnu.org; Sat, 10 Aug 2024 08:08:01 -0400
From: Ulrich Mueller <ulm@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#72554: 31.0.50; misleading release information for 'always'
In-Reply-To: <86frrck3jn.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 10 Aug
 2024 14:42:04 +0300")
References: <u1q2waar0@HIDDEN> <86frrck3jn.fsf@HIDDEN>
Date: Sat, 10 Aug 2024 14:07:20 +0200
Message-ID: <uwmko8ttz@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 72554
Cc: 72554 <at> debbugs.gnu.org
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 (---)

>>>>> On Sat, 10 Aug 2024, Eli Zaretskii wrote:

> help-fns--first-release-regexp is supposed to find only quoted names,
> so the problem is not with common words.  I think it finds this in
> NEWS.25:

>   *** New value 'always' for 'sh-indent-after-continuation'.
>                 ^^^^^^^^

NEWS.26, too (twice):

  ** Option 'buffer-offer-save' can be set to new value, 'always'.
                                                         ^^^^^^^^
  When set to 'always', the command 'save-some-buffers' will always
              ^^^^^^^^
  offer this buffer for saving.

> So maybe we should reject matches that immediately follow "value" or
> "values".  That won't reject all false positives, but it should be an
> improvement, I think.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72554; Package emacs. Full text available.

Message received at 72554 <at> debbugs.gnu.org:


Received: (at 72554) by debbugs.gnu.org; 10 Aug 2024 11:42:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 10 07:42:46 2024
Received: from localhost ([127.0.0.1]:39130 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sckUf-0003RF-Th
	for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 07:42:46 -0400
Received: from eggs.gnu.org ([209.51.188.92]:50912)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sckUb-0003Qy-T7
 for 72554 <at> debbugs.gnu.org; Sat, 10 Aug 2024 07:42:44 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sckU2-0006t8-K3; Sat, 10 Aug 2024 07:42:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=XIf6vCHcJLDBErqw4RhOebml7G3/ghWa/U6bqis7K3o=; b=iENPJdsMxeoZ8c/PgF7+
 nR1oMhMei0q7kmT6Fi28ORVcUIxwGtWbT9MCusgnh3TfCSCL0DWWBij2X0W+Fh2Vdpkpg4izvukgb
 e2QQKCv2svEw/PnJsXC8FHQBc8SJ/3gfHRI0kbWfLfCHxRtDkGWo5sLwznb4wKiYl/365fApK+2Nr
 AJ163z7IoCNdJyzYuj0VbrszGrBREw8SAL5qjlwOukjwdsyutO2lrihDSJ+nOYcIepYlbZgJBLSGx
 cu7PYJ+R0c/xGr9f/YBEFyaVJ3Wy4QYwR/BKRQXkR6jpfgfgeDU1VtftiHXSrvVJ/JCWuqoGWsxsL
 BJpJifVYi1uY9A==;
Date: Sat, 10 Aug 2024 14:42:04 +0300
Message-Id: <86frrck3jn.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Ulrich Mueller <ulm@HIDDEN>
In-Reply-To: <u1q2waar0@HIDDEN> (message from Ulrich Mueller on Sat, 10
 Aug 2024 13:16:35 +0200)
Subject: Re: bug#72554: 31.0.50; misleading release information for 'always'
References: <u1q2waar0@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -0.0 (/)
X-Debbugs-Envelope-To: 72554
Cc: 72554 <at> debbugs.gnu.org
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: Ulrich Mueller <ulm@HIDDEN>
> Date: Sat, 10 Aug 2024 13:16:35 +0200
> 
> "C-h f always RET" says:
> 
>    always is a byte-compiled Lisp function in ‘subr.el’.
>    [...]
> 
>      Probably introduced at or before Emacs version 25.1.
>      This function does not change global state, including the match data.
> 
> However, 'always' only appeared in Emacs 28, so that information is
> misleading when trying to write backwards compatible code.
> 
> (It's less of a problem when the version that is shown is greater than
> the actual first release, which I think happens more often.)
> 
> Not sure how to fix this. Maybe exclude common English words (which
> are likely to appear in NEWS* without being the name of a function)
> from scanning in help-fns.el?

help-fns--first-release-regexp is supposed to find only quoted names,
so the problem is not with common words.  I think it finds this in
NEWS.25:

  *** New value 'always' for 'sh-indent-after-continuation'.
                ^^^^^^^^

So maybe we should reject matches that immediately follow "value" or
"values".  That won't reject all false positives, but it should be an
improvement, I think.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#72554; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Aug 2024 11:17:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Aug 10 07:17:26 2024
Received: from localhost ([127.0.0.1]:39123 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sck6A-0002oD-Fe
	for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 07:17:26 -0400
Received: from lists.gnu.org ([209.51.188.17]:41722)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ulm@HIDDEN>) id 1sck67-0002o3-9r
 for submit <at> debbugs.gnu.org; Sat, 10 Aug 2024 07:17:24 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1sck5d-0000df-Rk
 for bug-gnu-emacs@HIDDEN; Sat, 10 Aug 2024 07:16:53 -0400
Received: from woodpecker.gentoo.org ([140.211.166.183] helo=smtp.gentoo.org)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256)
 (Exim 4.90_1) (envelope-from <ulm@HIDDEN>) id 1sck5b-0003Ry-3G
 for bug-gnu-emacs@HIDDEN; Sat, 10 Aug 2024 07:16:52 -0400
From: Ulrich Mueller <ulm@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.0.50; misleading release information for 'always'
Date: Sat, 10 Aug 2024 13:16:35 +0200
Message-ID: <u1q2waar0@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Received-SPF: pass client-ip=140.211.166.183; envelope-from=ulm@HIDDEN;
 helo=smtp.gentoo.org
X-Spam_score_int: -41
X-Spam_score: -4.2
X-Spam_bar: ----
X-Spam_report: (-4.2 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3,
 RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.6 (-)
X-Debbugs-Envelope-To: submit
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: -2.6 (--)

"C-h f always RET" says:

   always is a byte-compiled Lisp function in =E2=80=98subr.el=E2=80=99.
   [...]

     Probably introduced at or before Emacs version 25.1.
     This function does not change global state, including the match data.

However, 'always' only appeared in Emacs 28, so that information is
misleading when trying to write backwards compatible code.

(It's less of a problem when the version that is shown is greater than
the actual first release, which I think happens more often.)

Not sure how to fix this. Maybe exclude common English words (which
are likely to appear in NEWS* without being the name of a function)
from scanning in help-fns.el?




Acknowledgement sent to Ulrich Mueller <ulm@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#72554; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.