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 gJ5nAVSvkWG6OQAAgWs5BA (envelope-from ) for ; Mon, 15 Nov 2021 01:52:36 +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 aH6aOFOvkWFTbwAAbx9fmQ (envelope-from ) for ; Mon, 15 Nov 2021 00:52:35 +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 AA481700B for ; Mon, 15 Nov 2021 01:52:35 +0100 (CET) Received: from localhost ([::1]:38488 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mmQEc-0000H2-S9 for larch@yhetil.org; Sun, 14 Nov 2021 19:52:34 -0500 Received: from eggs.gnu.org ([209.51.188.92]:38692) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mmQEE-0000Gs-TO for emacs-orgmode@gnu.org; Sun, 14 Nov 2021 19:52:10 -0500 Received: from [2a00:1450:4864:20::52c] (port=36361 helo=mail-ed1-x52c.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mmQED-0006c9-1w for emacs-orgmode@gnu.org; Sun, 14 Nov 2021 19:52:10 -0500 Received: by mail-ed1-x52c.google.com with SMTP id z5so4300775edd.3 for ; Sun, 14 Nov 2021 16:52:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:subject:date:message-id:mime-version; bh=A22JhwK4BGyi8Tn/RCDL414U6wKA51AEanP/Elxm9tE=; b=PpQuit4sAaqn5ho4eMRzKQmuT0/8vpYoW0P9VGsyTaCvhb57Xx5nqG9Wr0oD57YwIt xUxtvVtun1P7bZ7vhyDmB29czv12ePJz0BC8ZlyKikeP4H1kyChqLTjvMY9aLoYD63pD xUHKDpbhonKS47mmfxjjY99EMN1FOeO5OUyKhZty6cOxVVfZPcQX0NlWD7KLhs9/gLHJ AkOlicPFEtWTPq5/8unVp+bSJhpzoHcWyrE8rlkRSjS/6hFDW3mNHIwapUBbhu6dFJ/t m4SfcOmUZ2jXUsgyFicOtznPx05aUnfWILz3qci8NKa13NANAJsQ+5MDCIyN9NAWSEQt dwyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=A22JhwK4BGyi8Tn/RCDL414U6wKA51AEanP/Elxm9tE=; b=O8bVelwpC1jW8Ra0CzNLGho/3WW1OOROmzT6CRdzuIgzNS1G9g+XilAJw5ywi5NqHE bD8kWmExdIhGHwtdUZxXHsNZkmMyHsvdZnYS1JNWRqSAFhgbvCemfYqfUCQcokLsAZgy 3W8GNdHfZ8zbHzSBcWWOVHCCfNE9E0vc0ylLvnA14pNMpA0Qlk7npOF4WaC0dfiscjkw HMfMIFtmN08cJqJUrGMH/kbhf6lRMKKH6RBVHQLfkrWyiFk2nxGExEsVXDlMosfFiN5p 5nY5sGU/s3SuwGhmlslVcbX7T1X+hCM2mkv7RiJ53Lkuc2p0MgAURYjJc0/o7JWciety S77A== X-Gm-Message-State: AOAM533ZKQK/18o8ctw0/Poe8AK6PoyzC6WR82jSlxqYaVh3nEWCY+ZS wNrYR/gt14sy52clbUWqgFMccNimkCFLwcI2 X-Google-Smtp-Source: ABdhPJxqKljYAl6KqIKPU4z06qjzNS5zuaDN9eaWvJm7hv0BwRuAqbwPLxR6n8cfFBZBzwqzyRRlHg== X-Received: by 2002:a05:6402:5190:: with SMTP id q16mr50453520edd.12.1636937527118; Sun, 14 Nov 2021 16:52:07 -0800 (PST) Received: from localhost ([91.210.107.150]) by smtp.gmail.com with ESMTPSA id p10sm6351200edj.91.2021.11.14.16.52.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 14 Nov 2021 16:52:06 -0800 (PST) From: Ihor Radchenko To: emacs-orgmode@gnu.org, Nicolas Goaziou Subject: c47b535bb origin/main org-element: Remove dependency on =?utf-8?Q?=E2=80=98org-emphasis-regexp-components=E2=80=99?= Date: Mon, 15 Nov 2021 08:53:32 +0800 Message-ID: <87o86mw86r.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain X-Host-Lookup-Failed: Reverse DNS lookup failed for 2a00:1450:4864:20::52c (failed) Received-SPF: pass client-ip=2a00:1450:4864:20::52c; envelope-from=yantar92@gmail.com; helo=mail-ed1-x52c.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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_ENVFROM_END_DIGIT=0.25, 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: , 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=1636937555; 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:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=A22JhwK4BGyi8Tn/RCDL414U6wKA51AEanP/Elxm9tE=; b=aF+Y+tsdBrhoNkXiFmQm1kmOUz8b2jpESKQgBJYd4vtKDGj3ADvJsguYsHFXv88el3JYWH B4QVcJY3w0eD8GUYK6A9L2iVdw7zj8S43eO+wkbhJuufTZZpj1gFADqerjBu+i53yThfPr dbmjhtwyMGp1xnWpFZ734kYe9f1eiU6aGiDW5hH28EViky+y82LpATb62vHWtTMCjcMa37 0dZiSWf9qrnAFfZmUPu2HNsMChUAD0fQL/Ym7awkjXxOvx6HFjz546mFZeCOhyOi4nPQhw BQtapDACFusqULm9RZrazr7Q7Pfp4RR6XJxccq5vCZkOs8x+RMY3vTdtDqXYgA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1636937555; a=rsa-sha256; cv=none; b=XXDfYdti4B48LLbkN3Vqg0VHk0Qhz2DioZcoQ5qbRKe5ddwO54xR1z6Nwfbi1uDAz5fa3K oAPEZzaNer/8i8XPgh5kGl/WQcJOER5IpGiIEGSe2LChqwDK1qa69J8WCAZT/Lqw+T4qA0 RNZYUJDGzyKO4NzmVjK3cnjPFccOyCUyk8y630YJOIbQVJ8NrYtx5bDsHaI/IZ2q1+ny9V 5uyM1TWzi3CDMl3DlC0h3Ag8bc0zoRISfHe2dOqbSaW6d3tC30PZsJS82PDux5c7w7BA3l gkxjyAjarynom/R/ceZivhF/ws9isi2E47Tp8hD3pWSPkewQfgQWt9CkjjXMzg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PpQuit4s; 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: -3.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=PpQuit4s; 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: AA481700B X-Spam-Score: -3.04 X-Migadu-Scanner: scn0.migadu.com X-TUID: lZtefEE0JB6Q This commit may cause random failures when org-emphasis-regexp-components is changed by user. org-emph-re is calculated according to org-emphasis-regexp-components. Changing org-emphasis-regexp-components can make "(when (looking-at org-emph-re)" in parsers return nil. The emphasised text will still be fontified, but not available in the parsed buffer. Maybe we need to move the logic for org-emph-re from org.el to org-element.el? Also, there is org-emphasis-alist. It is even defcustom, but ignored by org-element.el. Best, Ihor