From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Carlos Pita Newsgroups: gmane.emacs.bugs Subject: bug#25753: 25.2; Python mode shell interaction not working 100% Date: Sun, 3 Oct 2021 21:46:37 -0300 Message-ID: References: <41EFCEC1-7EE8-484D-AF7F-06CF3F800F65@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30158"; mail-complaints-to="usenet@ciao.gmane.io" To: 25753@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 04 02:47:37 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mXC8m-0007gs-Ka for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 04 Oct 2021 02:47:36 +0200 Original-Received: from localhost ([::1]:51684 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mXC8k-0005Uq-Bb for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Oct 2021 20:47:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mXC8E-0005TY-9E for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 20:47:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mXC8E-00058b-1i for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 20:47:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mXC8D-00022q-P2 for bug-gnu-emacs@gnu.org; Sun, 03 Oct 2021 20:47:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carlos Pita Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 04 Oct 2021 00:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25753 X-GNU-PR-Package: emacs Original-Received: via spool by 25753-submit@debbugs.gnu.org id=B25753.16333084177848 (code B ref 25753); Mon, 04 Oct 2021 00:47:01 +0000 Original-Received: (at 25753) by debbugs.gnu.org; 4 Oct 2021 00:46:57 +0000 Original-Received: from localhost ([127.0.0.1]:35149 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXC88-00022W-SZ for submit@debbugs.gnu.org; Sun, 03 Oct 2021 20:46:57 -0400 Original-Received: from mail-wr1-f53.google.com ([209.85.221.53]:33328) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mXC87-00022J-It for 25753@debbugs.gnu.org; Sun, 03 Oct 2021 20:46:55 -0400 Original-Received: by mail-wr1-f53.google.com with SMTP id m22so22090996wrb.0 for <25753@debbugs.gnu.org>; Sun, 03 Oct 2021 17:46:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=XM6YIIEjE6zkus4V6eS9LlWhx58ORMuJGmQXnDgJlC8=; b=atUNLERj2YRiCD8Laju296X1w75Sr9vCYfUVkeSxS8jrc3dlABsYFHUBqzhHd4Jisy tgk9amuRQzRNkde/LWGlAXniHXQZPPYFdpwEYigG37T/cVIm7P5I8LksbIGDInXFliWk f6QjTvCHSJorgrmCOJrmybX9UU3zwjMGuMNq96u12rpAinQ6M6OPxfiONYPdGtFVmEQ0 xXV5hb0LHDQaTLDCjSLK3ErJOF7X+ETqCniU65UZN2biGk0FBYAzECIriSi2TYdz0JAO sIeK+uNgyuVH3Oc+FTtrcjM13ghGWCM4A57w6QVrJGExcfYCTkcY9kkhxrmEFZIURThg hSsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=XM6YIIEjE6zkus4V6eS9LlWhx58ORMuJGmQXnDgJlC8=; b=hSLsaLtCPQM5Ut0dPpsyFkUwS1Xhs5T+VLFaXXNpwcSbGuDadd6lgDD8YVxM1EznDF vUj0fzPYaeKLjCjkpgJYZgGXDc0unUfj1OSCoQUyadHasYMjwBC0NlSviep3wjJA9K8G b+mZ30OEH4l7f0mticJnbfjkcYOgtQIj/rt3aVy2+wzyItmToEEPX0xk42/ZKbLa82ib 6tsymLFAwH7uHgixKqt2jalkb5FZeUJxcTxalG4NShq6qGnSnCOKurzd04U3Jb3s8lsQ KW7UmDPrNQOOM4hadPPmN8YMsiOxmoZ8UpWmi8w8/MdhytIY3hzuXrKpmNd8KEU+sbTI Nx1w== X-Gm-Message-State: AOAM532AZHpqal+QoJwH1gR0C7t/qCKJqWkz2EfIeqWF7zJtRY1n4bq8 RoFtHHCd2POMkfvOL82qkxV9CaFFN+sJnZo7hPn2p07bRgMXHw== X-Google-Smtp-Source: ABdhPJzAW05YFaAY/eXttN+8R4c9ZQoCfca7fpi3qKnsVluwJf87wjX0bZAw3ubVeMFBZStI5ccGVl2bJt8QGwjXPj8= X-Received: by 2002:adf:e74b:: with SMTP id c11mr8866550wrn.362.1633308409268; Sun, 03 Oct 2021 17:46:49 -0700 (PDT) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:216320 Archived-At: Regarding my issue, short of resetting the entire inputrc config somehow, one can workaround the problem by changing: (comint-redirect-finished-regexp "1__dummy_completion__[[:space:]]*\n") to: (comint-redirect-finished-regexp "1__dummy_completion__.*\n") This is in order to match outputs like: 0__dummy_completion__ [0m [K 1__dummy_completion__ [0m [K Given the fragility of all this, I think it's better not to be too picky regarding the matching condition, which is selective enough without enforcing spaces at the end. So I propose that minimal change.