From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gMGdOXMIm2S+hAEASxT56A (envelope-from ) for ; Tue, 27 Jun 2023 18:04:04 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id oJpyOXMIm2S+cgAAauVa8A (envelope-from ) for ; Tue, 27 Jun 2023 18:04:03 +0200 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 9E97A2A124 for ; Tue, 27 Jun 2023 18:04:03 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qEB7V-0004G4-1h; Tue, 27 Jun 2023 12:00:45 -0400 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 1qEB7T-0004Fd-QD for emacs-orgmode@gnu.org; Tue, 27 Jun 2023 12:00:44 -0400 Received: from mail-lf1-x12a.google.com ([2a00:1450:4864:20::12a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qEB7R-0003Od-Rc for emacs-orgmode@gnu.org; Tue, 27 Jun 2023 12:00:43 -0400 Received: by mail-lf1-x12a.google.com with SMTP id 2adb3069b0e04-4f865f0e16cso6511418e87.3 for ; Tue, 27 Jun 2023 09:00:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687881640; x=1690473640; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:from:to:cc:subject:date:message-id:reply-to; bh=qgfHbdDB4lcnINEC7ZFLdmavqlUlE6bT4vw/7iphLRU=; b=qhRvDaiFw/wqtsyWmKKwu1ZH3JqVgkPYRkRjTsu0bk6USqkmE4eNFE1H5d5lBSnU9K BWQnpzwYJValxOT95WLKO197dK2fgh0h9RVfRt/wwo3fu/CX5fLW08D/kQduUD3pEs3o XOMxOcujSr9ZeudBYxvYNsb3ohV8vzzrhHfKaEYHzTaT/uHqNkPk/zznov+rJDe86/Gi Bej3BdcQg7hViJr7Ep/HHLJh5OEy3DppWTIcwze6tWFObyIwVYgAzbj5QC4eAhkq5wpv nkpS4rc6EugSoHiIAEh3KR83G6zGO4eU0WClwaETVsUDK10vzyPnroy1hY2y1jZOdc4a HmXw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687881640; x=1690473640; h=content-transfer-encoding:in-reply-to:mail-followup-to:from :references:to:content-language:subject:user-agent:mime-version:date :message-id:sender:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=qgfHbdDB4lcnINEC7ZFLdmavqlUlE6bT4vw/7iphLRU=; b=AI6LG4xtgI44CguMWFn1FKbO+rIorbxXW7I27yywE3rVnx0XyXfjJ20G17jcupTSio TzGlc59SkrwivGzSXCmcZlUQxLWEKVH5qetVHYxfyw7fv9L4s2MZCwnxf4nsAvj3Rmsj iIg7kX73izD6CmPmVk23jlxgHHk4TYCz0KvjdjI6Kwn4Y64AjGQTqHyPM6jnueGgg1Nl F/VkTkkkcrysFQ3hYsnkEcB7BfpjFul/UOPzFgYKKY4QMMtDtgx1wehsWWFitUgHFu2W DS1sE9KHsFSbBk6y2X4EDzpWlf7eHFq1xO3F3i6f3Wmm8zh4V3LJCBzB318T1M6s6vA/ 5Fkg== X-Gm-Message-State: AC+VfDwbgkd4TJhYVvjidONrPtCtMtnca0oFv8bPXC3ytf/gVW3Zi2bF xEP++b+sDxzw9dYxuPrwtC7heCpdWp4JGA== X-Google-Smtp-Source: ACHHUZ4sCrz6XE3dONKpCpdxyCuH8dd9CmHEXiAvDrCBx1PgDW5FDqrY1C9U9FTEaLstzBKhLhZx+g== X-Received: by 2002:a05:6512:1284:b0:4f9:5ca0:9334 with SMTP id u4-20020a056512128400b004f95ca09334mr12669990lfs.34.1687881639803; Tue, 27 Jun 2023 09:00:39 -0700 (PDT) Received: from [192.168.0.101] (nat-0-0.nsk.sibset.net. [5.44.169.188]) by smtp.googlemail.com with ESMTPSA id c4-20020ac25304000000b004fb8c0f247fsm46252lfh.129.2023.06.27.09.00.38 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 27 Jun 2023 09:00:39 -0700 (PDT) Message-ID: Date: Tue, 27 Jun 2023 23:00:38 +0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: Preserving non breaking spaces in HTML export (maybe other?) Content-Language: en-US To: etienne@depar.is, emacs-orgmode@gnu.org References: <87cz1hgpbt.fsf@depar.is> <87o7l1i3ad.fsf@localhost> <87r0px175r.fsf@depar.is> From: Max Nikulin Mail-Followup-To: etienne@depar.is, emacs-orgmode@gnu.org In-Reply-To: <87r0px175r.fsf@depar.is> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::12a; envelope-from=manikulin@gmail.com; helo=mail-lf1-x12a.google.com X-Spam_score_int: 11 X-Spam_score: 1.1 X-Spam_bar: + X-Spam_report: (1.1 / 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.103, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_SBL_CSS=3.335, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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: 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-Country: US X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1687881843; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=qgfHbdDB4lcnINEC7ZFLdmavqlUlE6bT4vw/7iphLRU=; b=MpvVrtq5cR7HDZ4hj5AgpGQGdkdnpBn6CVHDC8j4JeKcPiD0N97m1TJj1MoZ/re+qfy/Ww gvJKmydtLOYGvZfRh1zY1P6EWn5sSRoX5HkV/oWZSP02z5/9LZMiBw7Z1O5ct8+iAGOW3H 2N75rWuxkpHzhKbHKxrqUYgMiZdR8rmnFN/fXXyeoy0isk0VSS7AZgtHnE4Hug8xIk2y83 Cw7LuXCtGFXeZYEwTnfpi6muoka4UZVR8cyidqRdZyqtHjKH4z0ptuAqfEvRImfPERG0vD FkwEmOpbQMtfDpj5QHzhSYpURWpIKcM+LQuyV1lkY4DNUK4eNQqHxqLnmcLUMA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=qhRvDaiF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1687881843; a=rsa-sha256; cv=none; b=HfHqtyQfx07acWO39jnqhML8/nY0wuY6T05UcNpLx8lstlbEUlMzS6z8emdyUoc5IFFmpj 09WC3DcdOsr9psAsNyFIDaoLkMx/tQGbPxtcP0agvvtdQIy7OYWL9s/0vwSnbM39O2Plg6 PWVCo0PZQkHI7uAvZNx7nqKiPIlYh3yp4CcWZiXbbmUxkEWg5GdOibD7xq0OKj1KnIDhif np70DXtyDjIimlT0AwY9WsZSouTCxbEjk0NsW0BH19u5WxFhWBRPNkjvSxCa2n8/iQwSLN s/9ij/v9u5Al7gRUMC5ka1d5ZeXmWqD/ELA2FL4j8uTupQQtgAEiR410n5bjrw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -0.66 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20221208 header.b=qhRvDaiF; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); 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" X-Migadu-Queue-Id: 9E97A2A124 X-Spam-Score: -0.66 X-TUID: /7z1iusxLsN+ On 27/06/2023 18:14, Étienne Deparis wrote: > > Oh, very sorry, actually it effectively leaves the spaces as this in the > output file. I was confused by Firefox, who makes the replacement 🙁 > (interpret non-breaking spaces UTF-8 char as breaking, and replace them > by regular space when copy/pasting text…). I do not see any issue with Firefox. It might be OS or locale-dependent however. Copy from Firefox running as en_US.UTF-8 on Linux and pasting to Emacs preserves "NARROW NO-BREAK SPACE" (`describe-char').