emacs-devel
[Top][All Lists]
Advanced

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

Re: creating unibyte strings (was: Oddities with dynamic modules)


From: Eli Zaretskii
Subject: Re: creating unibyte strings (was: Oddities with dynamic modules)
Date: Fri, 22 Mar 2019 10:41:04 +0300

> From: Stefan Monnier <address@hidden>
> Date: Thu, 21 Mar 2019 21:26:32 -0400
> 
> Which reminds me: could someone add to the module API a primitive to
> build a *unibyte* string?

I don't like adding such a primitive.  We don't want to proliferate
unibyte strings in Emacs through that back door, because manipulating
unibyte strings involves subtle issues many Lisp programmers are not
aware of.

Instead, how about doing that via vectors of byte values?  If there
are Emacs primitives that currently only accept strings, we could
extend them.



reply via email to

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