all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Xue Fuqiao <xfq.free@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: About "set bits"
Date: Wed, 10 Apr 2013 21:46:27 +0800	[thread overview]
Message-ID: <20130410214627.6ca217f53415c0c6d1837edd@gmail.com> (raw)

In (info "(elisp) Bindat Spec"):

  `bits LEN'
     List of set bits in LEN bytes.  The bytes are taken in big endian
     order and the bits are numbered starting with `8 * LEN - 1' and
     ending with zero.  For example: `bits 2' unpacks `#x28' `#x1c' to
     `(2 3 4 11 13)' and `#x1c' `#x28' to `(3 5 10 11 12)'.

I don't know what "set bits" means here.  I have searched the archives,
and found two related threads:
http://lists.gnu.org/archive/html/help-gnu-emacs/2005-06/msg00087.html
http://lists.gnu.org/archive/html/help-gnu-emacs/2013-01/msg00103.html

But they didn't help.  I have also searched the web and seen the
commentary header of bindat.el, but nothing helped to me.  Can I get a
pointer to information on this concept (or on byte packing)?

-- 
Xue Fuqiao

English is not my native language; please excuse typing errors.



             reply	other threads:[~2013-04-10 13:46 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-04-10 13:46 Xue Fuqiao [this message]
2013-04-10 14:15 ` About "set bits" Thien-Thi Nguyen
2013-04-10 15:20 ` Eli Zaretskii
     [not found] ` <mailman.23883.1365607222.855.help-gnu-emacs@gnu.org>
2013-04-10 15:37   ` Barry Margolin
2013-04-10 22:33     ` Xue Fuqiao
2013-04-10 22:39       ` Xue Fuqiao
2013-04-11  8:46     ` Thien-Thi Nguyen
     [not found]     ` <mailman.23943.1365669842.855.help-gnu-emacs@gnu.org>
2013-04-11 15:19       ` Barry Margolin
2013-04-12  4:39         ` Thien-Thi Nguyen
2013-04-12 14:20           ` Xue Fuqiao

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130410214627.6ca217f53415c0c6d1837edd@gmail.com \
    --to=xfq.free@gmail.com \
    --cc=help-gnu-emacs@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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.