From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id AFv9OP9/qmHndgEAgWs5BA (envelope-from ) for ; Fri, 03 Dec 2021 21:37:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id +FyKNP9/qmGvKAAAbx9fmQ (envelope-from ) for ; Fri, 03 Dec 2021 20:37:19 +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 3D3F7EA1D for ; Fri, 3 Dec 2021 21:37:19 +0100 (CET) Received: from localhost ([::1]:55660 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mtFIz-0004IA-Fh for larch@yhetil.org; Fri, 03 Dec 2021 15:37:17 -0500 Received: from eggs.gnu.org ([209.51.188.92]:58678) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtFCR-0000oJ-Kh for emacs-orgmode@gnu.org; Fri, 03 Dec 2021 15:30:31 -0500 Received: from mout01.posteo.de ([185.67.36.65]:56239) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mtFCO-0004EW-NH for emacs-orgmode@gnu.org; Fri, 03 Dec 2021 15:30:31 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id A5647240027 for ; Fri, 3 Dec 2021 21:30:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1638563426; bh=ATojLCjrnTGmlG3Try8qmoF5U1LAFGawyWNigsSNwRo=; h=From:To:Cc:Subject:Date:From; b=PAFz3q3NrPphb7rvYzNejtrOgp++uoz1HcQbDYCNszJRrqe80wMsBotvrNyrwr3mB U+rcRmFqIM9casAbBC5PqErvp6r3nP5rjAPg+Zw02fYl139KhgMxwYoeyKglRxKuGQ qbcaVAG/WiSav/N4MRJqy6Iwn6G8BHnw78Dhhl/5dpC/apigly97A1rHJTTlBB3Wio 9jVg1u6R3+08/YYGW0U623vjP11rUjpQMfB+O7waYnFcm3yNTzp1UBrJ2imvNhe2TC AyF22+X7oh5vP4c4vuXkx1yIDifCpxuqineOLlBn+k6giusw8Md63Mw2zXSAFgLN0p mufncoSnem9Lg== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4J5Pb55bRbz9rxK; Fri, 3 Dec 2021 21:30:25 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Greg Minshall Subject: Re: On zero width spaces and Org syntax References: <87ilw5yhv3.fsf@posteo.net> <4048716.1638558205@apollo2.minshall.org> Date: Fri, 03 Dec 2021 20:30:23 +0000 In-Reply-To: <4048716.1638558205@apollo2.minshall.org> (Greg Minshall's message of "Fri, 03 Dec 2021 22:03:25 +0300") Message-ID: <877dcl2zz4.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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: List-Help: List-Subscribe: , Cc: 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=1638563839; 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=5u7INLhdUMvA5jwxclhb3xQO20TLKzTRFvgZ534xw14=; b=NDR6nz06CGi4acZ1uke6pNbP6+gqU0YIBcCg69XbB7jwhJQ3bCIv2K5qun/ftj8NOwJf77 DRsegwiNTzV+JnsMolwuxTyw1RZroT/WscXM0Pt65Mrq7rSkUWOfDdRglC5D3g4y5ssF6s bc38/OecgWpwyfkePwB9UCsQIB5wjbqcNIPiqrwTIbxfS31Had1WBd/qPYSN8xRg8Ki3ch TAmkjOvi0xfqeuUVYUN2uirqCJB4m22Ngj+druP3T+KeqQWNW4KdEr3cDE0tJyJGRc0H8v 7hS8zvic2F0HriuDaaSnGtYHy7xcMh5lDodJgS95ztr3RtKXGMiTmr9QagXk4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638563839; a=rsa-sha256; cv=none; b=Ix+OeVbocTBnrbo84BxrC+LAodf9orgrP7VWHJV/D4QM1RrkI6haXN2lwzEcWNCP2im6/+ ZBXbrUCl36HmsdcJ386B1WyrL04F0gmgKasjA/FkczNJaHhh2DNNckWSMnGLDmqJvG06Jv Wx3cRyzKplEyW0oZAz3awPckpQaHVKLTjGWAfKkuXyfFAvddeg7xcFhNLfpUDEC0K2SWQS 237sbNWl7EDVnL7FgMeu82E73ooxz9hGu4Hw7qqKBeNrUhdccy8mo7ue6fjrLBkNV1QrFn mFQMx1JiY5vl+x4UFIM1EMBw0a/OOGTbjW/r+QgdEMmwBXSw4dEdkLubdH9f6w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PAFz3q3N; dmarc=pass (policy=none) header.from=posteo.net; 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: -4.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=PAFz3q3N; dmarc=pass (policy=none) header.from=posteo.net; 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: 3D3F7EA1D X-Spam-Score: -4.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: MulNHklNCScp Hi Greg, thank you for your comment, Greg Minshall writes: > in fact, i am always queasy when i enter ZWNBSP in a .org (or any other) > file. some sort of "visible" sequence would be great. backwards > compatibility might be a problem. Yes I agree. I think that in this case, a new mark would not compromise backward compatibility, as this presumed new mark would do the same function as zero width space: i.e. delimit to preserve emphasis. Of course one could go on using a zero-width space, though I keep thinking that this is rather a puntual workaround and should not form part of the syntax. > your last example > > : [''*literature*''] > > seems a bit of sleight-of-hand, though. iiuc, text inside square > brackets isn't highlighted currently, and ZWNBSP doesn't (afaict) turn > on highlighting. (maybe there's been recent discussion, modifications > of this?) The idea would be to use a kind of 'protection mark', to allow something in a context where it is not allowed: a passport ;-). As the emphasis marks are recognized before and after a single quote, I thought that maybe a sequence of two single quotes could function here as a protection mark (screenshot: https://i.imgur.com/cPIH9qa.png). For example: #+begin_example | Some examples where emphasis marks are not allowed | Protected emphasis marks | |----------------------------------------------------+--------------------------| | /meta/literature | /meta/''literature | | [/literature/] | [''/literature/''] | | <*literature*> | <''*literature*''> | | meta/*literature* | meta/''*literature* | #+end_example With the protection marks we get (in LaTeX for example): \emph{meta}literature [\emph{literature}] <\textbf{literature}> meta/\textbf{literature} Best regards, Juan Manuel