From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: kill-matching-buffers without confirmation Date: Tue, 23 May 2017 12:28:35 +0700 Message-ID: References: <537757403.6158992.1495470490914.ref@mail.yahoo.com> <537757403.6158992.1495470490914@mail.yahoo.com> <6e11051e-1a41-426b-97be-de1d70480c34@default> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1495517378 7561 195.159.176.226 (23 May 2017 05:29:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 May 2017 05:29:38 +0000 (UTC) Cc: "R. Diez" , Emacs developers To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue May 23 07:29:33 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dD2Nu-0001hA-7q for ged-emacs-devel@m.gmane.org; Tue, 23 May 2017 07:29:30 +0200 Original-Received: from localhost ([::1]:46196 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD2Nw-0001uY-CM for ged-emacs-devel@m.gmane.org; Tue, 23 May 2017 01:29:32 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48344) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dD2NN-0001tw-Ch for emacs-devel@gnu.org; Tue, 23 May 2017 01:28:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dD2NM-0004su-PA for emacs-devel@gnu.org; Tue, 23 May 2017 01:28:57 -0400 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:34378) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dD2NM-0004sO-Jy for emacs-devel@gnu.org; Tue, 23 May 2017 01:28:56 -0400 Original-Received: by mail-wm0-x231.google.com with SMTP id 123so15794806wmg.1 for ; Mon, 22 May 2017 22:28:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=1pVf3LAqoyHd4dH5hhInGZVIV85laPUyeDOUa/xZnHA=; b=VW35XTuiXQJ7UDmoNBcW5mNJVWI0wfI7LvXK1w111DItzqUCow5uTdF1soDXeDDi3B I2sLHc4rswKOBxVPXsHABZcoYOH8qva+kN3UEFsrCiTj/C68WYWjynIpI8PLlYoxvXRV GrivBp2FDn/fjWpb21aD3AWxoKJW1MXDRTeatbbUzd3VqfrfmrCuMZldjXB8lmUSyPCo nZ1z8GUG7IiAItHgYU5OpaveZWz1nAJqEAbi6AcLL1YKg6QqXiuXHC7cIeQDhhRka9vt b83Xw3yKNXd8senM6Lm2/gcMpBI2qEXSB7vo/P3KLbIWbJBXDT9Hj5BFA8UWcek17x/f i/HQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=1pVf3LAqoyHd4dH5hhInGZVIV85laPUyeDOUa/xZnHA=; b=nGPQ82sLAjNg/e1gFUsT/pT5lhZmRl3xGn+1wUQre/p9Jy12evo4UH2w61Vmev36uL UjZSxufneX5m8yvh4A7OrEJlXgJEvEku30IsN8nVkWkY3wn7043ChzV/4P2xhBZcq3Zn yBLwwDETNa1f4obSDVbDw64EPwMvY+7dY+SVnLnvLIhph8nSiGFlvq4M+z++wrziesx4 LBa+znqG7BpLWLnvvUf/tZ5oAWcvS0hbGuPOk//4IjTbc96KIVtrmjBSaYUNOtkIZm3/ 7vDJxlfSqLrkCoBkZ2BjOjmGQVeZYEGUVkO5DvDu9NFTUxchtlhGvYss+CcUJAyGICM+ nZvA== X-Gm-Message-State: AODbwcClsSkbkH8HXvki5QoT1k7J71yAGPb71yY/adFiI68Kt8CqwD2X 0q1Kvw4+dn/JAvR8KKsHnGxXvADcPQ== X-Received: by 10.28.7.16 with SMTP id 16mr778787wmh.16.1495517335509; Mon, 22 May 2017 22:28:55 -0700 (PDT) Original-Received: by 10.223.163.196 with HTTP; Mon, 22 May 2017 22:28:35 -0700 (PDT) In-Reply-To: <6e11051e-1a41-426b-97be-de1d70480c34@default> X-Google-Sender-Auth: f8LgYb42JPHUfnvRp28iE_EYUXo X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:215119 Archived-At: On Tue, May 23, 2017 at 5:21 AM, Drew Adams wrote: > I don't even think that Emacs needs commands `kill-matching-buffers' and > `kill-some-buffers' at all, for that matter. > > [What Emacs should offer instead is a way for `C-x k' to act (by hitting > a key) on *each* completion of your input. And ways to match buffer name= s > better, possibly choosing how on the fly: substring, regexp, fuzzy. Another UI for the same use case is: * Open up a buffer list (e.g. ibuffer). * Mark buffers by regexp (=E2=80=98% n=E2=80=99 in ibuffer). * Inspect the list to ensure it=E2=80=99s what you expect. Possibly mark or= unmark some. * Kill marked buffers. If any of those are unsaved, a prompt could offer the =E2=80=9Cyes for all= =E2=80=9D choice, like ! does in query-replace.