From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id OqvENNRyzmMLQwAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 12:43:16 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 2PunM9RyzmMH5wAA9RJhRA (envelope-from ) for ; Mon, 23 Jan 2023 12:43:16 +0100 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 D38B23B655 for ; Mon, 23 Jan 2023 12:43:15 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJvDT-0002gZ-DS; Mon, 23 Jan 2023 06:42:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJvDN-0002gB-Rk for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 06:42:18 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJvDL-0005HB-NJ for emacs-orgmode@gnu.org; Mon, 23 Jan 2023 06:42:17 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 0923324024F for ; Mon, 23 Jan 2023 12:42:12 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1674474133; bh=t3wy2y7D86oHbKNZIY/nbyNPjH04mJX46iB6jEChuuI=; h=From:To:Cc:Subject:Date:From; b=AZAsMV/Pp9hFm/UkgvfEZ97oXKQ7aZE+vYwU2PC/8ueXX+jV9ex+gFHDy9nrCwS2b mjVhIGQafIRHc+bFE865bvBZ6UQ+vr3MptBwF7jll3WOwaHQFrH58RrfjVLZoelisG JO+9Oww+nRJGEnQ+c9z7ncYj9rQZH76W2iPKIjclPno3yaYORY5DVYo5q60rHjxydD nLVt1YPxHsP63ZzhAyLUlicAlQD/AnGosHQK0v/IKY6qWEslzRvvd3G3szpz0YQfd/ Vyw7706PpKAvzaoRD5VMvgTyFEF/UoY6nY1GJvT9LKzWZHuvM2bdKFd7NFcTbUvZ/t FMDl3foTvq6vQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4P0p9Y25Lvz9rxL; Mon, 23 Jan 2023 12:42:09 +0100 (CET) From: Ihor Radchenko To: Matt Cc: osher jacob , emacs-orgmode Subject: Re: [BUG] ob-shell doesn't evaluate last line on Windows (cmd/cmdproxy) [9.6.1 ( @ c:/Users/Osher/AppData/Roaming/.emacs.d/elpa/org-9.6.1/)] In-Reply-To: <185dc9cbce2.e7688b29675726.108231333271155983@excalamus.com> References: <185bc86c826.11ae860d1190626.407710511075709301@excalamus.com> <185bd43e452.bb3f5419220019.823265614059778953@excalamus.com> <185c34814a4.bcdd7b94578193.327779579906739164@excalamus.com> <87ilh48b6p.fsf@localhost> <185cd70ae39.f63b9940267772.3953346328326599863@excalamus.com> <87bkmttv2h.fsf@localhost> <185dc9cbce2.e7688b29675726.108231333271155983@excalamus.com> Date: Mon, 23 Jan 2023 11:42:41 +0000 Message-ID: <871qnlfpe6.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=yantar92@posteo.net; helo=mout02.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_H2=-0.001, 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.29 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN ARC-Seal: i=1; s=key1; d=yhetil.org; t=1674474196; a=rsa-sha256; cv=none; b=SbtkdBVi/DOg3W8W2OYBEnM89P1D9d70ZwByWBmc7Z3irykTUEyhyZbi5WY96wOZDkMYdh quQVfEbM4/U5w2sJRLJfog3pFjrfE/lZgYoWfduDYajGdl0AkV2eakfjbcMkMKdj+PWqx0 FqWCIIpgjmZXgzC93d4rHsStbUqOZSd1Om5lzXhYPioQEfgBXdLc1CVV2I5Em7WU58ysQq j5cWxbB52E6kQwQX0qPqjBT0fm6EdWnXMmDwA07mmmZjLpo3FfxRj2Ze1eI/3DTqMXC4gc rnxFuh74wsZr8VQrIeeQ9QnSNEeXevAfcJVhUViLDSRQJnvZQzuseHa4/ob8wg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="AZAsMV/P"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674474196; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=rgpxtqZGo24OiNkAXoa6OQCRaxvYAA2pPRIGkl3MWRg=; b=B5M+mhEQtiMXOcViauzqWsNNL7ZvHzmFR2L+bzlRWw1v/ibDwfzoL29WAv3muxHNL/zUHe k9c3kiqPzI+Az6HDk5Z4wf9eAYq+Q0amkz+k4FOzLP01fnbltHV8Id8sXi8RKa8SruyTd2 nZZhNl/OdUUAWqlbOdZtRKI+u8aiTNMedXJVoRGt/ryHK1h2yVimlhcSQFbVjsktQrH52y tnaN7+lTNMbG3d2TZ0zuJUlAgZSiNV0sCk6WRx4GF6QZ07aJyBgxQpuhtUT1OQ9R/IsCPS CAu7plMyqlt+DAzbly1FNjXQPLMLxZ27jqZ6noc/NI5rC72Sf2ZY8OfnUb+n6w== X-Spam-Score: -11.15 X-Migadu-Queue-Id: D38B23B655 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b="AZAsMV/P"; dmarc=pass (policy=none) header.from=posteo.net; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org" X-Migadu-Scanner: scn0.migadu.com X-Migadu-Spam-Score: -11.15 X-TUID: oaf2dQaldACP Matt writes: > ---- On Fri, 20 Jan 2023 04:27:18 -0500 Ihor Radchenko wrote --- > > I think `org-babel--shell-command-on-region' will be more appropriate. > > Because similar issues might appear when attempting to evaluate other > > code blocks on Windows, where `shell-file-name' is set to cmdproxy.exe. > > > > It will also be useful to leave a comment in the code explaining why we > > need this newline. > > Works for me. > > How should I update bugfix to match main? Since we're considering > this a bug, I figured I'd do this on bugfix. bugfix is only for trivial and critical bugs. Non-trivial yet non-critical should not be on bugfix. They are for the next minor release. See https://orgmode.org/worg/org-maintenance.html#branches > I notice, however, that bugfix doesn't have the latest updates to test-ob-shell. When I rebase main onto bugfix I get a ton of conflicts. If I instead merge main into bugfix, that shows many merge commits with bugfix. Since I don't see any "Merge with 'bugfix'" commits on bugfix currently, I assume that's not the way to do it. You must not merge main onto bugfix. Such merge is called release :) Can you fix the bug on bugfix? If yes, do it on bugfix and then merge bugfix onto main. If no, just fix it on main - this appears to be an old bug that existed for a long time, and we may as well postpone it to the next minor release and not risk breaking bugfix branch with non-trivial changes. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at