emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Add a mechanism for passing unibyte strings from lisp to mod


From: Eli Zaretskii
Subject: Re: [PATCH] Add a mechanism for passing unibyte strings from lisp to modules.
Date: Fri, 21 Jun 2024 22:08:22 +0300

> From: Brennan Vincent <brennan@umanwizard.com> 
> Date: Fri, 21 Jun 2024 14:13:14 -0400
> 
> Since the introduction of make_unibyte_string, it has been possible to pass
> raw binary data from modules to lisp, but not the other way around
> (except by using vectors of bytes, which is inefficient). This
> patch implements that feature so that raw binary data can be sent both ways.

Please describe the motivation and real-life use cases for this.

In general, we want to minimize the use of unibyte strings in Emacs.

I also don't understand the need for unibyte-string-p, since we
already have multibyte-string-p.



reply via email to

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