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 0OjDN6Af016LNwAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 03:08:16 +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 qByPM6Af015BeQAA1q6Kng (envelope-from ) for ; Sun, 31 May 2020 03:08:16 +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 6B1F79404D0 for ; Sun, 31 May 2020 03:08:16 +0000 (UTC) Received: from localhost ([::1]:53534 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfEKd-0002d9-4J for larch@yhetil.org; Sat, 30 May 2020 23:08:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfEKJ-0002cp-Kw for emacs-orgmode@gnu.org; Sat, 30 May 2020 23:07:55 -0400 Received: from [183.249.132.153] (port=2016 helo=localhost) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfEKI-0003sm-Lm for emacs-orgmode@gnu.org; Sat, 30 May 2020 23:07:55 -0400 Received: by localhost (Postfix, from userid 1000) id 84AAB2413DB; Sun, 31 May 2020 11:07:50 +0800 (CST) References: <874kryi3g6.fsf@gmail.com> User-agent: mu4e 1.4; emacs 28.0.50 From: stardiviner Cc: emacs-orgmode@gnu.org Subject: [PATCH v2] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block' In-reply-to: <874kryi3g6.fsf@gmail.com> Date: Sun, 31 May 2020 11:07:50 +0800 Message-ID: <87mu5oby49.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="==-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Host-Lookup-Failed: Reverse DNS lookup failed for 183.249.132.153 (deferred) Received-SPF: softfail client-ip=183.249.132.153; envelope-from=numbchild@gmail.com; helo=localhost X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/30 23:02:02 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: 63 X-Spam_score: 6.3 X-Spam_bar: ++++++ X-Spam_report: (6.3 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, FSL_HELO_NON_FQDN_1=0.001, HELO_LOCALHOST=3.828, MISSING_HEADERS=1.021, NML_ADSP_CUSTOM_MED=0.9, RDNS_NONE=0.793, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: reject 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: , Reply-To: numbchild@gmail.com Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=fail reason="SPF not aligned (relaxed), No valid DKIM" header.from=gmail.com (policy=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: -1.01 X-TUID: /nRDUS6Uafi9 --==-=-= Content-Type: multipart/mixed; boundary="=-=-=" --=-=-= Content-Type: text/plain I updated the patch commit message. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment; filename=0001-fix-5f0a9cca3-missing-space.patch Content-Transfer-Encoding: quoted-printable From=20b0bdf52a305cb5f9663ee1dc2d08c5de6c7cb602 Mon Sep 17 00:00:00 2001 From: stardiviner Date: Sun, 31 May 2020 10:59:41 +0800 Subject: [PATCH] fix 5f0a9cca3 missing space * lisp/ob-core.el (org-babel-demarcate-block): replace wrong newline with missing space. =2D-- lisp/ob-core.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/ob-core.el b/lisp/ob-core.el index e554e3934..79937e517 100644 =2D-- a/lisp/ob-core.el +++ b/lisp/ob-core.el @@ -1908,7 +1908,7 @@ (defun org-babel-demarcate-block (&optional arg) (if (looking-at "^") "" "\n") indent (if upper-case-p "#+END_SRC\n" "#+end_src\n") (if arg stars indent) "\n" =2D indent (if upper-case-p "#+BEGIN_SRC\n" "#+begin_src\n") + indent (if upper-case-p "#+BEGIN_SRC\n" "#+begin_src ") lang (if (> (length headers) 1) (concat " " headers) headers) =2D-=20 2.26.2 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable stardiviner writes: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > > When I have a source block (The "|" represents the point): > > #+begin_src sh :eval no > chrome --remote-debugging-port > | > > #+end_src > > Then press =3D[C-c C-v d]=3D, it becomes like this: > > #+begin_src sh :eval no > chrome --remote-debugging-port > #+end_src > > #+begin_src > sh :eval no > > #+end_src > > - --=20 > [ stardiviner ] > I try to make every word tell the meaning that I want to express. > > Blog: https://stardiviner.github.io/ > IRC(freenode): stardiviner, Matrix: stardiviner > GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 > -----BEGIN PGP SIGNATURE----- > > iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7RvwkUHG51bWJjaGls > ZEBnbWFpbC5jb20ACgkQG13xyVromsPWigf+NOP4j0/9U3YvhHhdAmNbrLiNa+My > NsN7msj1uSwwgtyKccaDOmB4mRMoKxhdK3TMn55LmKj+xsJY54EQ35Oq2G4HsJYX > kbypfoj09NNjE4R7Qw7IyAbr7cLkITPbp+9UCDX+lupyNGsKDmkDtrl84JG/Lnxs > jp5FuKBzeG2P7dR8Zs8TFPZOzzPP4jQKnUgfghRcgLNxxJXX2CPge5+cAKiDQFoh > yQCXdd9cFbldnethRjQb6GrlylBcCaHe41AuKrXAdn2gmv1gPLNb1perJ/TCyw3x > ZQy554ZI8dOL1jH4lL5JmGxwWcgMq4qahdhUlfSCEzZKgjKqTtVTdBJYwg=3D=3D > =3Dqwc/ > -----END PGP SIGNATURE----- =2D-=20 [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 --=-=-=-- --==-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFIBAEBCAAyFiEE8J9lDX1nSBmJJZFAG13xyVromsMFAl7TH4YUHG51bWJjaGls ZEBnbWFpbC5jb20ACgkQG13xyVromsN0EAf/chyNeesZ5Rhl/XOmviYmgINtJro8 waPTo2OYquGmDUg8bDR3xtrfFjOotyTWtI06zVtM4d0NhRfQRolhznc683zXC04+ 2wLExzOXgb9Mf0AdGL657hNEdKpoaQ7PSpHRAtRrw9GSVKwEpDHJVqPl11wHf+if Ip8p1TX04gjXve7uQXcCcoCsMKZO6mq27ZUAI5r34otpQCk6KnoNaNj+q/yjNum3 debym12hVinqD/dExctgq91uo5/pz7lk3PZe8ZWXLgCq5UcOcmyjSt7tkkL3nwEr ewz6jqAdBivNM9y78zt6kjepq4i3OVAIOOQ+4ITBSMVzbqHr/pJ+L41dQQ== =bV77 -----END PGP SIGNATURE----- --==-=-=--