From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id YMJkKKNxy2Z0XwAAqHPOHw:P1 (envelope-from ) for ; Sun, 25 Aug 2024 18:02:11 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id YMJkKKNxy2Z0XwAAqHPOHw (envelope-from ) for ; Sun, 25 Aug 2024 20:02:11 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=R6NstwLX; dmarc=pass (policy=none) header.from=gmail.com; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1724608931; 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=0BomKuhQFNLCZ9kSOq1tyONEQLnYXSyf9NgHGYzCqMk=; b=IXsDiQdIrA9BuS0qQEzXz3FhW0olN542WBsRG3n95W+Rh8fFzkqs0/1DXfB5gnKMtzAbM6 dGv81Xy+bPAda+XdB9ffrTTMCVdgIN58oPzRp0JsznKbpOPyo4YgP++Idz1qw2WVS0EbFH jPztTSn6QMLI19TyYIWIiJT6HvBUUz6ibHvkEBPXJfukTujGK4h0Nd9PhRKQL6L/eMKNvU 8VVE/ZvX51BYHVVT0yiE391kG+628hs+N5IdK7Gkk3+Dg5kem42FS23DUvTd2ClJ4Y2Gu/ Q6YolQNlV9SPTOhFh4NbzTE9F9ReW00HnmZrkFBh2UgWc9DGpVQXHwfcZ0PdUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1724608931; a=rsa-sha256; cv=none; b=oDPxhar2OLqw6FG59nT/vHByzMlsRq0vP7wbku04VDCMHGKR/TA9OL+5voMZIIIVf/2FHn KYYrAodhDVRTLHhlYhE8BuAEaQI0SOqYkj1Eeud7E2grg+MaRjnPLrqG9PoyMoSJ5owA4d o3IKo8aJACElMXA0RT9GlA/M+NqFCmr/Fq8bVU76nXUZV3A+bb5eyfWGliajM1XGVWLgiC E/nSKPc6++fIdBUGIK+7u9dg1ZB2zHjm1PH92a5N+x21+9T3tXyfV3kW3CTJFxr5+PwaZ7 lxRG2ZWSx8UXHP5ijVtvY6bIolUl0r8Ucc1pECorEMegv9Inn2+XiYH7RCENJw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20230601 header.b=R6NstwLX; dmarc=pass (policy=none) header.from=gmail.com; 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" 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 3C49815033 for ; Sun, 25 Aug 2024 20:02:11 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1siHYH-0005IQ-2D; Sun, 25 Aug 2024 14:01:21 -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 1siHYB-0005Hx-7Z for emacs-orgmode@gnu.org; Sun, 25 Aug 2024 14:01:18 -0400 Received: from mail-ed1-x531.google.com ([2a00:1450:4864:20::531]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1siHY9-0002L2-FQ for emacs-orgmode@gnu.org; Sun, 25 Aug 2024 14:01:14 -0400 Received: by mail-ed1-x531.google.com with SMTP id 4fb4d7f45d1cf-5bf01bdaff0so3787421a12.3 for ; Sun, 25 Aug 2024 11:01:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1724608866; x=1725213666; darn=gnu.org; h=to:message-id:date:from:mime-version:subject:from:to:cc:subject :date:message-id:reply-to; bh=0BomKuhQFNLCZ9kSOq1tyONEQLnYXSyf9NgHGYzCqMk=; b=R6NstwLXqjLAzNuvdkNj7WyOmTdm7xP+WQytnqzVPNXVXAwnAFDglgsfbK/WfBs63r 8e5xM/x/vA2+BRj8xEDsrEy7Q0ZczRV0Kb8ViMV6xWJLlQXHH2PMlyTw36TXv+L27U18 tevbPh9X1qQf2B+cNQMAVvyunOMFdq8hYfcQo1J6x8IQLx/dTjYFtGY0R6FvGKaadTU+ vFCMcfsC6Y6jxjhL1H9eVYWmRuDQ7Tfw6zleC449sC5TjE/CmumSV3P/Af1vLLf+UsM1 kncqIotFFdqLbD4LYyIA4tucKI+Q9VS/hBgPk4r/BAR+JQG5KAuL9Mzkv6KcGWQA/H68 OTcA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1724608866; x=1725213666; h=to:message-id:date:from:mime-version:subject:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0BomKuhQFNLCZ9kSOq1tyONEQLnYXSyf9NgHGYzCqMk=; b=O+gNriVkEfEIcG5mlcVBPMYYHvDVDlqrCMTQs3O3SutP8cQU9McMPBCNlLxIyS1Nha oTxbtmC8WBGbJLT/NQQMi8vxUM2Vry6g7NUTqFFXlDRBSUaibrDoDunV7TA2PeBESDj0 gZImx0TWfo/p56eSUn+1spf2jt5hunulaZqk8/GP7ZadoSS8ld7m+ACQHSqnWt3AOsip kyJDcZJlwk8GXIsoVQziEQ2mU92Eo55oQSeSn0oioyZUXw/9NBp5ZmF5Vysld20RxH/a b6oI8SrKMoo89aBJLp8ZHJjOk4LCvEA1TLvBKKcLm4MU/iBdP+JFq/eHNHCmOfthISyZ YL7Q== X-Gm-Message-State: AOJu0YwN7/HIqMr3cJDeqLBnOO8Qd/rWHmygPqnPyAD6NuxGCn6lyjw0 lG3ObnBb7I0itM1yq9fZ+XSCn2S2mClbE2vlSPMPAlM0lDcF5JWHveMopzRHTOI= X-Google-Smtp-Source: AGHT+IH2SCDfKIiB+qEfjJVxwy2q0ZDjn+w1tLj1IyvcMLC7AKMd2tdbf1DPMjyLDIZIjbAQaM1u5g== X-Received: by 2002:a05:6402:13cc:b0:5c0:8af6:7451 with SMTP id 4fb4d7f45d1cf-5c08af67521mr4340378a12.21.1724608865539; Sun, 25 Aug 2024 11:01:05 -0700 (PDT) Received: from smtpclient.apple (cpc141262-bath8-2-0-cust893.18-1.cable.virginm.net. [86.9.95.126]) by smtp.gmail.com with ESMTPSA id 4fb4d7f45d1cf-5c0515a91afsm4691797a12.93.2024.08.25.11.01.04 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Aug 2024 11:01:05 -0700 (PDT) Subject: Patch: hiding emphasis markers Mime-Version: 1.0 (Mac OS X Mail 13.4 \(3608.120.23.2.7\)) Content-Type: multipart/related; type="text/html"; boundary="Apple-Mail=_12D31DCE-9B72-4A79-9BB4-6FB5AA670718" X-Apple-Base-Url: x-msg://2/ X-Apple-Mail-Remote-Attachments: YES From: Tommy Phillips X-Apple-Auto-Saved: 1 X-Apple-Windows-Friendly: 1 Date: Mon, 11 Sep 2023 19:20:41 +0100 X-Apple-Mail-Signature: SKIP_SIGNATURE Message-Id: <75DEDF11-98C7-405D-9373-231AD9AD334D@gmail.com> X-Uniform-Type-Identifier: com.apple.mail-draft To: emacs-orgmode@gnu.org X-Mailer: Apple Mail (2.3731.700.6.1.2) Received-SPF: pass client-ip=2a00:1450:4864:20::531; envelope-from=tphil98@gmail.com; helo=mail-ed1-x531.google.com X-Spam_score_int: 16 X-Spam_score: 1.6 X-Spam_bar: + X-Spam_report: (1.6 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_96_XX=3.405, 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, HTML_EMBEDS=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Queue-Id: 3C49815033 X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -5.10 X-Spam-Score: -5.10 X-TUID: 0QPlvlwNxGp7 --Apple-Mail=_12D31DCE-9B72-4A79-9BB4-6FB5AA670718 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8


Hello,

Here is a small = suggested patch for the way org hides emphasis markers.
It=E2=80=99s = my first time doing this so hopefully I=E2=80=99m submitting it = correctly.

All the best,
Tommy
= --Apple-Mail=_12D31DCE-9B72-4A79-9BB4-6FB5AA670718 Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=0001-lisp-org.el-Only-hide-emphasis-markers-that-are-in-o.patch Content-Type: application/octet-stream; x-unix-mode=0644; name="0001-lisp-org.el-Only-hide-emphasis-markers-that-are-in-o.patch" Content-Id: <8526A689-C9D0-4976-A96D-AE526A086BD0@cable.virginm.net> =46rom=20e0ca6ad91afee63a015736026082937d97715418=20Mon=20Sep=2017=20= 00:00:00=202001=0AFrom:=20Thomas=20Phillips=20=0A= Date:=20Mon,=2011=20Sep=202023=2019:02:50=20+0100=0ASubject:=20[PATCH]=20= lisp/org.el:=20Only=20hide-emphasis-markers=20that=20are=20in=0A=20= org-emphasis-alist=0A=0A*=20lisp/org.el=20(org-do-emphasis-faces):=20Add=20= additional=20predicate=20to=20the=0A=20=20'and'=20clause=20that=20= determines=20whether=20emphasis=20markers=20are=20hidden.=0A=0AProblem:=0A= Want=20to=20hide=20only=20the=20emphasis=20markers=20mentioned=20in=20= org-emphasis-alist.=0AAfter=20removing=20"underline"=20from=20= org-emphasis-alist,=20'_underline_'=20is=20not=20underlined=20(correct=20= behaviour),=20but=20the=20'_'s=20are=20hidden=20(incorrect=20behaviour).=0A= =0ATINYCHANGE=0A---=0A=20lisp/org.el=20|=203=20++-=0A=201=20file=20= changed,=202=20insertions(+),=201=20deletion(-)=0A=0Adiff=20--git=20= a/lisp/org.el=20b/lisp/org.el=0Aindex=20006f3688b..9ecf96c0d=20100644=0A= ---=20a/lisp/org.el=0A+++=20b/lisp/org.el=0A@@=20-5157,7=20+5157,8=20@@=20= stacked=20delimiters=20is=20N.=20=20Escaping=20delimiters=20is=20not=20= possible."=0A=20=09=20=20=20=20=20=20(add-text-properties=20= (match-beginning=202)=20(match-end=202)=0A=20=09=09=09=09=20=20=20= '(font-lock-multiline=20t=20org-emphasis=20t))=0A=20=09=20=20=20=20=20=20= (when=20(and=20org-hide-emphasis-markers=0A-=09=09=09=20(not=20= (org-at-comment-p)))=0A+=09=09=09=20(not=20(org-at-comment-p))=0A+=09=09=09= =20(assoc=20marker=20org-emphasis-alist))=0A=20=09=09= (add-text-properties=20(match-end=204)=20(match-beginning=205)=0A=20=09=09= =09=09=20=20=20=20=20'(invisible=20t))=0A=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20;;=20= https://orgmode.org/list/8b691a7f-6b62-d573-e5a8-80fac3dc9bc6@vodafonemail= .de=0A--=20=0A2.38.1=0A=0A= --Apple-Mail=_12D31DCE-9B72-4A79-9BB4-6FB5AA670718--