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: Wed, 26 Jun 2024 15:26:52 +0300

> From: "Brennan Vincent" <brennan@umanwizard.com>
> Cc: stefankangas@gmail.com, emacs-devel@gnu.org
> Date: Tue, 25 Jun 2024 13:36:31 -0400
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > If we want to allow Emacs to send binary data, I'd rather come up with
> > a specialized interface to do just that.  Explaining the subtleties of
> > using unibyte text in Emacs is a tough job, since it involves a lot of
> > low-level technical details.  When unibyte text comes from encoding
> > human-readable text that is at least justified, since that's what
> > Emacs was designed to d, among other things.  But using Emacs as a
> > handy method of reading binary data, to avoid doing that in the module
> > itself, and asking us to add an interface for that use case is too
> > much for my palate.
> 
> I think it would be great if emacs grew a specialized vector-of-bytes type.

How will it be different from the Lisp vectors we already have?



reply via email to

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