From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id EMfXMk77zWPC2QAAbAwnHQ (envelope-from ) for ; Mon, 23 Jan 2023 04:13:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id AHoNMk77zWNzrgAAG6o9tA (envelope-from ) for ; Mon, 23 Jan 2023 04:13:18 +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 A7C393CDFF for ; Mon, 23 Jan 2023 04:13:17 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pJnG0-0001hR-T5; Sun, 22 Jan 2023 22:12:28 -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 1pJnFy-0001h9-Lk for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 22:12:26 -0500 Received: from sender4-op-o14.zoho.com ([136.143.188.14]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pJnFw-000472-Nx for emacs-orgmode@gnu.org; Sun, 22 Jan 2023 22:12:26 -0500 ARC-Seal: i=1; a=rsa-sha256; t=1674443539; cv=none; d=zohomail.com; s=zohoarc; b=NhsFs/jh6emyLn4pL2EzftA4u8yQTMvazuvnGILEFg7pwCRux8zyC4hYCjTFydONBregmHJxVCKg7GEuNIaeOvawf8fQAkQ4DVjhMP+1Cc2NFgHiUUOgqlJOkbNfprUqtFgVr1bztJZMNLYv0DRiv0sPYPRU8owJwK94n+3tkzU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1674443539; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=Ntn5kg1osGPWqq2KU2VeVNQI711fwwcS1OzI38M9PNA=; b=dsrOh+ftszawR36NGr+qldF4jQvVarU/sHbvhhGp0uKHRLfFysveWdCctEvP7qUy70mSopHKv6yzzzBz9cFVJpe0BC0w1CVEiB+HAdNpbMrl9MC7FTRte4nWyzXaswMHbqe4Tamp52ARrWfx4Zlv96ywRdRrG/S+iMsqnPTzBDo= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=excalamus.com; spf=pass smtp.mailfrom=matt@excalamus.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1674443539; s=zmail; d=excalamus.com; i=matt@excalamus.com; h=Date:Date:From:From:To:To:Cc:Cc:Message-ID:In-Reply-To:References:Subject:Subject:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=Ntn5kg1osGPWqq2KU2VeVNQI711fwwcS1OzI38M9PNA=; b=Jv5yRqtDdS9H8kBifXQ77uo8EXRJoyhYslqw5sXNN04S+vPhYs60kpooccVznGJC JE/lOffZQBvy+o2dHTnZ3+Sh3p4Xhx6O3s9fFgNPQIEUcwfVEZZQGQ50uUXyeSkbDvw 4ZfWne/U5jv8VKS7rIgRUfD+eucSe0R9EAfFa34s= Received: from mail.zoho.com by mx.zohomail.com with SMTP id 167444353766099.92042400374498; Sun, 22 Jan 2023 19:12:17 -0800 (PST) Date: Sun, 22 Jan 2023 22:12:17 -0500 From: Matt To: "Ihor Radchenko" Cc: "osher jacob" , "emacs-orgmode" Message-ID: <185dc9cbce2.e7688b29675726.108231333271155983@excalamus.com> In-Reply-To: <87bkmttv2h.fsf@localhost> 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> 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/)] MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit Importance: Medium User-Agent: Zoho Mail X-Mailer: Zoho Mail Received-SPF: pass client-ip=136.143.188.14; envelope-from=matt@excalamus.com; helo=sender4-op-o14.zoho.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, 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-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1674443597; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=Ntn5kg1osGPWqq2KU2VeVNQI711fwwcS1OzI38M9PNA=; b=oSo5yn+ZM8OAQ+iKzUkEobnDG75/oWBa1fWwM6uUdu3oPdjdNZM8LIChINRmYj1SQhV5K1 xmsXfP4nUZOWBErYWgMUpjkNKXDQlLFemFj/KWK67EokfexDGtyGC58P3baV+Afk24fqob FffhujNRWfnNDwx1DUXwmSf9BrNW8JE2RMXe0nVKNp3poVX3eJInXoYM08c6PEv0g/gyNz bQClN6g1q5abViFvfD2h5U2HosN+DzMyplK5Okc3Y8OoZSHuKMemkzh1rYmH1PC4WcsEw0 7ldzdZIyM/aRA+3oZSRAZNK5lZqMVt4j0AkJNJn1DvtWgEWBW43aWdpkXZ4yiw== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=Jv5yRqtD; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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-Seal: i=2; s=key1; d=yhetil.org; t=1674443597; a=rsa-sha256; cv=pass; b=bzz9Rje0yto9DkMMZlQAzOPbDnAFOcuptrEEHxtSl79P2MUkkAoszmYVRQYND+dA3YCD4d 4wiajvlfTRPMFRUy4JQY1Tmt/IsI6SRaaYCgzyfoEIbkx6E1tYHHxECkpe0bDgNJEsGLKR qW+V6K4JwiT5U2NsaamD8ouK65ErRnk0Qwe/CO6AJleGDOSm7g3QursDO/WqfWU1XfZJcj bD+wH0aTwBKGLgaBnKpYl7OQrJrNUBkwJbXWUVcaGhzfS8k0vloVVIKSEO9Wr0m2LQR4MP SlFmYAET3kEpOq0sjr4K6wQUtpnRCSRQxdJh5N2I7l8yI7I1qLG97VCLSbCSBw== X-Migadu-Scanner: scn1.migadu.com X-Migadu-Spam-Score: -6.76 X-Spam-Score: -6.76 X-Migadu-Queue-Id: A7C393CDFF Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=excalamus.com header.s=zmail header.b=Jv5yRqtD; dmarc=none; arc=pass ("zohomail.com:s=zohoarc:i=1"); 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-TUID: hQmUoiVZOPzv ---- 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. 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.