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 ED4sOhpW1F4wDwAA0tVLHw (envelope-from ) for ; Mon, 01 Jun 2020 01:12:58 +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 aNvbNRpW1F6KaQAAbx9fmQ (envelope-from ) for ; Mon, 01 Jun 2020 01:12:58 +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 BBA1E940416 for ; Mon, 1 Jun 2020 01:12:57 +0000 (UTC) Received: from localhost ([::1]:57090 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jfZ0Y-0000nt-Ef for larch@yhetil.org; Sun, 31 May 2020 21:12:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45514) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfZ06-0000nY-8M for emacs-orgmode@gnu.org; Sun, 31 May 2020 21:12:26 -0400 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:57079) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jfZ05-0005fG-51 for emacs-orgmode@gnu.org; Sun, 31 May 2020 21:12:25 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 7C0C65C005A; Sun, 31 May 2020 21:12:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute4.internal (MEProxy); Sun, 31 May 2020 21:12: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=Mj773qMuofxLY3q4TnVpc0SEkT lwhf4u/ppBUC2Qnr8=; b=gdl+7oJo2dsw13kEGR0UK4n/qIo3zOR1WiAEQgsdtj 4W/nGfmjyivGe3ir5WhxvnWlEHXGEeNd1zB2rl/F0FSY5XeFhKS+kBYNMcpM2OLN NMOAjEn2lOkiYQH909EsHdKvYRYyRdARlS6pQvtY4LezhL7M6ukUJMTEP3JS9QTM iswKbhjqzTikj3Qc49T2elY7dM9wU11A1L0Y6FKRENJVY9A7Fj06QuVuk54cmRfx FxRmaAEB7HX9IqmQGE9kpG10UtmeCNS/tdd3xW+3TkSo01VMwVfiV4QsmiZjXbbd dxLShxScHCRqMSGgBCPOtBRVgzm3apCDBVwCg26OwZ6g== 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=Mj773q MuofxLY3q4TnVpc0SEkTlwhf4u/ppBUC2Qnr8=; b=t+eAuSgYLqzR+60hmJEkSZ MUxBibatu2ENlWMcr1GQOCv80sXyddsGWnDhSblv1GhZNTQPp7toGF4SdY+kfvTl q8uang/enLnAkrmrpCK/j7gwGvQw+6l64dm0Bc6TVgplMadE6QdAmPFBgg/IN52z 7aUx9J4BMjMZyTnKCKY3kVfxKAC2hIkivfHAVj6zpShwBo04xtpiU0Ya0WwP4SfR yUDHE3ofWbriZaU/RSwVbcz/JMvBjXXmNLjB/3jORUxTS0eetzf/gmAgfbhqcRGn 9Omu98JXyx+ZUa3EdnAasgBwbDrBSSdwPYC8lFGSuFbN0hQcjQJ7Q9Yl/7E3Odzg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrudefgedgfeelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffujghffffkgggtsehttdertd dttddtnecuhfhrohhmpeforghtthhhvgifucfnuhhnughinhcuoehmughlsehimhgrphhm rghilhdrohhrgheqnecuggftrfgrthhtvghrnhepveffgeejffehvdfgvefgledvvdejie egfffgveeuvdelkeeivdfggffggeeuheehnecukfhppeejiedrudeirddufeehrdduudel necuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepmhgulh esihhmrghpmhgrihhlrdhorhhg 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 3A41F3061856; Sun, 31 May 2020 21:12: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: <87k10r1upi.fsf@gmail.com> References: <874kryi3g6.fsf@gmail.com> <87mu5oby49.fsf@gmail.com> <87o8q4t5k4.fsf@fastmail.fm> <87k10r1upi.fsf@gmail.com> Date: Sun, 31 May 2020 20:12:23 -0500 Message-ID: <87367fh9mw.fsf@fastmail.fm> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.28; envelope-from=mdl@imapmail.org; helo=out4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/31 21:12:24 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=gdl+7oJo; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=t+eAuSgY; 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: -1.71 X-TUID: DNs5/eWT6xCP stardiviner writes: > Matthew Lundin writes: > >> >> I think you also need to replace the newline with a space in the upper >> case version. >> > Supposed there is \n after #+end_src. I also checked the original version before > that change commit. The original has an newline. I write patch by comparing > before and after (side by side). I'm referring to this line in the patch: indent (if upper-case-p "#+BEGIN_SRC\n" "#+begin_src ") ^ The newline that needs to be removed is indicated by "^". You can see a correct similar version of this line on line 1932 of ob-core.el. The original line the problematic commit replaced would also have had a space in both, since it called either downcase or upcase on the string "#+begin_src ". Best, Matt