From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id +P1QEwzi0168NQAA0tVLHw (envelope-from ) for ; Sun, 31 May 2020 16:57:48 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id iDYyDwzi016idwAAB5/wlQ (envelope-from ) for ; Sun, 31 May 2020 16:57:48 +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 3C80494042B for ; Sun, 31 May 2020 16:57:47 +0000 (UTC) Received: from localhost ([::1]:56014 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfRHM-0003yE-OZ for larch@yhetil.org; Sun, 31 May 2020 12:57:44 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:56224) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfR7O-0006Hn-E0 for emacs-orgmode@gnu.org; Sun, 31 May 2020 12:47:26 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40203) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfR7N-0001fF-3y for emacs-orgmode@gnu.org; Sun, 31 May 2020 12:47:26 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 64ECD5C00BB; Sun, 31 May 2020 12:47:24 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Sun, 31 May 2020 12:47:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=imapmail.org; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm3; bh=C5SFVjHFFzub84CZkFmx2vQqtM 8x16LjueTrIfbyBmE=; b=RGaqZ2Ez7+6DOZhSM05Tq6ErQucHijZMjb1k3xN7m2 DtPiah+AE5uD8ka2bk2pS0VYiBrDQWiYPQbBz+kPlHG+Rg0II1NJv0XILgmGWYdo S43c7vpVpTXlkU5DgY4T4CNauYHg5qcttLdjGmF8La/tnv5jannmyApYd4WdeVXf Lka6v4tbSI0b9C/RGHbRqaR66gXCQnIwiWR4FTv9FNTyyVb6EVN583wB2Eh06pFQ 56h2QXiAlK1r93VMbvJn5OWPamrMIibe9ANrAV0njtaHiREg6zDfAuiVyJsxA8Or AlLyAXt8w0l8I6TF07Bl9E5ribWcO7kA9P91i554P1Dg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=C5SFVj HFFzub84CZkFmx2vQqtM8x16LjueTrIfbyBmE=; b=hBkRfqODPXVhdyKO+EMIez ra9Oz7LLRPr1vE7ey7u0tZPO2nCQ/nqgfMjVz5i9V3r+waFTmDu6yMpb2c6OJoCF 5pXZTRz8Gn7NlOUtZ5ja1FQyXTmWs5dlbw3i5jHQ8Mk/614OSJv/t6Q8nRHXEykz /cB7Ohgz1yaS+eQx8gW2IYdMNFwGbzxKaw4CkwrHSeBCAqRvFR0S+cUzre3QCozr jbxE4jUJWQc0DuPj8nlXc0bLFXqsygMfq4dOjTFGZsykPE22lAPE7JZQK16ftATM K3mPDSFcbgnDGVfwJa4UjxWDKJTOpbqvd/QbT6JOph+FkWMhrOFCdx+bG+bU82wQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudeffedguddtfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufgjfhffkfggtgesthdtre dttddttdenucfhrhhomhepofgrthhthhgvficunfhunhguihhnuceomhgulhesihhmrghp mhgrihhlrdhorhhgqeenucggtffrrghtthgvrhhnpeevffegjeffhedvgfevgfelvddvje eigeffgfevuedvleekiedvgffggfegueehheenucfkphepjeeirdduiedrudefhedruddu leenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmug hlsehimhgrphhmrghilhdrohhrgh X-ME-Proxy: Received: from localhost (c-76-16-135-119.hsd1.il.comcast.net [76.16.135.119]) by mail.messagingengine.com (Postfix) with ESMTPA id 146223280063; Sun, 31 May 2020 12:47:24 -0400 (EDT) From: Matthew Lundin To: numbchild@gmail.com Subject: Re: [PATCH v2] Re: [BUG] recently commits on master branch breaks command 'org-babel-demarcate-block' In-Reply-To: <87mu5oby49.fsf@gmail.com> References: <874kryi3g6.fsf@gmail.com> <87mu5oby49.fsf@gmail.com> Date: Sun, 31 May 2020 11:47:23 -0500 Message-ID: <87o8q4t5k4.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=mdl@imapmail.org; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/31 12:18:49 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, 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: , Cc: emacs-orgmode@gnu.org 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=imapmail.org header.s=fm3 header.b=RGaqZ2Ez; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=hBkRfqOD; dmarc=pass (policy=none) header.from=imapmail.org; 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: -0.21 X-TUID: PmaXWxM+BwEt stardiviner writes: > I updated the patch commit message. > > From b0bdf52a305cb5f9663ee1dc2d08c5de6c7cb602 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. > --- > 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 > --- 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" > - 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) > -- > 2.26.2 > I think you also need to replace the newline with a space in the upper case version. Matt