From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: list-processes reimplementation, and list/menu buffers Date: Tue, 05 Apr 2011 17:04:58 -0400 Message-ID: References: <87y63o65o5.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1302037521 28507 80.91.229.12 (5 Apr 2011 21:05:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2011 21:05:21 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Apr 05 23:05:12 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q7DR1-00061P-Ak for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2011 23:05:11 +0200 Original-Received: from localhost ([127.0.0.1]:35477 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7DQz-0006un-3S for ged-emacs-devel@m.gmane.org; Tue, 05 Apr 2011 17:05:09 -0400 Original-Received: from [140.186.70.92] (port=53977 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q7DQt-0006ry-UA for emacs-devel@gnu.org; Tue, 05 Apr 2011 17:05:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q7DQt-0005V5-1S for emacs-devel@gnu.org; Tue, 05 Apr 2011 17:05:03 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:42057) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q7DQs-0005V1-SG for emacs-devel@gnu.org; Tue, 05 Apr 2011 17:05:03 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id p35L6G9s002591; Tue, 5 Apr 2011 17:06:18 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B3E3CB4465; Tue, 5 Apr 2011 17:04:58 -0400 (EDT) In-Reply-To: <87y63o65o5.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 05 Apr 2011 12:09:46 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3818=0 X-NAI-Spam-Version: 2.2.0.9286 : core <3818> : streams <617347> : uri <843848> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:138194 Archived-At: > One issue is what to call the generic major mode. I chose menu-buffer > because the inheriting modes would be called *-menu-mode (package-menu, > process-menu...), but I'm not crazy about the name. I think an important feature of this parent mode is that it handles tabulated data (as opposed to things like completion-list-mode), so that might give us a clue for what name to give it. Maybe tabulated-list-mode? BTW: I think mpc.el's MPC-Songs buffer could use such a parent mode as well. > I looked into using ewoc, but it seemed to provide little benefit, > because there's no complex insertion or deletion of data entries being > performed; for both the package-menu and process-menu, entries are just > regenerated from scratch each time anyway. Agreed. But it would be desirable to use ewoc on top of this new parent mode, for modes such as VC-Dir. Stefan