bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#58669: 28.2; bindat: str and strz not operating on vectors


From: Eli Zaretskii
Subject: bug#58669: 28.2; bindat: str and strz not operating on vectors
Date: Fri, 21 Oct 2022 19:02:26 +0300

> Resent-To: bug-gnu-emacs@gnu.org
> Cc: 58669-done@debbugs.gnu.org
> Date: Fri, 21 Oct 2022 11:29:45 -0400
> From:  Stefan Monnier via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
> 
> > It's the first time that I look into this package so I'm not sure this
> > is the way it's meant to work but similar operations work fine on
> > vectors of bytes, for instance:
> 
> Yes, I'm actually surprised I left this code in there as-is because
> I remember wondering how to make a unibyte string from a vector of bytes
> in an efficient way (and concluding that there's currently no good way
> to do that :-( ).

Maybe I'm missing something, but what's wrong with

  (apply 'string (append VECTOR nil))





reply via email to

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