unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* RE: reading/writing binary data in structured form
       [not found] <20080426.160513.247304034.wl@gnu.org>
@ 2008-04-26 14:22 ` Drew Adams
  2008-04-26 15:18   ` Werner LEMBERG
       [not found]   ` <mailman.10841.1209223213.18990.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 5+ messages in thread
From: Drew Adams @ 2008-04-26 14:22 UTC (permalink / raw)
  To: 'Werner LEMBERG'; +Cc: help-gnu-emacs

> 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.)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reading/writing binary data in structured form
  2008-04-26 14:22 ` reading/writing binary data in structured form Drew Adams
@ 2008-04-26 15:18   ` Werner LEMBERG
  2008-04-26 16:43     ` Drew Adams
       [not found]   ` <mailman.10841.1209223213.18990.help-gnu-emacs@gnu.org>
  1 sibling, 1 reply; 5+ messages in thread
From: Werner LEMBERG @ 2008-04-26 15:18 UTC (permalink / raw)
  To: drew.adams; +Cc: help-gnu-emacs


> > 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




^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: reading/writing binary data in structured form
  2008-04-26 15:18   ` Werner LEMBERG
@ 2008-04-26 16:43     ` Drew Adams
  2008-04-26 22:29       ` Werner LEMBERG
  0 siblings, 1 reply; 5+ messages in thread
From: Drew Adams @ 2008-04-26 16:43 UTC (permalink / raw)
  To: 'Werner LEMBERG'; +Cc: help-gnu-emacs

> > > 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
>
> You are joking, aren't you?  I want *structured* editing...

No, I wasn't joking; I was trying to help. 

It wasn't clear to me from your "in a structured way" that you meant anything
like what you describe now. You did not mention that you were familiar with
hexl-mode or explain anything about what you wanted that was different.





^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reading/writing binary data in structured form
  2008-04-26 16:43     ` Drew Adams
@ 2008-04-26 22:29       ` Werner LEMBERG
  0 siblings, 0 replies; 5+ messages in thread
From: Werner LEMBERG @ 2008-04-26 22:29 UTC (permalink / raw)
  To: drew.adams; +Cc: help-gnu-emacs


> No, I wasn't joking; I was trying to help. 

OK, thanks.

> It wasn't clear to me from your "in a structured way" that you meant
> anything like what you describe now. You did not mention that you
> were familiar with hexl-mode or explain anything about what you
> wanted that was different.

This is probably caused by the fact that English is not my mother
tongue...


    Werner




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: reading/writing binary data in structured form
       [not found]   ` <mailman.10841.1209223213.18990.help-gnu-emacs@gnu.org>
@ 2008-04-27  1:47     ` Dan Espen
  0 siblings, 0 replies; 5+ messages in thread
From: Dan Espen @ 2008-04-27  1:47 UTC (permalink / raw)
  To: help-gnu-emacs

Werner LEMBERG <wl@gnu.org> writes:

>> > 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.)
...
> A commercial product which looks quite promising is
>
>   http://www.sweetscape.com/010editor/
>
> but this is for MS Windows only.

Emacs edits a few image binary file types that I'm aware of, XPM
images for example, but not with user supplied templates.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-27  1:47 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20080426.160513.247304034.wl@gnu.org>
2008-04-26 14:22 ` reading/writing binary data in structured form Drew Adams
2008-04-26 15:18   ` Werner LEMBERG
2008-04-26 16:43     ` Drew Adams
2008-04-26 22:29       ` Werner LEMBERG
     [not found]   ` <mailman.10841.1209223213.18990.help-gnu-emacs@gnu.org>
2008-04-27  1:47     ` Dan Espen

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).