From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#58669: 28.2; bindat: str and strz not operating on vectors Date: Fri, 21 Oct 2022 19:02:26 +0300 Message-ID: <83y1t9upv1.fsf@gnu.org> References: <87tu3ymm51.fsf@cern.ch> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58669@debbugs.gnu.org, nacho.barrientos@cern.ch To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Oct 21 18:17:54 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oluiX-0006FR-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 21 Oct 2022 18:17:53 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oluV6-00040j-88; Fri, 21 Oct 2022 12:04:01 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oluUB-0003rf-0S for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 12:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oluUA-0005pE-He for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 12:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oluUA-0007Li-14 for bug-gnu-emacs@gnu.org; Fri, 21 Oct 2022 12:03:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Oct 2022 16:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58669 X-GNU-PR-Package: emacs Original-Received: via spool by 58669-submit@debbugs.gnu.org id=B58669.166636816528224 (code B ref 58669); Fri, 21 Oct 2022 16:03:01 +0000 Original-Received: (at 58669) by debbugs.gnu.org; 21 Oct 2022 16:02:45 +0000 Original-Received: from localhost ([127.0.0.1]:38768 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluTp-0007L6-4e for submit@debbugs.gnu.org; Fri, 21 Oct 2022 12:02:44 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:51838) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oluTj-0007Ko-SB for 58669@debbugs.gnu.org; Fri, 21 Oct 2022 12:02:40 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oluTc-0005ll-Fc; Fri, 21 Oct 2022 12:02:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6Nu4NPPZIHEJo5ThDX21XyyoPvPA/7C+UfC3jqPCUPM=; b=GN0UMdbygQG8 NcBsmcvvPdjvptHvMWpmDFbyRfK0F7jWnRhrzqwARSMW4huojpeZfeu3OpkkNccvA7i66olWDKIcz hR45xlpRKZsqBCcQPNXa/6/j0DG+U0XkyduH1/QTSyPB9xjC8ATg2ZMmAQ6YHfyDjoZJ0n98DMQLW etPmT7w+7g/CZXg2rGYN5BUQuNLBzxPyddgsvTACAjKF+B3dGA/t2l/FwkKxZDGChHVdTIHBCvb0M 0ahQKZ7aZ99YcEpurM4r7AXLof0j+OJdQdtdfqox93M17GcXYG2mcjRBsuGeLawjcmyCb2GRj3wGi nSOdbDyrTOVjmZejpb8AvQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oluTb-0003IZ-CK; Fri, 21 Oct 2022 12:02:28 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: "bug-gnu-emacs" Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:245997 Archived-At: > 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" > > > 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))