From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IIymL5+nq2GuHwEAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 18:38:39 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id wC5oK5+nq2E8VgAA1q6Kng (envelope-from ) for ; Sat, 04 Dec 2021 17:38:39 +0000 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 7EE93844C for ; Sat, 4 Dec 2021 18:38:37 +0100 (CET) Received: from localhost ([::1]:38734 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtYzb-000843-UZ for larch@yhetil.org; Sat, 04 Dec 2021 12:38:35 -0500 Received: from eggs.gnu.org ([209.51.188.92]:52936) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtYzE-00083n-Go for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 12:38:12 -0500 Received: from mail.mojserwer.eu ([195.110.48.8]:46700) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtYz6-00075a-RU for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 12:38:12 -0500 Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 163CAE6DB0; Sat, 4 Dec 2021 18:38:02 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lawVXW_DO5mn; Sat, 4 Dec 2021 18:37:56 +0100 (CET) Received: from localhost (178235147228.dynamic-3-poz-k-0-1-0.vectranet.pl [178.235.147.228]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 65318E64B8; Sat, 4 Dec 2021 18:37:56 +0100 (CET) References: <87ilw5yhv3.fsf@posteo.net> <87fsr8na3s.fsf@mbork.pl> <877dckg7gp.fsf@localhost> User-agent: mu4e 1.1.0; emacs 28.0.50 From: Marcin Borkowski To: Ihor Radchenko Subject: Re: On zero width spaces and Org syntax In-reply-to: <877dckg7gp.fsf@localhost> Date: Sat, 04 Dec 2021 18:37:52 +0100 Message-ID: <87ee6smftb.fsf@mbork.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=195.110.48.8; envelope-from=mbork@mbork.pl; helo=mail.mojserwer.eu X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_PASS=-0.001, T_SPF_HELO_TEMPERROR=0.01 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: List-Help: List-Subscribe: , Cc: Juan Manuel =?utf-8?Q?Mac=C3=ADas?= , orgmode Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638639519; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=l2tZV1c2Ma6UmjsHDkJtFcMDrT20ZAaQwPnT/E+h/AE=; b=Ok73NtNcqNNSrU7ZGy01j/Wd73mg0OtbBdejiLzLuWBcOBhFbjUZo/wHjWluBXXTErXsP5 Unnztpd2reTPYvzYwSpn6QOgu1kUr0O6+QtY81sLqzOzgCK7ZYSZuyMoajXhS6IzVjSfN6 m3D2heTi85Y66rFddbUAA9cXD/WsAWjftXVpN1HQy3fPE54w2dA4SOi/unnRu1mQgjdQ91 5m69PP5G8QEqcfz3nKpUJcq/cbZ42amnKrveZBHq5nCMnL79g7X3UTpewp3DZbAhMs9pEg u8FpFg03abp5grNZ6M4Va0AZUnksncUiWjJp+q6N7wcD5SieWgUO1NXhqL5dKA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638639519; a=rsa-sha256; cv=none; b=VpkFkwBs2MhM7IIR5ZeAkq7FstA1NczAkNO+JsY/blp1jH9hUmXhRHUakd6W7kvkCE5CqM 7hd+uVnQPuoXL+IWqHDgw3o+VVbJp2VnsvqxoAq//n/tfMCDu5pekLWB2Xp3ptDufbaABQ bcHGOS4m0hW30XRqYMpXNzNnMUzkZkZ9bDoqLxhxLkrF8hE53RPUDbi9zM2A36ssiaZsER MQJpuE4YE3VsJM4UJHf7cPzqdTd9WBSDcsA3pZXh/kmcY8qc/H3P2k1N6aJibHletIUEQT nJsuZu1m+Vwk4em+S3IGUDw1gIo/elEGP7Bakaum7VfuE5e1/8TYw8ezEIpGpw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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-Spam-Score: -3.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 7EE93844C X-Spam-Score: -3.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: 3RyM1A39EDZG On 2021-12-04, at 08:22, Ihor Radchenko wrote: > Marcin Borkowski writes: >> 2. We modify Emacs itself to somehow highlight the ZWS. There is (kind >> of) a precedent =E2=80=93 a no-breaking space is already fontified with >> =3Dnobreak-space=3D face. At the very least, make whitespace-mode someh= ow >> show ZWSs (which it doesn't now, and I'd probably say it's a bug). >> >> I know that my point 2. is a bit controversial, since it could lead to >> alignment issues where a ZWS is displayed as something with a positive >> width. OTOH, even now changing the face of a ZWS leads to a narrow >> (1-pixel wide) line of a different color. Is there a way to make it >> a bit stronger? > > We can try to create an accent. Try the following: > 1. Open new empty org buffer > 2. Disable font-lock-mode > 3. M-: (insert (compose-string "a=E2=80=8B" nil nil (list ?a '(bl . tl) ?= =E2=90=A3))) > > The result will look like on the attached image. I'm not sure if I like that idea - looks great, but I'd be a bit afraid of unintended consequences. Either way, personally I can live with ZWSs in my Org files, so whatever is decided, it's fine with me. Best, --=20 Marcin Borkowski http://mbork.pl