From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#37772: 26.3; Doc of recentf, particularly `recentf-list' Date: Thu, 17 Oct 2019 15:41:09 +0000 (UTC) Message-ID: <15372348-a7e5-4b90-b8ab-bee94a484b55@default> References: <877e54m6je.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="25920"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37772@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 17 18:50:22 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iL8yj-0006c8-7g for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2019 18:50:21 +0200 Original-Received: from localhost ([::1]:53198 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL8yh-0005fA-Ca for geb-bug-gnu-emacs@m.gmane.org; Thu, 17 Oct 2019 12:50:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60000) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iL7wa-0004bM-QP for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 11:44:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iL7wY-00066t-DL for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 11:44:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39933) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iL7wY-00066m-8S for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 11:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iL7wY-0008S4-4l for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 11:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 17 Oct 2019 15:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37772 X-GNU-PR-Package: emacs Original-Received: via spool by 37772-submit@debbugs.gnu.org id=B37772.157132699932403 (code B ref 37772); Thu, 17 Oct 2019 15:44:02 +0000 Original-Received: (at 37772) by debbugs.gnu.org; 17 Oct 2019 15:43:19 +0000 Original-Received: from localhost ([127.0.0.1]:48754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iL7vr-0008QZ-GW for submit@debbugs.gnu.org; Thu, 17 Oct 2019 11:43:19 -0400 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:48908) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iL7vq-0008QL-1m for 37772@debbugs.gnu.org; Thu, 17 Oct 2019 11:43:18 -0400 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9HFg3K0016842; Thu, 17 Oct 2019 15:43:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2019-08-05; bh=LdjTn25nAluLGcIZzSWawjdviU9aE2KArrUIWdU/hvo=; b=H9jlUdRlH2x6Ps31DblnYblqi3duWCAoLrCpXKESOeVwjJU/dwl4m5RDGdONH5r5GSgy ISepu0oNjN6PLWpzCFsVre0hs4wHPnAoai6cZ8qN5IvdDyqCYF2zjZ4SzQBWqjQOMf3y D8N7wuak+zuXbx/6P8jSvv23GFpCtyzZpN3EO2XX9YA527ABmz+vf1WqH22IHSsnbwCE 4qaVi3HJCxrchtXiGC/k13FRZYRzWEPSL1vaJli3rBGAHJPoGRblM6eNvcZx3JSMM/Iq 30uQoXwOlC10eSqWtXLP3J04WM5B1QjFfuhqadh8zoavoyKw0AWTrJA5eK5nnHzqz17v OQ== Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by aserp2120.oracle.com with ESMTP id 2vk6sqyaer-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Oct 2019 15:43:11 +0000 Original-Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.27/8.16.0.27) with SMTP id x9HFcm99008331; Thu, 17 Oct 2019 15:41:11 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserp3020.oracle.com with ESMTP id 2vp70q57sa-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 17 Oct 2019 15:41:11 +0000 Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id x9HFfARS005310; Thu, 17 Oct 2019 15:41:10 GMT In-Reply-To: <877e54m6je.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4900.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=958 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910170140 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9413 signatures=668684 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1908290000 definitions=main-1910170140 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169595 Archived-At: > > Many users use recentf. Likewise, libraries. Nowhere is it said > > what order the files are listed in, i.e., the order of the elements of > > `recentf-list'. The answer is apparently that, by default at least, > > a file is pushed to the front of the list when it is "opened" or > > written. > > > > A more exact answer is that `recentf-list' is in reverse > > chronological order of calls to `recentf-track-opened-file'. > > And by default that function is added to these hooks: > > `find-file-hook' and `write-file-functions'. >=20 > I think that seems pretty self-evident -- the doc strings talk about > "most recent" etc, so what other ordering could be meant? It's not obvious at all. That the 30 most recently opened files are listed says _nothing_ about the order in which they're listed. And nothing is said about the situations when (by default) the list (`recentf-list') is updated. The answer is in the hooks. It's not about re-selecting the window of a file buffer or changing a file outside Emacs, for instance. (Not by default, at least.) > So I don't see anything to fix here and I'm closing this bug report. Unfortunate.