From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#38294: [PATCH] Handle killing of virtual buffers in Ido Date: Wed, 12 Aug 2020 15:01:17 -0700 Message-ID: References: <87a76it1hi.fsf@marxist.se> <87wo9jkgrb.fsf@marxist.se> <874kpcrm5q.fsf@gnus.org> 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="12638"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dario Gjorgjevski , 38294@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 13 00:02:19 2020 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 1k5yp8-0003B1-Kc for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 13 Aug 2020 00:02:18 +0200 Original-Received: from localhost ([::1]:48036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1k5yp7-0002gl-It for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Aug 2020 18:02:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59516) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1k5yot-0002fK-6a for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 18:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34210) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1k5yos-0001Ci-T8 for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 18:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1k5yos-0004Ig-RS for bug-gnu-emacs@gnu.org; Wed, 12 Aug 2020 18:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Aug 2020 22:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 38294 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 38294-submit@debbugs.gnu.org id=B38294.159726968716471 (code B ref 38294); Wed, 12 Aug 2020 22:02:02 +0000 Original-Received: (at 38294) by debbugs.gnu.org; 12 Aug 2020 22:01:27 +0000 Original-Received: from localhost ([127.0.0.1]:45755 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5yoI-0004Ha-QE for submit@debbugs.gnu.org; Wed, 12 Aug 2020 18:01:27 -0400 Original-Received: from mail-yb1-f170.google.com ([209.85.219.170]:37515) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1k5yoG-0004HB-8H for 38294@debbugs.gnu.org; Wed, 12 Aug 2020 18:01:25 -0400 Original-Received: by mail-yb1-f170.google.com with SMTP id e14so2200372ybf.4 for <38294@debbugs.gnu.org>; Wed, 12 Aug 2020 15:01:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc:content-transfer-encoding; bh=C4xK/r5eQIBuywKScjftpCQ/3G1tla5ApGmbe71svXo=; b=aLI/nQdr9nSLG+l2rfP3UpSegjXd6mj2zFlDhKFQKokHAEhAFhWSGrdyrcWdi0ft1U 3hENA1c6nvy4v9/MHIgchJ2o0eM+D1BlGAK4x+RWU5hfXL5W1VLLy51A7pXax+GO2wUN aN+qiDPczgX2XnTNJGEXJHcRNimxlE+YTDuu/UTnO7uZM2dW/20VMdFCcV2uMJWZKHTU Ygr/kMJdhOAr1FaSgjCvQwCc8qxbkuF1MLU5OBstvP1dCXjY7+KCP/umuwoEyIDqWsnG UeiZDr3NWHMMPK8/FzG7V72el1/U+yjaWPCzwO7XuKRo5exKFeA/DZqpoFgUhhegnaGE 7Bzg== X-Gm-Message-State: AOAM531KDTRLCi515//AQ5hBy/kHpF9P7TUtfxkoVCFSKM406iHPClah ilZVM5W+Uki2nUplZE0YtMO163IsUxRvC+D0JBE= X-Google-Smtp-Source: ABdhPJwVYHtPVuAdE4wucS3kSYJ/lAd8DbbmrWgeQbOZGeOIlziCBac8fl0m5oUzJi1KeTJ8maKQcAI9Vq7J6AP+D/o= X-Received: by 2002:a25:880e:: with SMTP id c14mr2185504ybl.181.1597269678386; Wed, 12 Aug 2020 15:01:18 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 12 Aug 2020 15:01:18 -0700 In-Reply-To: <874kpcrm5q.fsf@gnus.org> 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" Xref: news.gmane.io gmane.emacs.bugs:184886 Archived-At: Lars Ingebrigtsen writes: > Stefan Kangas writes: > >>> What this patch changes is exactly this behavior: once a virtual buffer >>> has been =E2=80=9Ckilled=E2=80=9D from C-x k, it no longer appears in t= he list of >>> buffers. >>> >>> Let me know if this makes sense. >> >> I think the current behaviour makes sense, but I can very much see >> that some users would want what you suggest. Both choices here are >> valid. > > I think so, too, but I don't use this combination of features, so I'm > not sure. > > It does seem natural that killing a buffer would remove it from the list > of buffers ido-mode offers up, though, so I'm not totally sure whether > any ido users really expect this behaviour, or if they've just lived > with it as a bug. > > Any opinions here? The idea specifically with ido-use-virtual-buffers (from reading its doc string, not from being a user) is that one shouldn't have to worry about whether or not the buffer is open or not. To my mind, that implies that it means that even when manually killing buffers, I should still be able to switch to it. (It also seems a bit too surprising to now change the long-standing default behaviour.) However, if some users specifically want this behaviour only for auto-cleaned buffers (e.g. by midnight), I don't see why we couldn't provide it optionally. Anyways, I don't know if there is anything useful in the above or if I'm just rambling. I agree that it would be good to hear the opinion of someone else who actually uses this. Best regards, Stefan Kangas