From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id EC1FHoPPs2aeTgAAqHPOHw:P1 (envelope-from ) for ; Wed, 07 Aug 2024 19:48:19 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id EC1FHoPPs2aeTgAAqHPOHw (envelope-from ) for ; Wed, 07 Aug 2024 21:48:19 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kt+z9C7a; 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1723060099; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=e/G54ua4YPJkFtvDh8LySHR3O19PhHZe/nKeGReiFQA=; b=OFkR+TZoIh6xZ92jrveLxgdN072UxLnyUpLHPhcX+kCWEfzqlfzPLZbHjJ26/Sqb01BD9J J0vXf8EYCHg9z7QbSzfvUzo/qDPn21WSG1V7gxpBPuzIDarkC9JuBJVTBRKIY+flyCylCY z7mQ5CtalOk43QiGX4e3vqSWlfrVbO0TXTaZm1Nuov5Xr2H1rwRLveoLIbxo6hDDXOMj3E 2u5RlHkCn5OD/vBtG1RDwIsA+/5vfYgByUgwbHhv/Gb8UdThe9sc8qGaVvhaGUJPqsqRmP UqRTaEhUlynnzRPH2B8Tgq76NBKj/vSnhNmxhhN6YEsu3CzNb3woLi4PRaLrqw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=kt+z9C7a; 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=1723060099; a=rsa-sha256; cv=none; b=Gq7XSdE8qzKpdWayGhI9Cw9wW2NP3jlZppFqfXktemq5p8KooA76kYFdJsI/LLvEoSuPwg zo4w6/sQOAbsOelYKiGXM0gZji3WKXDM3PTYfsIqN+J8BQNIDlQ2t4BOuPD8Nuj7TGfblS LADDbF4IiIP1jspafrVb/6Zhmcvque2+n638XAHb8/YlPloG21swZKJzEGdX3m1lJewsuh cTSSVq0DlBEoilkQ194dtfCtUq+qFnSdeP8ZE0v3DG+20Rq4UtUFTbQAftVZwOe8FMABhu maZq8T8Fbs/odZpXefdsvpPM4Po1goaSzhtv++aiLwpg9s39D+XB1+siKkLOug== 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 35E60140A7 for ; Wed, 7 Aug 2024 21:48:19 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sbmYH-0005AH-MW; Wed, 07 Aug 2024 15:42:29 -0400 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 1sbmYF-0005A3-RN for emacs-orgmode@gnu.org; Wed, 07 Aug 2024 15:42:27 -0400 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 1sbmYD-0000rU-DY for emacs-orgmode@gnu.org; Wed, 07 Aug 2024 15:42:27 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 09BCC240101 for ; Wed, 7 Aug 2024 21:42:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1723059737; bh=Ki27wWe6R9iwPExlzUUaY7AgM5vZ4opl1RWHiB7xpjc=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version:Content-Type: Content-Transfer-Encoding:From; b=kt+z9C7aaPA/g/kXh8h13CiMg4FHXTK0dTv5MuT0cELOd6w0F2bngY09ZJHg0GsbV l2Q+jQFyvARmfwX1xJSd0QHV3fQSoC/rlF2bCK6n8Pqm/5eGcBVKosaitZpRp+6HaA VkUWcaMEGUu+aZgzAyHBrEIZYeU/1oJUgFBxGyAuC+D0DHVClbQ0EnLsw/Ud4jRYqP BJxn1lhmBXBOnqPtIfSpGSTUI7P7uyOUYBTsvPmxjW51N0QOnrbJJjBPrqeM9SiGWE nkBEVu1kXsqfXLry1RbfY6/FF+jtEJoW/yez9x0KYGnwGwfqQKaLfXFcF7p500bnPX RPu9SiQFNr7LQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4WfLD8137Kz9rxG; Wed, 7 Aug 2024 21:42:16 +0200 (CEST) From: Ihor Radchenko To: berchas Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-emphasis-regexp-components [9.6.15 (release_9.6.15 @ /snap/emacs/current/usr/share/emacs/29.4/lisp/org/)] In-Reply-To: References: Date: Wed, 07 Aug 2024 19:43:30 +0000 Message-ID: <87le18azkt.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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_H3=0.001, RCVD_IN_MSPIKE_WL=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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Queue-Id: 35E60140A7 X-Migadu-Scanner: mx13.migadu.com X-Migadu-Spam-Score: -9.66 X-Spam-Score: -9.66 X-TUID: mBJBfUSOSzpU berchas writes: > Desired behaviour: emphasis markers that only work within a > paragraph (sentences without a line break). In the following example, > only the > first expression should appear in bold:=20 > > *jk j* > > *jk > j*=20 > > > So I set the maximum new lines to zero in org-emphasis-regexp- > components (instead of the default of 1): > > (setcar (last org-emphasis-regexp-components) 0) > (org-set-emph-re 'org-emphasis-regexp-components org-emphasis-regexp- > components) > > This works.=C2=A0 > However, now the first expressions does not appear in bold > either. Only single words without any spaces like *jk* still appear in > bold. Sentences do not appear in bold anymore. Confirmed. To be re-considered after new font-lock code. > ... Do I misinterpret the > meaning of max newlines in org-emphasis-regexp-components?=20 `org-emphasis-regexp-components' is not a user customization. I do not recommend using it. --=20 Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at