From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id eG64OA4Yl2NjvgAAbAwnHQ (envelope-from ) for ; Mon, 12 Dec 2022 13:01:19 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id yC2QOA4Yl2PcTgAAauVa8A (envelope-from ) for ; Mon, 12 Dec 2022 13:01: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 B123410C69 for ; Mon, 12 Dec 2022 13:01:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4hTY-00072z-J0; Mon, 12 Dec 2022 07:00:04 -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 1p4hTU-00070D-6G for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 07:00:00 -0500 Received: from mout01.posteo.de ([185.67.36.65]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p4hTR-00076t-PY for emacs-orgmode@gnu.org; Mon, 12 Dec 2022 06:59:59 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout01.posteo.de (Postfix) with ESMTPS id 0AC1B240026 for ; Mon, 12 Dec 2022 12:59:53 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1670846394; bh=pJ5R7xnBI33crPI91TkIMKyyh20qcJ8lVpQ1xCU5MNc=; h=From:To:Cc:Subject:Date:From; b=GGQQMAoWGDCPe0bW9PuOg6Ixyr2ngVitIp2vIOx66VkYhXnGTotAp5Pxj6ntanOvl vCSodzmf/r6q+5RDxVODnUbQH6BYxBjaF2bb/W1/7NFDJPWBS6KR75gX+4wFwfxGjw 5apH/bsprMxbFbH42TJrT4MopG8thTcpR6e5C8hNrpk4vi7Or9i2uYJF/Gp0zz/zNs yv/OEfgiiF+i6AxlRFlumUVTuItfe69Wb57Zyx41/w1yTXQclLlPpS6Ya0SBpTnl5Y FqnrK0uGOxkcxhveopza420ECoajieYYWfseYxSu0q+nTYsW0olz+pytPX5AlIvyRP dVNRNSdTx9Yng== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NW0YP2xprz6tmp; Mon, 12 Dec 2022 12:59:53 +0100 (CET) From: Ihor Radchenko To: Bruno Barbier Cc: emacs-orgmode@gnu.org Subject: Re: [BUG] org-babel-comint-with-output: incorrect prompt detection [9.6-pre] In-Reply-To: <87sfiq9r75.fsf@localhost> References: <87sfiq9r75.fsf@localhost> Date: Mon, 12 Dec 2022 11:59:48 +0000 Message-ID: <87pmcohlxn.fsf@localhost> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.65; envelope-from=yantar92@posteo.net; helo=mout01.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, 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-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670846478; 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=MCfp81aAqB8pQ54R8aokRKHqCQeIWx7979mxIzd5kvk=; b=gM4hguWxkYxuTGh0cLXJ3tGfkzapJN3+0vCKg8heXuj1ht76E/5Upb0LrJBl57pI+gxdIw TlAMkHdxdS72oZvOIjI+/eeSz2k0zwkCTYhxNJsPMpAlzGnSITAeQEVO8CwRv64RIyj51w t4MMxFxMr+oGrwsjwKVxSzDtsmEq3TQ42Gx/QHFQtDZniZYn5uhUvCM8WQRZkY45afebVz aGhFTsCCnegEuou3MLK4Eq2f/Hyp8OsAKh4ch8oiHvojAa6GmqMr0Y5Sb1Q8OyXk2pSTIe 8fvUFxSsGsK5gzHUayC+rwj4u3SC+ca4gPnP10ikAaHf6Z94lgJRowtXsfpupQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GGQQMAoW; 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"; dmarc=pass (policy=none) header.from=posteo.net ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670846478; a=rsa-sha256; cv=none; b=H076Bey3iLn58T7EICrbbf8aJBRmk5ccDk6sR5DukYPoTrdEWCxN8wIuOWXC/i4ygSqH9/ NE461Ao/ulMq5V1S95YXu3GI7dkzE75Q8djfxiYdCjfNC4zoVHS9fPGsdj2qqvJ2G1e1O7 3kJjfH/v3fYJv6J2J5clgQ/qeWe49UgUC5BOVnuXCYhqPSP1KRm4tm7k9FtcaHbOcXWwLA NCljdtepRJpBzlxljn6ZiD4kEVh5boJQRHq9BFaLDMm7k9OOCPGtIS0+rn+qlo+Ez0f9hw 870lnD3i6cMC9Sef4AoX63gSg6sDTfSNmVYuioypaRkvY26Hf0nf3rZ4txPEpQ== X-Migadu-Spam-Score: -10.95 X-Spam-Score: -10.95 X-Migadu-Queue-Id: B123410C69 X-Migadu-Scanner: scn0.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.net header.s=2017 header.b=GGQQMAoW; 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"; dmarc=pass (policy=none) header.from=posteo.net X-TUID: M/4qtcdTtfaO Ihor Radchenko writes: > One possible fix could be replacing `comint-prompt-regexp' one more time > at the very end in addition to `org-babel-comint-prompt-separator'. We > must also make `comint-prompt-regexp' more precise to avoid "lude> " > being detected as a prompt. This is what I ended up doing because of another similar bug report. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=456462741 -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at . Support Org development at , or support my work at