From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Lars Brinkhoff Newsgroups: gmane.emacs.devel Subject: Re: Invalid read syntax for compiled bool vector Date: 26 Apr 2004 19:47:21 +0200 Organization: nocrew Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <85u0z64onq.fsf@junk.nocrew.org> References: <85k70cbeil.fsf@junk.nocrew.org> <857jw35hcq.fsf@junk.nocrew.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1083001812 7671 80.91.224.253 (26 Apr 2004 17:50:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Apr 2004 17:50:12 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Mon Apr 26 19:49:46 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIAEj-00070M-00 for ; Mon, 26 Apr 2004 19:49:45 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BIAEj-0005Ji-00 for ; Mon, 26 Apr 2004 19:49:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIAEM-0000o7-46 for emacs-devel@quimby.gnus.org; Mon, 26 Apr 2004 13:49:22 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BIAE8-0000kh-DF for emacs-devel@gnu.org; Mon, 26 Apr 2004 13:49:08 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BIADc-0000X7-7a for emacs-devel@gnu.org; Mon, 26 Apr 2004 13:49:07 -0400 Original-Received: from [213.242.147.30] (helo=junk.nocrew.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BIACX-0008HX-Ny; Mon, 26 Apr 2004 13:47:29 -0400 Original-Received: from lars by junk.nocrew.org with local (Exim 3.35 #1 (Debian)) id 1BIACP-0003ZZ-00; Mon, 26 Apr 2004 19:47:21 +0200 Original-To: Andreas Schwab In-Reply-To: Original-Lines: 18 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:22188 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22188 Andreas Schwab writes: > Richard Stallman writes: > > Apparently, you have to bind coding-system-for-write before > > writing a source file with a literal bool-vector constant in > > it, or else Emacs will either ask the user for the coding > > system, or write the file using some default coding system > > which may not do the right thing. > > I guess we should change the syntax for bool-vectors so as to put > > just 4 bits into each character. The question is how to do that > > in a somewhat compatible way. > The print syntax could use octal or hexadecimal escapes in the bit string. Yes. Since the print syntax for bool-vectors looks like strings, I would sugggest doing whatever the print syntax for strings does. -- Lars Brinkhoff, Services for Unix, Linux, GCC, HTTP Brinkhoff Consulting http://www.brinkhoff.se/