From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id QOgKGPbF72PISwEAbAwnHQ (envelope-from ) for ; Fri, 17 Feb 2023 19:22:46 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id sI4IGPbF72P4DQAA9RJhRA (envelope-from ) for ; Fri, 17 Feb 2023 19:22:46 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1CF2139839 for ; Fri, 17 Feb 2023 19:22:45 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OMXxbAa7; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676658166; a=rsa-sha256; cv=none; b=BxDFqqB7yBQOpNYUxriJIXHGg6EVf5Left8tOsSOW3g2TAGOP/pJ32FW/s4aweWCb4ubZp uh5nX/7bnjKCMoclqfwQuDropXcquD8TaZFp1gnlfQ2YXr+FrkHFedSURSAcEpQ9/HLB12 Emg87py55FLAqTCEpP/wfP/pdOHhOI2UO7VON9Txbon95H+zL2Ichi3NVr+4fc+lR/w2Ee 4tI0Zwd8zlNWFx83WH6IiIzP7mEfYVPUYru65gYKeQdsxy1+/5ZOf4CzNQpHLkzjkuuN0l Iw0nlSdC7EnjFe4wk+AcRp0Fpjos2fqQSMjn2HZTpIdjcmHGCzznIjnI0UzN9Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=OMXxbAa7; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=posteo.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1676658166; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=WZdN1e76yYnrvBDuNo5gtNdv2EgQdOkMSVmCdNDAYNU=; b=OQ7odpOIQvkDBVwYjLFHj1vpowhQxucQqYdwh8xA3b8C77nIeWrrSY7y2g4g/PjJzRjBpO 9bF9Mw780Osn1OUf4R2hV+jPQtClzNJnRdpc2vPl5w1IFLyJ6mu/wXSAy90HCqnMuKInrn e/PtNAWlwbFYZYA5b14lHGsDA0xOjOLild8FwAwpXJ1TL/vhNBX46PskJiGEeH5HMdrgyA NYzKoDh6zZ1c2c0kDCFWhKJjPgfa/LynV2pOGhFY8sqJ28yDZMzVYMEKVmq9la8irfkGdf dbDDqyI5Vb2mRw3rEKZ533/AwXVXfnfLfFZosKH1Y+rQZSGrwITc+x40/Y6cRQ== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT5Mo-0006pI-EM; Fri, 17 Feb 2023 13:21:54 -0500 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 1pT5Mm-0006fK-H0 for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 13:21:52 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pT5Mk-0004ej-KX for emacs-orgmode@gnu.org; Fri, 17 Feb 2023 13:21:52 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B4A622402ED for ; Fri, 17 Feb 2023 19:21:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676658108; bh=UQJ8yK1QcdogroO11XlpD4SoA9BYwrTlXqer/gZxJjo=; h=From:To:Cc:Subject:Date:From; b=OMXxbAa7Ey+stsqHXmrfwgeVYsUF4Afoj21lmsDaWaVJOqSX3QxwK7CaOnFSDsMiE hicraW/N2sRDWPF+fD6TRYSCm9gZaIf1wOX2tUNOZtGQJaFjV4ci1Blf074YLF+R0r nNJrRtyV9MbSmJp/QJoOpVy1KjehPru8wU/0nwHNc662Rxzc3q+9GXhzWsuhix3AA5 Tv1cNwneSaKFts6n6y+/rlophh8QJVM4bIgIq6rDeMN5pqmCrNjrGXIGF6QPWHBYeN 8Tn6g0Hm7xwwJX5k2tpkJQRxSx7oUebj29WEc1avVTn7iAW7Cwq4LRZt2pII7XDLeU notTTCDFhwp9Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PJKry2Cknz9rxF; Fri, 17 Feb 2023 19:21:38 +0100 (CET) From: Ihor Radchenko To: Jens Lechtenboerger Cc: emacs-orgmode@gnu.org Subject: Re: Unicode problem with export of literal contents In-Reply-To: <87sff4nscd.fsf@wi.uni-muenster.de> References: <87zg9dx4yl.fsf@wi.uni-muenster.de> <87cz68d06x.fsf@localhost> <87sff4nscd.fsf@wi.uni-muenster.de> Date: Fri, 17 Feb 2023 18:22:17 +0000 Message-ID: <87a61c9mp2.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 1CF2139839 X-Spam-Score: -7.41 X-Migadu-Spam-Score: -7.41 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-TUID: PDJAvhLx5NSi Jens Lechtenboerger writes: > I was afraid you would say so. To me, this is a breaking change. It is not a breaking change. It is Org's change revealing issues with your files. If you need to edit or act upon that part of the file, you could see the same problem. > Also, when I call secure-hash on the literal buffer-string, no > problem arises. Org is calling secure-hash on buffer. Calling on buffer-string would require unnecessary memory allocation to create the string. > It is not obvious that Org tries to write something here and why > that fails now Org is not trying to write something. In you example, Org is just trying to calculate buffer string hash - nothing wrong on Org side. "Something wrong with encoding" way my guess. If you think that your case should be perfectly fine, I recommend asking Emacs devs by filing a bug report to them. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at