From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id IGGfIC9JU2EFTAEAgWs5BA (envelope-from ) for ; Tue, 28 Sep 2021 18:56:15 +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 6GJXHC9JU2FcewAAB5/wlQ (envelope-from ) for ; Tue, 28 Sep 2021 16:56:15 +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 D5A14144D9 for ; Tue, 28 Sep 2021 18:56:14 +0200 (CEST) Received: from localhost ([::1]:52232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVGOs-00038u-04 for larch@yhetil.org; Tue, 28 Sep 2021 12:56:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41672) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVGNB-00034b-1W for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 12:54:30 -0400 Received: from mout02.posteo.de ([185.67.36.66]:45207) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVGN8-0004WL-2g for emacs-orgmode@gnu.org; Tue, 28 Sep 2021 12:54:28 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout02.posteo.de (Postfix) with ESMTPS id 95294240101 for ; Tue, 28 Sep 2021 18:54:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1632848063; bh=Q0WVF7PLZ+U82/bmbmAI42Np2dRf3PkhRbIF66dZWWU=; h=From:To:Cc:Subject:Date:From; b=QMytb8O7+HTUuqdULdL0CrOaBmyjvx+HqjLJ7RV/r1JFygdNZVRJQXTA7otCbkh9O iBZIpuyWDNiGnNcs2mptlptY2h+z84D24LcZUF710EIvGcTKyMm6Sc6pnlKZhYVFf2 XzN5YhBKmJ5XCyaqz/eb7OkkeR6Iu8vXrhBFKANSUv/h04q0ozLaoLgDLuRhqcXYMM T6bCQAsMfBCo1OxetA0I2E/nQzahsQ+qWrvMv1kkn4s9EtmmHTBY3vGCSLuIuxacGw Z7sTFjcip7dzkkWrNWxY1p48IJmdljdBog4+CGL/tS1CUqTQ+5YXtxOXVARi8kztQD zTC8WNStPDE5g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4HJlwG45VLz9rxH; Tue, 28 Sep 2021 18:54:22 +0200 (CEST) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Protesilaos Stavrou Subject: Re: Possible bug? Combine emphasis marker faces? References: <87tui4wx41.fsf@protesilaos.com> Date: Tue, 28 Sep 2021 16:54:21 +0000 In-Reply-To: <87tui4wx41.fsf@protesilaos.com> (Protesilaos Stavrou's message of "Tue, 28 Sep 2021 18:14:38 +0300") Message-ID: <87sfxoy72a.fsf@posteo.net> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=maciaschain@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.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: orgmode 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=1632848174; 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=si8unfi8KO27jm3vD0iubGIvor5V8czqrI/9X5EhsMM=; b=YBdiPsKEZN3ItGAT782JZJP5a/xOVqk467bTKGSdMDpF2HV8RhAoWRppyDO+/xUzlp3nDK CpNiRFjfGNnmkVzxmJN3IUAzwUYZ6D/xvLZsTYHSWZRVus34J7xtsGFDMZ84ZMO00dCN5u yTGCuVzXDv/wKVwFlJEhFxEJzR9EsVwvpp+iLzRBNIqqB24R1EAULkr0BT0cda7m0SsNeT 6A0DnqnxNhVVigQ6xH0aNtZf1umlx5HPnFQZ9y6K2vTCUZOkK05dCk1MNjEupt/OM283DI FoNQRFgBM3eL4ihp88IvXqLOHXY+zA2JPgtIlZHOZF2fd1O2vJXvnZwLIcO9hQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632848174; a=rsa-sha256; cv=none; b=aUZh88Mk4xdlok9dBteGM0aLKqmlEojX68+u0o67EaG20Lkn5i340+VF8juhUw4lGYz14O hQic7SD2gqpRn/NOwbFwj42lbeeHkAkP3ZgyD7JP8eUeLD24kiS6zVd/DQFPL23UyNqt+3 6wXq0Rj7wbKPzeOCHdlK1AGgd2c9mNhyx7/3W764ZOkhbnNWuowF3cBkgW3f1q7LvzI2C6 28i3JzzZM5Ky2Q5q7q/sPsapWRQAencLGV4QUp7796IwYdX19+BJkznHMDS5cZCaHdnqz2 Lo8JtLd4kjxpctT0+Hmhpn/TiiFk5xlQyBLr8qh5CHIp55OIDm472zrtWqL8/Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QMytb8O7; 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.10 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=QMytb8O7; dmarc=pass (policy=none) header.from=posteo.net; 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: D5A14144D9 X-Spam-Score: -2.10 X-Migadu-Scanner: scn0.migadu.com X-TUID: QkF0GhiLORZ+ Hi Protesilaos, Protesilaos Stavrou writes: > Is there a way to get composite styles? Such as bold and italic or > verbatim and underline, etc.? A somewhat dirty solution (without patching the code) could be evaluating highlight-regexp, for example as a local variable: #+begin_src emacs-lisp (defface my/org-it-bold '((t :slant italic :bold t)) "") (highlight-regexp "\\([-[:space:]('\"{]\\|^\\)\\(\\([*/_+]\\)\\([*/_+]\\)\\([^[:space:]]\\|[^[:space:]].*?\\(?: .*?\\)\\{0,15\\}[^[:space:]]\\)\\3\\)\\([-[:space:].,:!?;'\")}\\[]\\|$\\)" 'my/org-it-bold) #+end_src Best regards, Juan Manuel