From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#62229: 29.0.60; It's no longer possible to customize the xref ring size Date: Fri, 17 Mar 2023 10:17:28 +0200 Message-ID: <83v8izeqqv.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18531"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 62229@debbugs.gnu.org To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 17 09:18:20 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pd5I3-0004cG-W2 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 17 Mar 2023 09:18:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pd5Hr-0006mF-Fr; Fri, 17 Mar 2023 04:18:07 -0400 Original-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 ) id 1pd5Hm-0006lU-I2 for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 04:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pd5Hm-0006IQ-9E for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 04:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pd5Hl-0007TU-UH for bug-gnu-emacs@gnu.org; Fri, 17 Mar 2023 04:18:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 17 Mar 2023 08:18:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62229 X-GNU-PR-Package: emacs Original-Received: via spool by 62229-submit@debbugs.gnu.org id=B62229.167904106028694 (code B ref 62229); Fri, 17 Mar 2023 08:18:01 +0000 Original-Received: (at 62229) by debbugs.gnu.org; 17 Mar 2023 08:17:40 +0000 Original-Received: from localhost ([127.0.0.1]:43537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd5HQ-0007Sk-Ax for submit@debbugs.gnu.org; Fri, 17 Mar 2023 04:17:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60776) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pd5HO-0007SW-8V for 62229@debbugs.gnu.org; Fri, 17 Mar 2023 04:17:38 -0400 Original-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 ) id 1pd5HI-0006AZ-My; Fri, 17 Mar 2023 04:17:32 -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=kGoP0ugKZM7fOAKpvIZah5MDLuz06S2jSaNOvEGyYL8=; b=fDiTi+DoJdZT LfT+MS52XnGWNAeShdK++FVncl3eVcC/VtA0yWGeVNwzyGpGmXBZ2fbRfLYFsNUhbUyg+82ZKwhOJ xVDSu4pJJgWMlxXVU0xaMnGbeOx9JgstB6Tfn+HTE/bVWqAvaOh+oLNaN5M6hn5HbaNu9oiFAUQOS 8uJGpMZhBz4aXRbV4tLckljrfY+h2mxor3F3nK50JIeihz3cJ1xtpUjn48u4Yh017/urXcMVkDwpk mLcfL3yEUCUjs8rb150ez+J/zz8E0c+b1/8WRSblf0HTzRXOW1CKGTKxdb7PMojuM6TzQSnYwPh5N u8WZ+XDyIMPbif3tPcSKSQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pd5HE-0006C4-LP; Fri, 17 Mar 2023 04:17:32 -0400 In-Reply-To: (message from Spencer Baugh on Thu, 16 Mar 2023 18:11:06 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:258055 Archived-At: > From: Spencer Baugh > Date: Thu, 16 Mar 2023 18:11:06 -0400 > > > Emacs 28 had the function xref-set-marker-ring-length and the > customizable variable xref-marker-ring-length which allowed growing > the amount of history kept by xref. > > This feature has been lost in Emacs 29; that variable has been > obsoleted with no replacement. > > It's not clear, looking at the change, whether this is because the > size is now infinite or not. The same commit that obsoleted that > variable added the similar tags-location-ring-length. However that > variable has no docstring, no customize hooks, and setting it has no > effect unless tags-reset-tags-tables is called. > > At the very least, all this should be documented better, and the > obsoleting of this function and variable should be mentioned in NEWS. > If the history is indeed infinite now, that should be mentioned in > NEWS as well. Indeed, that change paid very little attention to documenting the important aspects of adding Xref history and using it instead of a limited-size ring. We should do better. I've now attempted to add the missing documentation; please take a look at the latest emacs-29 branch.