unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: list-processes reimplementation, and list/menu buffers
Date: Tue, 05 Apr 2011 17:04:58 -0400	[thread overview]
Message-ID: <jwv8vvo4dqs.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87y63o65o5.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 05 Apr 2011 12:09:46 -0400")

> 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



  reply	other threads:[~2011-04-05 21:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04  0:48 list-processes reimplementation, and list/menu buffers Chong Yidong
2011-04-04  1:06 ` Leo
2011-04-04  6:52   ` Leo
2011-04-04 13:01 ` Tom Tromey
2011-04-05 16:09 ` Chong Yidong
2011-04-05 21:04   ` Stefan Monnier [this message]
2011-04-05 23:20     ` Chong Yidong
2011-04-06 20:49       ` Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8vvo4dqs.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).