From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#67691: 29.1.50; Virtual buffers in fido-mode Date: Fri, 8 Dec 2023 16:07:40 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1142"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Cc: 67691@debbugs.gnu.org, bcclaro To: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 08 15:09:16 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 1rBbXX-000AbH-6I for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Dec 2023 15:09:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBbX9-0004N4-9A; Fri, 08 Dec 2023 09:08:51 -0500 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 1rBbX7-0004Mv-MT for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 09:08:49 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rBbX7-0001GB-Ef for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 09:08:49 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBbXK-0004DP-4B for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 09:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2023 14:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67691 X-GNU-PR-Package: emacs Original-Received: via spool by 67691-submit@debbugs.gnu.org id=B67691.170204448916080 (code B ref 67691); Fri, 08 Dec 2023 14:09:02 +0000 Original-Received: (at 67691) by debbugs.gnu.org; 8 Dec 2023 14:08:09 +0000 Original-Received: from localhost ([127.0.0.1]:44194 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbWT-0004BH-2W for submit@debbugs.gnu.org; Fri, 08 Dec 2023 09:08:09 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:58887) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBbWQ-0004AY-KV for 67691@debbugs.gnu.org; Fri, 08 Dec 2023 09:08:08 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 011783200A32; Fri, 8 Dec 2023 09:07:44 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 08 Dec 2023 09:07:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to; s=fm3; t= 1702044464; x=1702130864; bh=d8MBYBdOh+lQrP+wFH6UhoWZ8ZlF8qTCg0E 0adTiZRk=; b=lRIrz5n0HyVACC5xbACofLcax2XxJNlkK/zdxYDuA3q2Rg0s5R6 wLOs6KgnHdrJ4z5C0JOmHTlp8cbOudloXbYhlkGNquefHQ+J6rrkPo7/6L15kq8s K4oOEGKQz4oGWOCFQ70GgALqIln4PFQTuFqX9kdRC7M3mko3ZIqDjkD/omKZZQf2 ZPgQtwUx4cuVi4Ly6Zkz/AoL5Dxj84HRxFzznfoIxZpLLyvBv9aEKTRrbWUmkD38 gcQJi52QdxfagxEbPT65sjVC36+gwEaSZN3w0+rk4/Owkogr2kEEzzAG8Ta5dyI7 aPxWesOTJ0UDoeMx8gJuODBT7uuBuoiDmLg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1702044464; x=1702130864; bh=d8MBYBdOh+lQrP+wFH6UhoWZ8ZlF8qTCg0E 0adTiZRk=; b=WAWj+gc2IPWMMw3ytjMo837Z4Cd6icHvxIqrE7/hlEF+CNwmtd7 VlqEk1870ICx9MFjOHLHcrVBOIDQj1lCLunQ4MJ1bbepO+xlv2LWE8kXhg5DD8QE OEPlSIOSwyrKbqGe+rmcCkq8ksWiQedG2U+x69zygJXd9d2PeTaQuMFaZu7RlGUv z3OsaDVajWXELm2pv0NAxXL0LZNQ3cVaEFFBDfkXe8ojdeAdTt+tSnQUsCZwE/0N i9yJpLSt+En8VENd8KLlahtXCvrR4OVY4dn89h7k93qCzcXWZkGYqVgeJuzdE8Cb LMFDGWSRu0U49vOLIW4e94BrnpqyrHC47oA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrudekiedgieduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhephfffheeljeffgeffueeghfekkedtfffgheejvdegjeettdduheeufffggfef jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 8 Dec 2023 09:07:43 -0500 (EST) Content-Language: en-US In-Reply-To: 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:275772 Archived-At: On 08/12/2023 15:22, João Távora wrote: > On Fri, Dec 8, 2023 at 12:29 PM Dmitry Gutov wrote: >> >> On 08/12/2023 13:27, João Távora wrote: >>>> Also somewhat relevant, from the same question: >>>> >>>>> Is there a way to get recentf entries to be appended after the open >>>>> buffers when I call switch-to-buffer using fido-vertical-mode? >>>> I'm not the OP but I was in need of much the same functionality. >>> Maybe this feature (and also the preceding one, I guess) could be >>> argued for in terms of changes to Emacs's completion frontend >>> so that it is available to fido, icomplete, vanilla completion, >>> and maybe more. But I don't understand exactly what the >>> feature does (though here it seems simpler than in the previous >>> one). >> >> It's the same feature. >> >> I think ido-use-virtual-buffers's docstring has a good explanation. >> >> So, two parts: >> >> - Using entries from recentf in the list of buffers to switch to. >> - Color them differently somehow. > > So including files in a buffer list? Seems odd, but then ido > had a lot of oddities. Quite. > Anyway, I think what I miss most about Ido also solves the > problem of going to recently visited files. In Ido, I could > ido-find-file, type a fragment of a file name and then M-p to > cycle between those old files that match that pattern This sounds useful, but it's not something that I do, personally. It takes more keypresses and doesn't match the way I think about files and projects anyway. The "virtual buffers" thing sells itself with fast access: you recall the name of a previously open file, and just visit it as if the buffer already existed. If the base file name is unique enough, that's the quickest way to do that. Otherwise, you have to double-check the directory it's in.