From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 2J0FIAHe6F8kegAA0tVLHw (envelope-from ) for ; Sun, 27 Dec 2020 19:18:25 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id UKbFGwHe6F+RGgAAbx9fmQ (envelope-from ) for ; Sun, 27 Dec 2020 19:18:25 +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 D633E940142 for ; Sun, 27 Dec 2020 19:18:24 +0000 (UTC) Received: from localhost ([::1]:40620 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ktbYc-00051H-LN for larch@yhetil.org; Sun, 27 Dec 2020 14:18:22 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37590) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktbXu-00051A-IC for emacs-orgmode@gnu.org; Sun, 27 Dec 2020 14:17:38 -0500 Received: from mout01.posteo.de ([185.67.36.65]:51398) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ktbXs-0004WI-GZ for emacs-orgmode@gnu.org; Sun, 27 Dec 2020 14:17:38 -0500 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 49B32160061 for ; Sun, 27 Dec 2020 20:17:34 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1609096654; bh=nkh+jJJb+Y86k27NIS8gmG6roM7KK/albNpAoOLxJ0A=; h=From:To:Cc:Subject:Date:From; b=g3PDFH5yPfJZN+9MCqUPz++77QwI+bARWANTRFh1p/nOS2aP5q+4cvLWF8J2dlqAL A86vITj1To5LQu0MmoP6vG3KJvjKhP9kvHm6F7YV9WD/5gXMlpKdSIKw5UHQEY23zH +ACLv1HLLyhha3eVvyQ88kt19Vl7s2MeCHirmvhk/Mdn/9xwFdRzaLsm4adnn3dNNA kcFv81h2EFaWXvBuQiK+yuNNvXaSNyAVNy5wWCzLz6r2qC4KgGY6UAtLQkqi33pnfD pIxMVw30KoYREIcIHotCBdEJ5/Zj9q0QC+uZE0uOls8lSOF8cHQGYBLzrB9MoQkFBV Wi1xyuMbrxQ1Q== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4D3r6P4QHlz9rxG; Sun, 27 Dec 2020 20:17:33 +0100 (CET) From: =?utf-8?Q?Juan_Manuel_Mac=C3=ADas?= To: Kashyap Chamarthy Subject: Re: A way to avoid unwanted new lines when using paragraph quotes? References: Date: Sun, 27 Dec 2020 20:17:32 +0100 In-Reply-To: (Kashyap Chamarthy's message of "Sun, 27 Dec 2020 19:33:39 +0100") Message-ID: <87a6tzukhf.fsf@posteo.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=maciaschain@posteo.net; helo=mout01.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_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 X-Migadu-Spam-Score: -2.02 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=g3PDFH5y; 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: D633E940142 X-Spam-Score: -2.02 X-Migadu-Scanner: scn1.migadu.com X-TUID: vbrV6mcpASJg Hello again Kashyap, Kashyap Chamarthy writes: > Hmm, that fixes the new line before the "sub bullet under test 3, with > a quote". However, a new line still remains after the quote ends (and > before the "Test 4" starts). Is it possible to nuke that too? If > not, that's okay, I can live with it. :-) I'd say a vertical space before and after a block quote would be 'typographically' correct. But if you want to eliminate the space after the block quote, without having to modify it in a general way, it could be solved with a bit of Elisp, by defining a custom filter so that the
tag would be modified only within a plain list. Thus, with the configuration that Diego has suggested, everything would be without vertical space except the space before each block quote: #+BIND: org-export-filter-plain-list-functions (my-filter-html) #+begin_src emacs-lisp :exports results :results none (defun my-filter-html (text backend info) (when (org-export-derived-backend-p backend 'html) (replace-regexp-in-string "
" "
" text))) #+end_src Regards, Juan Manuel