From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.devel Subject: RE: [PATCH] * lisp/ibuffer.el: Add ability to (un-)mark or delete buffers in the region. Date: Mon, 14 Dec 2015 11:10:06 -0800 (PST) Message-ID: <0f64fa19-5920-4556-850a-89193675033b@default> References: <566C9565.2000300@gmail.com> <83zixd2aw4.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1450120250 14328 80.91.229.3 (14 Dec 2015 19:10:50 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2015 19:10:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: John Wiegley , foudfou Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 20:10:34 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1a8YVz-00025O-SA for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2015 20:10:32 +0100 Original-Received: from localhost ([::1]:33400 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YVz-00089Z-0d for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2015 14:10:31 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55613) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YVl-00089F-Af for emacs-devel@gnu.org; Mon, 14 Dec 2015 14:10:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a8YVg-0004At-Aq for emacs-devel@gnu.org; Mon, 14 Dec 2015 14:10:17 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:27822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a8YVg-0004An-5M for emacs-devel@gnu.org; Mon, 14 Dec 2015 14:10:12 -0500 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id tBEJA8Wk024794 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 14 Dec 2015 19:10:09 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id tBEJA8oL002022 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Dec 2015 19:10:08 GMT Original-Received: from abhmp0015.oracle.com (abhmp0015.oracle.com [141.146.116.21]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id tBEJA7Sf011275; Mon, 14 Dec 2015 19:10:08 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:196259 Archived-At: > Foudil, why does this patch rely on the use of the region to select a gro= up > of buffers, rather than the existing functionality of using 'm' to mark > buffer(s) for subsequent action? This is a pattern used by many other mod= es, > such as dired. >=20 > In my brief testing, dired does not allow aggregate actions based on regi= ons > either. Therefore, since ibuffer advertises itself as "a dired for buffer= s" > -- > and likewise, proced for processes -- the method for dealing with aggrega= te > targets should be kept consistent. >=20 > Thus, I'm inclined to reject this patch in favor of the existing "marking= " > methodology. FWIW: My library dired+.el does let you use the region to act on (mark, unmark, toggle marks, flag for deletion) a selection of files (and dirs). http://www.emacswiki.org/emacs/DiredPlus#RegionMenu If you also use my library mouse3.el then the region menu has many more possibilities: http://www.emacswiki.org/emacs/DiredPlus#RegionMenuWithMouse3Library