From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Werner LEMBERG Newsgroups: gmane.emacs.help Subject: Re: reading/writing binary data in structured form Date: Sat, 26 Apr 2008 17:18:20 +0200 (CEST) Message-ID: <20080426.171820.251095449.wl@gnu.org> References: <20080426.160513.247304034.wl@gnu.org> <001201c8a7a8$e730f9b0$0200a8c0@us.oracle.com> 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 1209223344 13526 80.91.229.12 (26 Apr 2008 15:22:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 26 Apr 2008 15:22:24 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: drew.adams@oracle.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Apr 26 17:22:59 2008 connect(): Connection refused Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JpmEd-0003nW-2q for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Apr 2008 17:22:43 +0200 Original-Received: from localhost ([127.0.0.1]:43311 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpmDw-00019p-Rj for geh-help-gnu-emacs@m.gmane.org; Sat, 26 Apr 2008 11:22:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JpmAe-0008Ho-SJ for help-gnu-emacs@gnu.org; Sat, 26 Apr 2008 11:18:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JpmAa-0008FR-6p for help-gnu-emacs@gnu.org; Sat, 26 Apr 2008 11:18:36 -0400 Original-Received: from [199.232.76.173] (port=57609 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JpmAa-0008FG-19 for help-gnu-emacs@gnu.org; Sat, 26 Apr 2008 11:18:32 -0400 Original-Received: from moutng.kundenserver.de ([212.227.126.186]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JpmAZ-0004d2-BS for help-gnu-emacs@gnu.org; Sat, 26 Apr 2008 11:18:31 -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-1JpmAP0luz-0007eb; Sat, 26 Apr 2008 17:18:21 +0200 In-Reply-To: <001201c8a7a8$e730f9b0$0200a8c0@us.oracle.com> X-Mailer: Mew version 5.2.53 on Emacs 23.0.50.2 / Mule 5.0 (SAKAKI) X-Provags-ID: V01U2FsdGVkX1/b7ez93/sTx7oLvU5yTPXlk5O8ky3wEhkMMru PT6BNpXleqOx9QkBxgKJQ/7D4mXE4xKfKvhV7rRHEonE2fxajx 5/LyK67ATJoScmdLi/aaA== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-Mailman-Approved-At: Sat, 26 Apr 2008 11:20:09 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:53558 Archived-At: > > does there exist a major mode which allows definition of templates > > so that editing of binary data can be done in a structured way? > > hexl-mode > > (A better list for this kind of question might be > help-gnu-emacs@gnu.org.) You are joking, aren't you? I want *structured* editing, this is, for example, defining a template struct foo { int16 bar; int32 baz; } which can be used later on as foo[32]; and which gets applied to a certain address, and where, for example, I can modify a value with foo[12].bar=1; or something similar. A commercial product which looks quite promising is http://www.sweetscape.com/010editor/ but this is for MS Windows only. Werner