From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.devel Subject: Re: reading/writing binary data in structured form Date: Sun, 27 Apr 2008 00:44:57 +0200 (CEST) Message-ID: <20080427.004457.142920613.wl@gnu.org> References: <20080426.160513.247304034.wl@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1209249919 23973 80.91.229.12 (26 Apr 2008 22:45:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 22:45:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: eliz@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 27 00:45:54 2008 connect(): Connection refused 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.50) id 1Jpt9W-0001kk-Cx for ged-emacs-devel@m.gmane.org; Sun, 27 Apr 2008 00:45:54 +0200 Original-Received: from localhost ([127.0.0.1]:38214 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jpt8q-0004Uy-4Z for ged-emacs-devel@m.gmane.org; Sat, 26 Apr 2008 18:45:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jpt8l-0004Un-SC for emacs-devel@gnu.org; Sat, 26 Apr 2008 18:45:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jpt8h-0004QW-FP for emacs-devel@gnu.org; Sat, 26 Apr 2008 18:45:06 -0400 Original-Received: from [199.232.76.173] (port=46452 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jpt8h-0004QL-6I for emacs-devel@gnu.org; Sat, 26 Apr 2008 18:45:03 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.183]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jpt8c-0004Q8-E7; Sat, 26 Apr 2008 18:44:58 -0400 Original-Received: from localhost (ip-78-94-246-124.reserved.ish.de [78.94.246.124]) by mrelayeu.kundenserver.de (node=mrelayeu0) with ESMTP (Nemesis) id 0MKwh2-1Jpt8a3UQv-0007lT; Sun, 27 Apr 2008 00:44:57 +0200 In-Reply-To: X-Mailer: Mew version 5.2.53 on Emacs 23.0.50.2 / Mule 5.0 (SAKAKI) X-Provags-ID: V01U2FsdGVkX184XZo3eKnxyWeEbautuY+F7dQ1i1Bk2shltnC mb6LmwWEYrUnG7kPGclL9VW9r1tEFx5ai1oJLKtKobjMH0CdUn 8iYMM2fYiiSvUpmY+cSMw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:95993 Archived-At: [GNU Emacs 23.0.50.2 of 2008-01-31] > > does there exist a major mode which allows definition of templates > > so that editing of binary data can be done in a structured way? > > Maybe bindat.el (bundled with Emacs) can be a good beginning of a > solution. Aah, yes, this looks very promising! Actually, I've never seen any mentioning of this package in emacs-devel (which is probably a good thing since it means that it works flawlessly) ... BTW, it's quite hard to find that package IMHO within Emacs; the only sensible way which comes to my mind is using `C-h p', going to section `data'. However, the files mentioned in this section are unsorted (which I consider a bad thing -- is this a bug?), and there are many items which are rather unneeded by Joe User (like most of the url-xxx.el files). Is there a better way? Neither `apropos' nor the manual index gives a sensible result which means that I've basically exhausted the suggested searching possibilities as given in the `Help' section of the Emacs info manual. Werner