From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MDINGAcxqWEyJgEAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 21:48:07 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id 8C+4EwcxqWG0TgAA1q6Kng (envelope-from ) for ; Thu, 02 Dec 2021 20:48:07 +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 D086BAA1C for ; Thu, 2 Dec 2021 21:48:01 +0100 (CET) Received: from localhost ([::1]:57600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msszn-00070K-Ve for larch@yhetil.org; Thu, 02 Dec 2021 15:48:00 -0500 Received: from eggs.gnu.org ([209.51.188.92]:43588) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msszG-0006zx-An for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 15:47:26 -0500 Received: from mout-p-102.mailbox.org ([80.241.56.152]:35374) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_CHACHA20_POLY1305:256) (Exim 4.90_1) (envelope-from ) id 1msszE-0004x8-5L for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 15:47:25 -0500 Received: from smtp1.mailbox.org (smtp1.mailbox.org [IPv6:2001:67c:2050:105:465:1:1:0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-p-102.mailbox.org (Postfix) with ESMTPS id 4J4p1327BkzQkBr; Thu, 2 Dec 2021 21:47:19 +0100 (CET) X-Virus-Scanned: amavisd-new at heinlein-support.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailbox.org; s=mail20150812; t=1638478036; h=from:from: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; bh=V4uxE4biimMq39eiYVIWp/uh0WCyVMWq/DSmw+iBI04=; b=YnydpL2wRL3mGc05ocKATNK0YKyUxVi1zQb+qIL7Bu7pm7FG8xMC94kYhBUweP4n10FdsT 7Hac/E3SNQ/zFcoQu+opkmtTqvZSLX77a2oxpYt6ftRUdJqyV3IkP1h25SxJLDbvKTS7Z5 svKybrmfUeB2Vevwcl6mo+DlGyYGmL4u25D495JgxpZ4qeLoiTA78mLlDcbbspgDbfhYXi qzflXPchgPJ+B3H8LI2Wtz0TpRmrmXwX1PaTEaDPG0d+SuNy7wZS0JpsGxeJCU3+VsaKl4 BEEvsNRIbzwif/O7BXXC8WMMYsXNKEOJoZ2guHTHQRlVK/Q6JFuMvUCzadnBnw== Message-ID: Date: Thu, 2 Dec 2021 21:47:14 +0100 MIME-Version: 1.0 Subject: Re: Org-syntax: Intra-word markup To: Tom Gillespie , emacs-orgmode References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> From: Denis Maier In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=80.241.56.152; envelope-from=denismaier@mailbox.org; helo=mout-p-102.mailbox.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_LOW=-0.7, 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: , 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=1638478082; 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=V4uxE4biimMq39eiYVIWp/uh0WCyVMWq/DSmw+iBI04=; b=BblOQyuoAgkdLBvU7Gmhdj9wqjcIqGJ2Dsx8M1vLrGhrFsH8yadau3e7GZMux3IIsAkLO7 JeWwTidfDSUP5Wsw+8YscFJxdiCFx+leEJ4g12qF24aG6hQnwrUbifeEnUuHTy0Eg1Tt9V lxeHcTFV3QIRMk1p/EMB1OwS/wL11kJ0UHyR3OVsfrWSWcUrL1huxjMHQNlPd1HxL0fEu5 efiql2OCCYV7SzLjPyz/jGA6hWFduh2Fu+wZjFLCN9c2dObRRCsh36GnE74dXw6fBc03S8 r9fuPe0mOE25eSh/0r0lsCB3X+EpAmqqsFMR5GhUwrjsFoTze2jAO0VcLv3JTQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638478082; a=rsa-sha256; cv=none; b=sk0E1C+2U0c8xM1DXYOfnesaucf7KdQDPl8iXZvy9xsJWaSFJ2yzxat5JQmvBERb+t97zO rLn5fwSvaVYLvKcSvELp2nVuqNvuFSLGSJsxpmsDAXeCsRZ2Iw+AqXVzrACMY3MLl8X4am 1RJN3MJehv/Qs6zrQeyznHegFZfexQR1wGEFRlgIzNpRTokQkI9FK8j20dpPs5VA0sw18o 3NKWR8GWTVHm6AyDElXgYngTuJtpAJu8FL8MGnCtE6aBTjCx+IFKF4UMWqIhxFiLRDwrtG X8ns3i/kDR/R6loW1Fm74OO9omdsl/voyeNuDfhllCNwpcDx003ai/ftx04Q+w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=YnydpL2w; dmarc=pass (policy=reject) header.from=mailbox.org; 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.32 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=mailbox.org header.s=mail20150812 header.b=YnydpL2w; dmarc=pass (policy=reject) header.from=mailbox.org; 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: D086BAA1C X-Spam-Score: -4.32 X-Migadu-Scanner: scn0.migadu.com X-TUID: y4RW/KkkeHZP Am 02.12.2021 um 19:11 schrieb Tom Gillespie: > I don't mean to be a wet blanket, but the edge cases for > the current markup syntax are already hard enough to > implement correctly, to the point where different parts of > Org mode are inconsistent. Intra-word markup isn't viable > because there simply isn't any sane way to parse something > like *hello world*/hrm/oh no*. The other issue is that this will > degrade parsing performance because almost every > character could precede the start of a markup section. > > I recommend anyone suggesting solutions try to implement > something that can parse the markup unambiguously with > lots of nasty test cases. You will likely find that it is impossible > to consistently tokenize markup, and that you have to hand > write a whole bunch of heuristics, making Org syntax even > harder to implement correctly. > > Any solution that suggests extending how =/*~+_ can be > used gets a hard no from me. I could see teaching other > exporters how to interpret \emph{hello}world, but trying for > to have any sane behavior for something like > why *hello*world oh no a wild askterisk* > is not worth it. As I've said before, I could well live with \emph{what}ever or something similar. Denis