From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MLGgN9kXq2E8NwEAgWs5BA (envelope-from ) for ; Sat, 04 Dec 2021 08:25:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id IE1aM9kXq2HRUAAAB5/wlQ (envelope-from ) for ; Sat, 04 Dec 2021 07:25:13 +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 525A619DCA for ; Sat, 4 Dec 2021 08:25:13 +0100 (CET) Received: from localhost ([::1]:37992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtPPy-00050w-Rs for larch@yhetil.org; Sat, 04 Dec 2021 02:25:10 -0500 Received: from eggs.gnu.org ([209.51.188.92]:49032) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtPMB-0004wZ-3h for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 02:21:19 -0500 Received: from [2607:f8b0:4864:20::42b] (port=40801 helo=mail-pf1-x42b.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mtPM3-0002Fl-CR for emacs-orgmode@gnu.org; Sat, 04 Dec 2021 02:21:10 -0500 Received: by mail-pf1-x42b.google.com with SMTP id z6so5068942pfe.7 for ; Fri, 03 Dec 2021 23:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=OcOIfnh3zebBeOHn1VR24+IwpyQgBermN8dulmYFTJk=; b=mpTmw5bU4Zuu2kgybpI2AOdZTmIbCybO52vLXjLzqETHhdnnijDj7+1dwdxI6uy5eW tXSkBcbpxWgnXFICzvC7S56PEbGpy7XK0DJ0C92Zhw4ShYGACO1rREDJQGxfvroh6vlV ChU1BXBReqLZJqCROKlBvC12lQ6+6Y4GGFikLBL4qLJ/V7wVrLY8bImvEZkVYbHqWZ+O JQMbmzl3egTWgLzXc0OIVxRNZJC4dQwiUjVhTJMRbdPz70XiV7+By3wSrxpTm/SU7dgf XGYBg3DD6FLAp5kSVntOoq/BNupM+16G6HHhghYdSLHwU80XT2nMsAtp/AjR84+pHfy8 8uag== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=OcOIfnh3zebBeOHn1VR24+IwpyQgBermN8dulmYFTJk=; b=i61USxqN9mCFKhVoHNxRf+VhK60oGS2gnwV8ZxTFIib5Upe0xGXORTa9JwfzjKjE+H fFkvn1yZhqqE8Kip+RvFjjFQuaYwMIV2Madn6gnRw5rkJa4nZ/KdoKBivZ6oj0iwu/KJ /DYdELRM/tIFeZ0U7xOiAAHEiHmEAiT0C2icz2qq8f1sAL6oYSD9hAOADoU85IILrQP2 7WeQLQKlSiQWKFr0k10LXhyBbuInBOXUf+PvfEYD4KKKqYjeH7Vus7Lq4k14iA8PpwTz po937hFNP38CdWSjMagcARuT8BUkSBlkcGKJBSySxWr065gB264WM3O5YZVaN/20lxRk cdvA== X-Gm-Message-State: AOAM532s7/2PndxUGFacKJeCWf0MgRpW2lX81C9T+2GFnfk7qOfYY8Z7 eqRAoCU18Ej8Q2AesCTs7yY= X-Google-Smtp-Source: ABdhPJxYFDbl0nqmZmybd2D2BEjk2DGTYq1xOKrH2qz3fbJ5xYRK9zz3ARZvq4h8xXRbDBTTANQ0Qw== X-Received: by 2002:a05:6a00:1a04:b0:4a0:6e3:27b3 with SMTP id g4-20020a056a001a0400b004a006e327b3mr23837724pfv.24.1638602465061; Fri, 03 Dec 2021 23:21:05 -0800 (PST) Received: from localhost ([103.125.234.62]) by smtp.gmail.com with ESMTPSA id o6sm5141103pfh.70.2021.12.03.23.21.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Dec 2021 23:21:04 -0800 (PST) From: Ihor Radchenko To: Marcin Borkowski Subject: Re: On zero width spaces and Org syntax In-Reply-To: <87fsr8na3s.fsf@mbork.pl> References: <87ilw5yhv3.fsf@posteo.net> <87fsr8na3s.fsf@mbork.pl> Date: Sat, 04 Dec 2021 15:22:30 +0800 Message-ID: <877dckg7gp.fsf@localhost> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::42b (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=yantar92@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -10 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_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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: , 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=1638602713; 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=OcOIfnh3zebBeOHn1VR24+IwpyQgBermN8dulmYFTJk=; b=k/5KTiHpydprmqNrGyySaQfAwZ1nyvyBwRtufVhqVE4Nx6j/swCpBAGlnpvPs51EC1gKEN /LLZ0wMo8jzg1scW9Pd2Pagl4Rg8pZGhokduJd9jH1LVoK6fti0dYZOG/zFpIQelP5mfhp T8ZcgYvBLtS6BeJNGvxv5pQSiENv3B7tOfExIuSfwF1Te/z9AvLU9lsUsTgKHY2PhCvmJw HhZPTdGDND1MWRy58NtYHt3goU784/W5cZcINt57+ImPT3vYJ+O25D3M9yB3ukI5H9ScYt LKm5m+/fuhiAXb+Y8iOYC9pQOhGwUlCqBojjIFrPyZMwb3i2QOp0xiwmcGeZAQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638602713; a=rsa-sha256; cv=none; b=eb5DH1HXqRnoMZKdVc3mwebsXybFeJV1Eu+QoNJeZleF1DsvHQE3PYwFmzt2RL5X5dOOWx hqeb8uCLjVTBqazyTpk5k7BzBRtmT+bwMZkKoIzHl/yoot5ovZsBJIy8e/ReW0XOFW1UfA c0UNq3aPtOFapfXIXW0kXUuFWUwLJmlRqQep1UGCxZCeSoFwG8MamfqcT4jMgh1iQxEMtc Fg5YvKIa8D7YoHR1bVjCB4skR47p2tObdtndgrskZcMVCD6On6E2aCYeuo49YcV0UY67gq ejQrhmiZJKwUFdelMjN97ax8qRunZMen7/4vvZ+oGg2VrqUoEcz6BkzQFYMoVA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mpTmw5bU; dmarc=pass (policy=none) header.from=gmail.com; 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.63 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=mpTmw5bU; dmarc=pass (policy=none) header.from=gmail.com; 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: 525A619DCA X-Spam-Score: -3.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: 4a50zpxkPaot --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 somehow > 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. Best, Ihor --=-=-= Content-Type: image/png Content-Disposition: attachment; filename=example.png Content-Transfer-Encoding: base64 iVBORw0KGgoAAAANSUhEUgAAAQoAAADPCAIAAACC+wgtAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAH lklEQVR4nO3dTUhU8R6H8RlJMyNIxwhGRWhRzNSiV11EpUggFVhkaQgFReKiadMirFWQGBJBgYW4 iYiIxGhhRUYopAnmGEZaCUooTm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Zlp9ixLG2/NAYk8AIk8AIk8AIk8AIk8AIk8 AIk8AIk8AIk8AIk8AIlTEkPg5MmTU7/OZpGY+21TMDvyCAFuV7Vc8eIKkLgcCpA4egASeQASeQAS eQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQAS eQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQAS eQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQASeQAS eQDSfwGKaJL3snwE7QAAAABJRU5ErkJggg== --=-=-=--