From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Newsgroups: gmane.emacs.bugs Subject: bug#67691: 29.1.50; Virtual buffers in fido-mode Date: Fri, 8 Dec 2023 13:22:50 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5674"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67691@debbugs.gnu.org, bcclaro To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 08 14:24:10 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 1rBapu-0001Cv-7A for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Dec 2023 14:24:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rBapf-0000Er-Al; Fri, 08 Dec 2023 08:23:56 -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 1rBapb-0000EQ-Ax for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 08:23:52 -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 1rBapZ-0006dq-Pe for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 08:23:50 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rBapm-0002Ia-7u for bug-gnu-emacs@gnu.org; Fri, 08 Dec 2023 08:24:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: =?UTF-8?Q?Jo=C3=A3o_?= =?UTF-8?Q?T=C3=A1vora?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Dec 2023 13:24: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.17020418048751 (code B ref 67691); Fri, 08 Dec 2023 13:24:02 +0000 Original-Received: (at 67691) by debbugs.gnu.org; 8 Dec 2023 13:23:24 +0000 Original-Received: from localhost ([127.0.0.1]:44141 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBap9-0002H5-Nw for submit@debbugs.gnu.org; Fri, 08 Dec 2023 08:23:24 -0500 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]:56755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rBap7-0002Gg-V5 for 67691@debbugs.gnu.org; Fri, 08 Dec 2023 08:23:23 -0500 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-50c222a022dso1749494e87.1 for <67691@debbugs.gnu.org>; Fri, 08 Dec 2023 05:23:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1702041783; x=1702646583; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Y3FHXvXJHa1pCsL8lnhfdyfzjThreNHOjYrPruPiiMk=; b=AnuVRlnWrZUpsOYW/3kr54xi3kvK42C26QAoD0A8V0LChw6IZDXnNbdZbzMKbbLqyO KG1nsexrluOUM4HbkBDcPvf8dF20IMkssaUJwO78ss9AX9cfqhIHUYMWCkX3h6jhmEI5 gR4gIRnFNOsnfaTRSbe8Qg08cd6PgZAQ/3mDnuhwfTj7Q6+C8UrTpFCknEyhRSwaJvKB 7t5egoGAMc+Ls1pwmkrxUlDHbwGYLeiBgj7zdcKjf5t+GG3DtWYedCigWR8B6dCpqAgQ jptWJ6GpPSXU40EiiEC97jLdlNfy+LAdkGycmduNKRX+ZtGOZxVI6LLu83gw1FQB4ylQ Y6+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702041783; x=1702646583; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Y3FHXvXJHa1pCsL8lnhfdyfzjThreNHOjYrPruPiiMk=; b=HHxGDHeZiDz1PlhWz9h4OULJuZljSlrIJamxlMeaGPjhHJDrg4yHOYp2/c9GKcbs8I s6N3KLnA9/a+MkTjdoVZQjBv7vNeEji/Yp5r9OEGind+MHLtFWIb8FcQAdMaq9FhMLIp ZvtGP9N9/CpFBwpeM5EM942iBy1PZA5+diTRFnGQoBy/lcTdfEGuh6pKyedCrJXOSCaU fC+D1k1sqDuAV5EMgPuij7xA2LTJDBBfbigDUHogj6VgDPuL0L7mP3+Ziib6vJyEX9Bc TebHMY0xt9rw44pHEVJJPzBvK8AYHHAWRHiJK01sJB5Lrt7pkHnpVCvUNSnNMa7G6Y7S 6X5A== X-Gm-Message-State: AOJu0YwS/BagroZXRDFTJFnQOTjWT5TX9OUB8oRfTR54hoY52Kr2W58n E885QJJlOyn27maHBz8uVnUC3ePqApDaGYpXSno= X-Google-Smtp-Source: AGHT+IG9fbL3VRI1lexPr9xc2gIukthLw0dO6BZXhOejGuUOCXy8ryRHPQPMtAKHi9arVpKK0/4VF2PZ4zC0qtRMevk= X-Received: by 2002:a05:6512:14f:b0:50c:fd2:df13 with SMTP id m15-20020a056512014f00b0050c0fd2df13mr2256290lfo.32.1702041782432; Fri, 08 Dec 2023 05:23:02 -0800 (PST) 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:275768 Archived-At: On Fri, Dec 8, 2023 at 12:29=E2=80=AFPM Dmitry Gutov wro= te: > > On 08/12/2023 13:27, Jo=C3=A3o T=C3=A1vora 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. 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 In vanilla completion, icomplete, etc (and this includes fido-mode), M-p doesn't do this search. The workflow for this appears to be M-r for previous-matching-history-element but that asks me to input a regexp, which is not necessarily the completion style I have configured. Even when I do that, it doesn't seem to work very well, doesn't seem to go into the recentf list, or at least is confusing enough that I don't bother trying it. But I still miss that feature after many years away from Ido. So, if I were to work on something for Fido, it would be that feature (which, importantly, doesn't mix buffers with files in the same bag). Jo=C3=A3o