From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: fadr Date: Mon, 22 Jun 2009 12:39:21 -0400 Message-ID: <87ab40rznq.fsf@stupidchicken.com> References: <87zlc0s3np.fsf@stupidchicken.com> <87y6rkp727.fsf@sphinx.net.ru> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1245688853 15758 80.91.229.12 (22 Jun 2009 16:40:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 22 Jun 2009 16:40:53 +0000 (UTC) Cc: Nick Roberts , emacs-devel@gnu.org To: Dmitry Dzhus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 22 18:40:49 2009 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 1MImZc-0001Oh-Ft for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2009 18:40:48 +0200 Original-Received: from localhost ([127.0.0.1]:34644 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MImZb-0002Ji-V6 for ged-emacs-devel@m.gmane.org; Mon, 22 Jun 2009 12:40:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MImYJ-0001im-EE for emacs-devel@gnu.org; Mon, 22 Jun 2009 12:39:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MImYG-0001fR-22 for emacs-devel@gnu.org; Mon, 22 Jun 2009 12:39:27 -0400 Original-Received: from [199.232.76.173] (port=57617 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MImYF-0001fJ-Ly for emacs-devel@gnu.org; Mon, 22 Jun 2009 12:39:23 -0400 Original-Received: from pantheon-po33.its.yale.edu ([130.132.50.94]:54268) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MImYF-0004Z3-Bq for emacs-devel@gnu.org; Mon, 22 Jun 2009 12:39:23 -0400 Original-Received: from furry (dhcp128036014144.central.yale.edu [128.36.14.144]) (authenticated bits=0) by pantheon-po33.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id n5MGdLOk018903 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Mon, 22 Jun 2009 12:39:21 -0400 Original-Received: by furry (Postfix, from userid 1000) id 4F770C09B; Mon, 22 Jun 2009 12:39:21 -0400 (EDT) In-Reply-To: <87y6rkp727.fsf@sphinx.net.ru> (Dmitry Dzhus's message of "Mon, 22 Jun 2009 20:27:44 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:111638 Archived-At: Dmitry Dzhus writes: > I didn't know about this, thanks for pointing out at this facility. I'm > familiar with similar kind of structures from some experience I had with > Scheme. I'll see how I can fit this in my code to work with GDB/MI > responses. Thien-Thi Nguyen has also suggested using bindat.el. His email did not include you in the CC, and I don't know if you are subscribed to emacs-devel. This is a good suggestion if you're working with binary data rather than Lisp objects (I am not sure about your usage case.) The bindat.el file can be found in the lisp/emacs-lisp directory. > I should use `(eval-when-compile (require 'cl))`, right? If you choose to use the cl package, then yes.