From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id sKpWJnQh7mM7BQEAbAwnHQ (envelope-from ) for ; Thu, 16 Feb 2023 13:28:36 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id IMFxJXQh7mMzEgEAG6o9tA (envelope-from ) for ; Thu, 16 Feb 2023 13:28:36 +0100 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 687AF2A124 for ; Thu, 16 Feb 2023 13:28:36 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSdLI-0003RN-LH; Thu, 16 Feb 2023 07:26:28 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSdLG-0003HU-1s for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 07:26:26 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pSdLD-0008GY-Kd for emacs-orgmode@gnu.org; Thu, 16 Feb 2023 07:26:25 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id A56F3240291 for ; Thu, 16 Feb 2023 13:26:19 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1676550380; bh=5+ra07fAUMzElGS2V58mdxf6YoW/aMf0PqD4iG0TXRU=; h=From:To:Cc:Subject:Date:From; b=hf9UP028/9ePDtG0qe/ZoRI/JhyaoNdiBA+OpSGMQLUUc7d3moQx9acw4jiLL4rbi 0wZG8vPluyNNIZddbjkcgj0tUqt//SwfVPkl9bTbzmTDV2RGS2AzM3SqKyGu7+VNWN T+kuajC+dGZXAPb8wC4bxwYF0nVdPvPxuxyaBbMQNMtShtsy9R9oBQxOAYkd4qXemt k1FYnXE+6IZAn5PqRwYsu0rMugbrETp/K2NG+kub7VrIHHSK2fej6mzZjZKwehwA3g xN5raZeK8tTm2/xXy/Orio9Au5J2aNhb7F0HZUZvLtWN5WshjzyuynT3xK3zhZQkfD HzhwnSe9Lk4EQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4PHZ1M2pqDz6tp2; Thu, 16 Feb 2023 13:26:15 +0100 (CET) From: Ihor Radchenko To: User Name Cc: emacs-orgmode@gnu.org Subject: Re: Emphasis issues with special blocks and latex In-Reply-To: References: Date: Thu, 16 Feb 2023 12:26:52 +0000 Message-ID: <87bkltx0c3.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.posteo.de X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 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_MED=-2.3, 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-bounces+larch=yhetil.org@gnu.org 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=1676550516; 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=MPLFq8y7L6pc6kUolxaWEFOuMrr2MI2CwXDiyOMfon4=; b=HMpvvUCPCrB+jL30sCLebZPqXP66aIxJNOwhFrDsrlMzNM0qRq54t5HQQOJKu9LTdRoKaj V9THrfmImbDRFPc/2s6sdhebCf59AhUYB+sSYnGQTKfKZESP2uK5tXOorC3XAXY3F/CxqL Rd6Z7gGyAZW6wh+UVJ14kudC60Pwi5YweB98whoqmwvrOYyqtzZk4ozziGociWU2TTa1W3 o64Ze/VQkv7h7qtIaw2lbXW/C51NXt+RTYdPL2XeQqyTGd6C3uKYEH3f6O18KrYldYIXEY +hiujpW2N087Eny0p7zdndwaTKFzhnEsj58gi0NGP7vARfKUcnYwr4kRnoE9pg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hf9UP028; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1676550516; a=rsa-sha256; cv=none; b=ck6P4UKcCsm7TObBvbmcMEDDritwx/fEgMPKSG/38wC1QNd0DvV8dhx/EmW2zwRLYn56XG GcaL/oCtrtK444E6y7PPb+E90TBVDlDezmSZWdI8lYQ0jHppvFtzN+PLFZC561kRI7R3Bm OHXvqisrhXYrq3125XdfTv3Qv8gnoAUHv9LLo2kfL8as2P3wRrjvPTsf8W6hd/+4D5q1S3 xqcW5CvCXqUp2Oma+nj9yb8YVkRG8V+ici3gF02RMfUGqtNO67Ju9HtAKbHeRX8R8a3AD2 dbcImWHc1zlZjnkTGmWrlOs4L/6qlFZUCM7grlmntm9kb7lo2ofmei+grKqlMw== Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=hf9UP028; 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"; dmarc=pass (policy=none) header.from=posteo.net X-Migadu-Spam-Score: -5.34 X-Spam-Score: -5.34 X-Migadu-Queue-Id: 687AF2A124 X-Migadu-Scanner: scn1.migadu.com X-TUID: bIH9qhWx6PkY User Name writes: > I am having several issues with the fontification of emphasis markers in > org-special-blocks and inside latex equations in my org-files. > > I have changed `org-emphasis-regexp-components` to be the following... I advice against playing with this variable. It only affects fontification and not the parser. And current Org's fontification is fragile. It will be more reliable to write a custom font-lock keyword if you want Emacs to highlight things differently. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at