From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MMOBEoKy2F4yUQAA0tVLHw (envelope-from ) for ; Thu, 04 Jun 2020 08:36:18 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id QO1aDoKy2F6kaAAA1q6Kng (envelope-from ) for ; Thu, 04 Jun 2020 08:36:18 +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 D393F9404E2 for ; Thu, 4 Jun 2020 08:36:17 +0000 (UTC) Received: from localhost ([::1]:45692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jglMG-00083G-RV for larch@yhetil.org; Thu, 04 Jun 2020 04:36:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jglLf-00080J-87 for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 04:35:39 -0400 Received: from mail.tuxteam.de ([5.199.139.25]:52852) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1jglLd-00070L-LM for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 04:35:38 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:To:Date; bh=qV8zrBlp7T9+uC7RCXlISL9R2imiJrFBHGlQVXzeQkg=; b=Qu+7B5dmhmKuCQxnU88udVfJv+xpa1SOdtJzfmIysfJ7F92LRroouwzrhcF1LAocgBY6KZvh2+4jq3y9wdQtaryf9t5U0Hg6aggLR5q5yYS+1R0ylqg7RAxk2vsSHjnimtq6hsuQzgE6hhmX/tt5YNKSHzAszUF5Eu5Sk+ru9ZQruBIyWBugPQ0qamIKuvOJXpzAYNxNdSLMklqNxx+ma6wvVibMsSBufurNzdXFP7mJA803wSjqLqRBSTQ0Q7oToTeQ1jsMIQGTqGztccfdi3hbtYnENxtKl8dJTFe6+9jUznLxBbrZ4Zoo2qNc65X5DKLQq2n/gQQ7OFphDKyk7w==; Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1jglLU-0004Li-Tg for emacs-orgmode@gnu.org; Thu, 04 Jun 2020 10:35:28 +0200 Date: Thu, 4 Jun 2020 10:35:28 +0200 To: emacs-orgmode@gnu.org Subject: Re: Emphasis on a region Message-ID: <20200604083528.GA14993@tuxteam.de> References: <5db135ed-dd64-64b1-02bf-2eb46998cf7e@lorke.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qDbXVdCdHGoSgWSk" Content-Disposition: inline In-Reply-To: <5db135ed-dd64-64b1-02bf-2eb46998cf7e@lorke.de> User-Agent: Mutt/1.5.21 (2010-09-15) From: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/04 04:35:29 X-ACL-Warn: Detected OS = Linux 3.1-3.10 [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tuxteam.de header.s=mail header.b=Qu+7B5dm; dmarc=none; 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-Spam-Score: -3.31 X-TUID: Atk8pAToZhh2 --qDbXVdCdHGoSgWSk Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jun 03, 2020 at 12:32:25AM +0200, Berthold Lorke wrote: > I am talking about this feature: > https://orgmode.org/manual/Emphasis-and-Monospace.html >=20 > It currently doesn't seem to be possible to mark a whole region with, > say, "+" to strike through a whole paragraph, especially when separating > each sentence in a paragraph by a linebreak (i believe this is even > encouraged, as seen here https://orgmode.org/manual/Paragraphs.html). >=20 > Is there a fix for this?=C2=A0 Enclosing each line with emphasis markers > (like "+") doesn't fix it, as when exported every sentence in a > paragraph would then have a space inbetween the strikethroughs. Yes, see variable `org-emphasis-regexp-components': it is a list describing how an emphasis span (bold, emphasised, strike-through etc) is "built". It's fifth component is the number of newlines allowed whithin such a span. It's set, by default, to 1. You can modify it like so (setf (nth 4 org-emphasis-regexp-components) 4) to allow 4 newlines in your emphasis span. You have to reload Org for it to take effect, so the best might be to have this somewhere in your Emacs init just before loading Org? Perhaps someone with a more elegant approach can chime in. Cheers -- t --qDbXVdCdHGoSgWSk Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAl7YslAACgkQBcgs9XrR2kY6VwCfXgvSDRadOaicKIVnmCk3TIjv gFQAn1cZB97Vuxsq4QhhZjvYY0jXuRoO =mmng -----END PGP SIGNATURE----- --qDbXVdCdHGoSgWSk--