[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

read syntax for multibyte strings

From: Dave Love
Subject: read syntax for multibyte strings
Date: 07 Dec 2001 17:04:24 +0000
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1.30

I wanted to do this to produce a multibyte string constant:

      (while (and (skip-chars-forward
                   (eval-when-compile   ; missing optimization
                     (string-as-multibyte "^\341-\377"))
                  (not (eobp)))

It works if you do `compile-defun', but not from a byte-compiled file.
The reason is that there's no way to specify the multibyte form of the
string constant read from the file.  It might be useful to have read
syntax to do so in cases like this.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]