unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Kevin Ryde <user42@zip.com.au>
Cc: emacs-devel@gnu.org
Subject: Re: bindat docs on length of str, strz, etc types
Date: Sat, 30 Dec 2006 09:42:06 +1100	[thread overview]
Message-ID: <87ejqiz5mp.fsf@zip.com.au> (raw)
In-Reply-To: <m3slezze9v.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "Fri, 29 Dec 2006 02:23:08 +0100")

storm@cua.dk (Kim F. Storm) writes:
>
> I have now updated the bindat docs according to your suggestions.
> Please have a look.

I'm unsure about this bit

	In this case, the length can be given either by that field's
	name as specified for `bindat-get-field'

Should it say you write "(fieldname)" instead of a bare name.  Perhaps
if the "([NAME] HANDLER)" bit was at the start of the section you
could refer back to that instead of forward to bindat-get-field too.
Also maybe an @multitable could show the possibilities better than
words.  I suspect it's one of those things where patterns or examples
are easier to follow than actual description. :)

	integer        fixed given length
	(FIELDNAME)    length from a previous field
	(eval FORM)    length from evaluating FORM (more on eval below)

  reply	other threads:[~2006-12-29 22:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-27 22:22 bindat docs on length of str, strz, etc types Kevin Ryde
2006-12-27 23:06 ` Kim F. Storm
2006-12-27 23:38   ` Kevin Ryde
2006-12-29  1:23     ` Kim F. Storm
2006-12-29 22:42       ` Kevin Ryde [this message]
2006-12-30  0:46         ` Kim F. Storm

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=87ejqiz5mp.fsf@zip.com.au \
    --to=user42@zip.com.au \
    --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).