From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qJ5ELowylWGIPwAAgWs5BA (envelope-from ) for ; Wed, 17 Nov 2021 17:49:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id KB/VKYwylWGEdQAAB5/wlQ (envelope-from ) for ; Wed, 17 Nov 2021 16:49:16 +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 77A292A364 for ; Wed, 17 Nov 2021 17:49:13 +0100 (CET) Received: from localhost ([::1]:44248 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mnO7T-0008F6-Ht for larch@yhetil.org; Wed, 17 Nov 2021 11:49:11 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnO2w-0001kj-Mm for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 11:44:30 -0500 Received: from ciao.gmane.io ([116.202.254.214]:53314) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mnO2u-0001Kv-2c for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 11:44:29 -0500 Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mnO2r-00061R-T1 for emacs-orgmode@gnu.org; Wed, 17 Nov 2021 17:44:25 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: emacs-orgmode@gnu.org From: Max Nikulin Subject: =?UTF-8?Q?Re=3a_c47b535bb_origin/main_org-element=3a_Remove_depende?= =?UTF-8?Q?ncy_on_=e2=80=98org-emphasis-regexp-components=e2=80=99?= Date: Wed, 17 Nov 2021 23:44:11 +0700 Message-ID: References: <87o86mw86r.fsf@localhost> <87fsrxkahq.fsf@nicolasgoaziou.fr> <87fsrxa1j5.fsf@localhost> <878rxoa6lk.fsf@localhost> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 In-Reply-To: <878rxoa6lk.fsf@localhost> 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: 18 X-Spam_score: 1.8 X-Spam_bar: + X-Spam_report: (1.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.25, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NICE_REPLY_A=-1.009, 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.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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1637167753; 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=45ykgtQoNigTbsGg2ZAecckwNCMSn8eyGgVtnTcKciI=; b=LK1MfEL3x8TFz2iPknzaEMqkofPbBQDcGfTLKAPnOzw13kN7sFNLIxj/oGfrMnj5cnSlxv k3lSYh8ffozNsWrsjpsj0OZMZKfyeVk6QLas5COadvPUQiOdofhLi7/9/kupiRsSay2T+x o46Q1o+j5L8nq9qC8BaDSrymgs9/zQ3yHdhiXHEb8VSr8F+hvUHBcKmIGWgDeiZAgn09ad y1ra0iO2IF/DztAo4XeiyYHpXeltqiXK5L92tpM6OtWrhTyQotmaIVaYJzZQh1FSNDRvyY hXKUmWUpOsuyQWzQE7FDRnT/muf2fNZCijIXg+hHYJP+WNg5whg93HtRmp2k6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1637167753; a=rsa-sha256; cv=none; b=W/gXMmviTW8tWXYUEqc9oyGIGOX5a62/3ct618v0vuQ8GmoLdkKCMkg565j5hhAazlQZK5 4EY7fAtaFmbz7bxl0sLb2f9FzaN16/YKLqs9f0uuk75iyJ1Oe94LeXKdjgkjv8PQhgFTCc QbwtlxzZPGZoEKr/kzLLtcRBBDaNVRv5+hqPPwBjWw8ikO1oD/zwvzcfoZIFoBzrId5tqY Nrkbj7hG31H/kwSxetPXoV1+zSqaPXQ5SbRzMEBRMx/AVxN0lUvaL+R2GzOIbcN+4OSulF 7genwICZ4xNahYLmgAgDmB2/kLMNp6PIP0LqWVayVcoGYC1HrME3DTuWD2uAlA== 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: -2.26 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: 77A292A364 X-Spam-Score: -2.26 X-Migadu-Scanner: scn1.migadu.com X-TUID: qzfXhMNdIHJ/ On 17/11/2021 04:56, Samuel Wales wrote: > might be useful to know whether a default regexp change could satisfy > everybody? in my case i remove " and , from third re. Samuel, I have seen your next message, but it still may be helpful to have an example (for a case if you will meet the problem again). These regexps will always fail under some conditions, since it is not strict markup. An example is emphasis terminated inside link target /A link [[https://orgmode.org/?oops=true][Org Mode]] On 16/11/2021 14:43, Ihor Radchenko wrote: > Max Nikulin writes: > >> Better docs and some restriction on defcustom values were discussed earlier: >> https://list.orgmode.org/87k0oyd3pw.fsf@nicolasgoaziou.fr/ >> Nicolas Goaziou. Re: Using backticks for the inline code delimeter? Mon, >> 19 Apr 2021 11:27:07 +0200 >> >> Sorry, I have not prepared a patch. I am not confident with defcustom >> fine tuning and have not experimented with it since that time. > > Maybe something like the attached? Thank you, Ihor. Another reason why I have not tried to do it myself is that it is necessary to test behavior for users who customized markers. The change should not be fatal for them. I have not checked it with you patch yet. I was considering some way to warn users if improper customization is detected (unexpected marker is noticed). It should be noticeable to make user aware of export issues but not too annoying. > +The characters in the alist must not be changed. They do not affect > +the actual Org syntax, just fontification. Since this is known point of abuses, maybe stronger words are appropriate. Do not change makers and do not add new ones to use custom markers for existing styles or to introduce new styles. Org syntax is not meant to be configurable and such modifications will not work with export. If you are interested in fontification of custom markup inside Emacs only, there are other ways to achieve desired effect. In addition, I do not like the following phrase in the manual: > To narrow down the list of available markup syntax, you can customize org-emphasis-alist.