From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id +HppD6/5ZWCHCQEAgWs5BA (envelope-from ) for ; Thu, 01 Apr 2021 18:49:51 +0200 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 OHRACa/5ZWCbPQAAB5/wlQ (envelope-from ) for ; Thu, 01 Apr 2021 16:49:51 +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 89CE42B5D0 for ; Thu, 1 Apr 2021 18:49:50 +0200 (CEST) Received: from localhost ([::1]:35890 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lS0Vx-00072j-OO for larch@yhetil.org; Thu, 01 Apr 2021 12:49:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:39980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS0VL-0006zx-S8 for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 12:49:11 -0400 Received: from ciao.gmane.io ([116.202.254.214]:57504) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lS0VK-0006t9-By for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 12:49:11 -0400 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1lS0VG-0006xK-VB for emacs-orgmode@gnu.org; Thu, 01 Apr 2021 18:49:06 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Maxim Nikulin Subject: Re: Using backticks for the inline code delimeter? Date: Thu, 1 Apr 2021 23:49:01 +0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 In-Reply-To: Content-Language: en-US Received-SPF: pass client-ip=116.202.254.214; envelope-from=geo-emacs-orgmode@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 28 X-Spam_score: 2.8 X-Spam_bar: ++ X-Spam_report: (2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FORGED_MUA_MOZILLA=2.309, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, NICE_REPLY_A=-0.001, NML_ADSP_CUSTOM_MED=0.9, 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.23 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1617295790; 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; bh=uVMzZhSRBNX2I9BHl4UE7A8M4Ps4+mFtRyJ8rZKjD1A=; b=fCch5jERa85XMoFcn6O5JfnufsHgp1nVEKQiA88YJvDzrTk2X5WbFnZZPbHYdZWVA8OKj0 FI8KMme99i1AkzlCCAXEt4SRyCSYlDM8xD9wGZa2WfSjWA0Y9DxW3GHDPLZXczxMyjvANU FcnJ5HJY/Cy6ENdZukXuC6OKZ6cnYRW2JQnaZ01mjYlB2dZ/NpDg+KYTZ37MkUZrnF3FrR ffO+1ZEIEq5xph9o040RF6+ISSFmVPW0ljB6NtwPFyEdmIBq9CZnj1wo5LM2/ullGk/JmU Oe0m4RtHS+NeMkpXpNKP/XK7nec6bQWncIbIJq81zAf7jDQGTqFboM1Bzrc/Cg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1617295790; a=rsa-sha256; cv=none; b=R40NOy7Vz166TA4wl5AZp9PExlk/xQhw6Cqh/0iFt7L89ubzkT+CPO6H+vn0gjU5Lky9xJ TwlWxR+vUkN1sqA99EplrN+hfQtM5IjiAcdijCu1Do3pOw6ez6ORGFoQ+m4QMnbzhKjr34 e0mw8q3cxh9zgkiyx4AWBmHNTe7zLPEkJWZkkmpI0CyYQTBe/wmI2B3K3EJ9YLiALwrkWp j8c7nuu1571LxqFvvagvLX9DQiikSmj/909mJaTC6yyw8tJHdMxinc1bx5aWi/OVfJlV4l ApusiMtUK9cE+wPpCjR8TH7oMuI4ieB0C3gp9bIUxBXHeqc4PcccetUEqEqkWQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Spam-Score: -0.83 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 89CE42B5D0 X-Spam-Score: -0.83 X-Migadu-Scanner: scn0.migadu.com X-TUID: JfkMCdmEsUk+ On 01/04/2021 02:24, Sébastien Miquel wrote: > George Mauer writes: >> is there a straightforward way to extend the org parser to do this? > > For the cosmetic part, there's this  piece of code from > https://archive.casouri.cat/note/2020/better-looking-verbatim-markup-in-org-mode/index.html Personally, I consider marker appearance as a minor issue. The real pain is that, besides thinking on content, it is necessary to concentrate which type of plain text markup must be used at every moment. Switching between chat with markdown and bug tracker with a flavor of wiki markup, it requires additional efforts to avoid incorrect formatting. I do not mind to have backticks for code snippets in org but unfortunately the choice was done many years ago, so such change is unrealistic. Remapping "`" is rather intrusive. Would not be better to define a command and key binding that fix markers on the current line or in the current paragraph? A strange idea. If logic were perfectly decoupled from formatting it would be possible to have org actions with various formats (markdown, reStructured text, etc.) with some extensions to markup and limitations in respect to org functionality. I know that is unfeasible.