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 mFf3GH1MqWGRbgEAgWs5BA (envelope-from ) for ; Thu, 02 Dec 2021 23:45:17 +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 6Im/FH1MqWFYGQAA1q6Kng (envelope-from ) for ; Thu, 02 Dec 2021 22:45:17 +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 0FD0ECCE1 for ; Thu, 2 Dec 2021 23:45:17 +0100 (CET) Received: from localhost ([::1]:40788 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1msupI-0007ED-0C for larch@yhetil.org; Thu, 02 Dec 2021 17:45:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:41920) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1msuof-0007Do-LY for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 17:44:37 -0500 Received: from [2a00:1450:4864:20::22c] (port=39857 helo=mail-lj1-x22c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1msuoe-0005Ny-BZ for emacs-orgmode@gnu.org; Thu, 02 Dec 2021 17:44:37 -0500 Received: by mail-lj1-x22c.google.com with SMTP id m12so2525407ljj.6 for ; Thu, 02 Dec 2021 14:44:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=NNuji552SANGBwxJfIJ/h5k9uswpLgz6HkT2pgt/4jY=; b=KZY+3So55ktSMUEBAJYDGUF3opB1YpY5PYjkq14arsFt4k5UmVrZcrvmgaeQoynsBU nnP5dJn4reyQWOvJisXpDB6gj1rl0SjS4BSPB25wVbV+fXkornUC5J/KBtbKHjZS4dWq Ve8xdqFLjILl/V5a4/ReNX159i7KdqK4CRdlxCpk/sAZ75/X7EUcgxxkcbKoEFGlIoqL mPe8peRkwyzRn3SVkYtk5ac91Vw1yXaDREwy/Lyl6U+mGelsv5TvuFqjiYvRkdfz2XQt Xjm22+oZZ5el5oZankt1J2nO1tsCZ2qHzUv5OhdfCYpKoSSUb+qUHa03kjdrrWsI/DNO 1kvQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=NNuji552SANGBwxJfIJ/h5k9uswpLgz6HkT2pgt/4jY=; b=dmyL9AhWjKX3sUMpWy4VYZj2liYp8uAjvv3LWiXs6QTjGLLawxnNNWBzJfGhYSU3oE +PWd+LVGEFHo7ClBov5f8dg5dT60HC6oyUdq85H4UwozZNiuG1WnwXsUpH084V7+7cm9 JB/wPCcObPKmcTXwtJ0DpC+n8eDpT8bGqt/bMXpokQIFulN1Fnf/PWfFeqI3dlnsNWEh W3nnkeJqgODhnYzpjaH7ojIoh6C4r5RNNqHlWRQzQnMXRcfiJpCqO6NEIukqrMpZCMCH dHu6MH1kNIdMWbVze7sexXf2Ny7A4W3usRVlpv891NHdgm47OUTPj2oM9P/QpCjxSnk6 GF3Q== X-Gm-Message-State: AOAM531u7hq2/0WgTcYIJ2wQoFAIMENZyaOpJUIvtuu8BUH8LwICe32g OhdVNf4F5kel1/RELmi7ei8OLyTbqwzDmrMd2Ds= X-Google-Smtp-Source: ABdhPJy8VoYkPI5cArcq0lgKa+rIcTlax0/8eE9PgP5TBFexOzGfNaG9NnDI1Gzl4nLBDKCHPOomACWwGO5W9uTRoZM= X-Received: by 2002:a2e:8686:: with SMTP id l6mr15080804lji.520.1638485073582; Thu, 02 Dec 2021 14:44:33 -0800 (PST) MIME-Version: 1.0 Received: by 2002:ab3:1912:0:0:0:0:0 with HTTP; Thu, 2 Dec 2021 14:44:32 -0800 (PST) In-Reply-To: References: <4897bc60-b74f-ccfd-e13e-9b89a1194fdf@mailbox.org> <87fsrbp673.fsf@gmail.com> <1ef0e093-c165-2a5f-954d-6a33b64c8ee9@mailbox.org> <87r1avgnpi.fsf@localhost> From: Samuel Wales Date: Thu, 2 Dec 2021 15:44:32 -0700 Message-ID: Subject: Re: Org-syntax: Intra-word markup To: Denis Maier Content-Type: text/plain; charset="UTF-8" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::22c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::22c; envelope-from=samologist@gmail.com; helo=mail-lj1-x22c.google.com X-Spam_score_int: -12 X-Spam_score: -1.3 X-Spam_bar: - X-Spam_report: (-1.3 / 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, 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: Tom Gillespie , emacs-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=1638485117; 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=NNuji552SANGBwxJfIJ/h5k9uswpLgz6HkT2pgt/4jY=; b=gXB3iDXNTSxIMqhvm0ClIMLSc9M2/pvhoXiD+W4M0svpWNVEk+IcbN6GCxOjYdfaXxWxp/ z6zHxSMMecVmWC0MEnPu0AeN4q1mln6mOHRoDCp5RYrV9ubNCPPIr9uUjPX/Dmo1NVj2Ry CiD78KD9lwrnGRE2mDIyQPcM0iJh7voXNwZ5rNZ3LTGVVbwOg+iva5ncFtkrnoCBNR1Hx5 iOXvGiJWojf4F33878xt48m7vu8pTdhdoq3CbP2r4ekFkDMoaxUbsha0HJTNnOVDwHVX5D +6Xghl+khrRf7OV0a8eZGjmBJ1AQvbArZhdaH/jbEAXJxdiC/V/tg/mas5WT4g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638485117; a=rsa-sha256; cv=none; b=impZ8eG45/stYpGBQcCYz6iGGz4FR+6IPOK+RoYRZV7ToFtlZSTe/dwXvUfI8hBrmp0Q45 2EY0AYT0CmOFnakKErk6Pa1gwYiDXATnVWlGqFV2/QJBgw9lIisCepNYY6EJ+ogdzCxn2L fzE2KXd5aD2sQ+SJ1OPyIlkbTDOex+1ghq+xhUHf/KqAY9rdC0SRLIssiDeapVygdgq9iI CU1n2Gto2qpFKr6udt/CCcOkEDzbkmjgWJhmvW/lE/eToB1+3boC8rvSPez66cBCHvYX+w vTUVpp1pvPTOXfmWjJVlWEAFniw/9PDzKyAZ14X4e39tvw5N15TG88qipGEILQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KZY+3So5; 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: -4.12 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=KZY+3So5; 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: 0FD0ECCE1 X-Spam-Score: -4.12 X-Migadu-Scanner: scn0.migadu.com X-TUID: Q+TQzK6apW15 a silly question. don't we already use something kinda similar to \emph{what}ever for all backends? could we do so? On 12/2/21, Denis Maier wrote: > 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 > > -- The Kafka Pandemic Please learn what misopathy is. https://thekafkapandemic.blogspot.com/2013/10/why-some-diseases-are-wronged.html