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.devel Subject: Re: How to get buffer byte length (not number of characters)? Date: Thu, 22 Aug 2024 14:05:12 +0300 Message-ID: <864j7cu8bb.fsf@gnu.org> References: <87wmkbekjp.fsf@ushin.org> <86o75nwilg.fsf@gnu.org> <87bk1lhkvg.fsf@ushin.org> <87a5h5dnf8.fsf@ushin.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40201"; mail-complaints-to="usenet@ciao.gmane.io" Cc: schwab@suse.de, emacs-devel@gnu.org, adam@alphapapa.net To: Joseph Turner Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 22 13:05:47 2024 Return-path: Envelope-to: ged-emacs-devel@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 1sh5dS-000AJe-Lz for ged-emacs-devel@m.gmane-mx.org; Thu, 22 Aug 2024 13:05:46 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sh5dB-0007gS-WC; Thu, 22 Aug 2024 07:05:30 -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 1sh5d1-0007c3-MG for emacs-devel@gnu.org; Thu, 22 Aug 2024 07:05:20 -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 1sh5cz-0005Cj-AI; Thu, 22 Aug 2024 07:05:18 -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=YdR80meGR/ydTA7HOVpAEilrhml5a2jj50NjCZJ5PIw=; b=R+aAPAiGMOyW kV97GtEd4mS8TAGo7wawuAiS65q8DDsvZZ6Cj88uWhUH9z1Wagw8wz3dcfVdRfMfYiEnpxDIwzdsa HiSDxcGxcg/nEfxDdQW2w1VZAcFae3cjctMEOQVUmUDunjepE7a2e48rVQ+D4qlgoOXeURFQaZHQQ q4ster5UHlAfR8fqiTXrwPcMv4U6zKzRzYp61zKE1DwWYV6XHRi6DL9ZZuRQPMcIfAwg/RVsocpvP Cxft5PByJXLMULiSNT/amJCBLMT3fdYmmS3f2XfoIGAdvKVTkwi9HyAEqGQ27kgSvALloydICv/wd p+pMP1X646DGDV71ErFOAg==; In-Reply-To: <87a5h5dnf8.fsf@ushin.org> (message from Joseph Turner on Thu, 22 Aug 2024 00:30:51 -0700) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:323042 Archived-At: > From: Joseph Turner > Cc: Eli Zaretskii , emacs-devel@gnu.org, Adam Porter > > Date: Thu, 22 Aug 2024 00:30:51 -0700 > > Should we use (coding-system-priority-list t) as the final fallback? detect-coding-region already does that.