From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: Seeking advice on writing a "line-based" major mode Date: Thu, 18 Jun 2015 09:10:06 -0700 (PDT) Message-ID: <894f3596-e513-4f5a-ba0b-f5638be50f9d@default> References: <87wpzf9q38.fsf@mbork.pl> <2687fb9a-c314-4cf4-8c8a-d959e886ed14@default> <87fv5p30ff.fsf@mbork.pl> 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 1434643847 6441 80.91.229.3 (18 Jun 2015 16:10:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 18 Jun 2015 16:10:47 +0000 (UTC) To: Marcin Borkowski , Help Gnu Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 18 18:10:35 2015 Return-path: Envelope-to: geh-help-gnu-emacs@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 1Z5cOc-0001FA-8e for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 18:10:30 +0200 Original-Received: from localhost ([::1]:53708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cOb-0007Nd-LQ for geh-help-gnu-emacs@m.gmane.org; Thu, 18 Jun 2015 12:10:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44204) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cOL-0007K2-PG for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 12:10:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z5cOG-0000bM-M4 for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 12:10:13 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:47242) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z5cOG-0000au-D4 for help-gnu-emacs@gnu.org; Thu, 18 Jun 2015 12:10:08 -0400 Original-Received: from userv0022.oracle.com (userv0022.oracle.com [156.151.31.74]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id t5IGA6d5010058 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 18 Jun 2015 16:10:07 GMT Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by userv0022.oracle.com (8.13.8/8.13.8) with ESMTP id t5IGA6Be005655 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 18 Jun 2015 16:10:06 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by userv0121.oracle.com (8.13.8/8.13.8) with ESMTP id t5IGA6fB016352; Thu, 18 Jun 2015 16:10:06 GMT In-Reply-To: <87fv5p30ff.fsf@mbork.pl> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6691.5000 (x86)] X-Source-IP: userv0022.oracle.com [156.151.31.74] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:105036 Archived-At: > >> the buffer will contain a bunch of lines, each of them > >> correspoding to some object (basically, I have a vector > >> of these "objects", and I want to display them in some way). > > > > Sounds like a candidate for `tabulated-list-mode'. You can > > use that to print lines that are composed of one or more > > columns, and a header line that let you sort by any column > > (if you want). >=20 > Thanks for your tip, though after consideration I ended up using > EWOC. It might help others if you say why. For example, what in your problem context helped you decide that EWOC might be more useful to it than `tabulated-list-mode'?