unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: dalanicolai <dalanicolai@gmail.com>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 49822@debbugs.gnu.org
Subject: bug#49822: 28.0.50; python-shell-send functions show no output
Date: Thu, 5 Aug 2021 12:03:02 +0200	[thread overview]
Message-ID: <CACJP=3kJhwoDMdFeLG-k9uR0AdYiwkXJ0fafwsvd122rrHF9oQ@mail.gmail.com> (raw)
In-Reply-To: <87r1f9fzj4.fsf@gnus.org>

[-- Attachment #1: Type: text/plain, Size: 1568 bytes --]

Okay, I have switched to the master branch now and rebuild emacs.

So I find it works differently than I thought. As reported in my original
bug-report,
the comint still does not show the output when sending using `C-c C-c` but
I see now
that actually that is bound to `python-shell-send-buffer`. So now I notice
that the only
function that effects in the comint printing the output is
`python-shell-send-statement`.

Probably I was misled by the Spacemacs function `pyhton-shell-send-line`
which uses
`python-shell-send-region` and therefore when used the comint does not
print the output.
(And I was blindly assuming that `C-c C-c` was using shell send
line/statement)

Thanks for your replies!


On Wed, 4 Aug 2021 at 09:18, Lars Ingebrigtsen <larsi@gnus.org> wrote:

> dalanicolai@gmail.com writes:
>
> > M-x run-python
> > type e.g.: 5+5
> > then send using `C-c C-c`
> >
> > The comint shows no output. Same for ipython comint.
>
> I'm unable to reproduce this on the current trunk -- I seem to recall
> this was fixed a few months ago.
>
> [...]
>
> > In GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
> > 3.24.25, cairo version 1.16.0)
> >  of 2021-02-18 built on daniel-fedora
> > Repository revision: 185121da6978553d538d37d6d0e67dc52e13311f
> > Repository branch: feature/native-comp
>
> As Andrea said -- this branch no longer exists (it's been merged into
> the trunk), which might explain why your Emacs is half a year behind.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no
>

[-- Attachment #2: Type: text/html, Size: 2273 bytes --]

  reply	other threads:[~2021-08-05 10:03 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20210903122828.16890.65271@vcs0.savannah.gnu.org>
     [not found] ` <20210903122829.EAAC220B71@vcs0.savannah.gnu.org>
     [not found]   ` <jwvv93hl0ux.fsf-monnier+emacs@gnu.org>
2021-09-04  9:49     ` bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Augusto Stoffel
2021-09-04 13:52       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-05  6:13       ` Barton, Mark
2021-09-05  7:41       ` bug#32042: " Lars Ingebrigtsen
2021-09-05  7:41       ` Lars Ingebrigtsen
     [not found]       ` <44E9472D-65D9-48DA-AF20-C0A82818C5CA@disney.com>
2021-09-05  7:46         ` Augusto Stoffel
2021-09-05  8:10         ` Augusto Stoffel
     [not found]         ` <87ilzfcuj2.fsf@gmail.com>
2021-09-05 17:18           ` Mark Barton
2021-09-05 17:33             ` Mark Barton
2021-09-05 17:46             ` Augusto Stoffel
2021-09-05 16:36       ` Andreas Schwab
2021-09-05 18:40         ` Augusto Stoffel
2021-09-06  7:43           ` Michael Albinus
     [not found]           ` <878s0a409g.fsf@gmx.de>
2021-09-06  8:40             ` Andreas Schwab
     [not found]             ` <87ilzef65i.fsf@igel.home>
2021-09-06 11:23               ` Michael Albinus
     [not found]               ` <878s0aeyna.fsf@gmx.de>
2021-09-06 11:53                 ` Andreas Schwab
2021-08-02 14:32                   ` bug#49822: 28.0.50; python-shell-send functions show no output dalanicolai
2021-08-02 15:11                     ` bug#49822: forgot link (and mentioned wrong user) dalanicolai
2021-08-02 15:17                     ` bug#49822: 28.0.50; python-shell-send functions show no output Andrea Corallo via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-04  7:18                     ` Lars Ingebrigtsen
2021-08-05 10:03                       ` dalanicolai [this message]
2021-08-12 14:57                       ` Augusto Stoffel
2021-08-13 11:10                         ` Lars Ingebrigtsen
2021-08-13 16:44                           ` Andreas Röhler
2021-08-14  9:29                             ` Augusto Stoffel
2021-08-15  6:41                               ` Andreas Röhler
2021-08-26  8:27                                 ` Augusto Stoffel
2021-08-26 14:09                                   ` Lars Ingebrigtsen
2021-08-28  9:28                                     ` bug#49822: [RFC PATCH] " Augusto Stoffel
2021-08-28 15:41                                       ` Lars Ingebrigtsen
2021-09-03  8:02                                         ` bug#49822: [PATCH] " Augusto Stoffel
2021-09-03 12:28                                           ` Lars Ingebrigtsen
2021-09-06 22:15                     ` bug#49822: master e32c7d2: Change Python eval to send directly instead of using temporary files Andy Moreton
2021-09-07  7:18                       ` Andreas Schwab
2021-09-06 12:00                   ` Michael Albinus
2021-09-06 16:08                     ` Augusto Stoffel
2021-09-07 17:37                   ` Augusto Stoffel
2021-09-07 17:48                     ` Eli Zaretskii
     [not found]                     ` <83y288nuoq.fsf@gnu.org>
2021-09-07 17:59                       ` Augusto Stoffel
2021-09-07 18:13                       ` Augusto Stoffel
     [not found]                       ` <87sfygl11x.fsf@gmail.com>
2021-09-07 18:19                         ` Eli Zaretskii
     [not found]                       ` <87o894l0dr.fsf@gmail.com>
2021-09-07 18:31                         ` Eli Zaretskii
     [not found]                         ` <83tuiwnspl.fsf@gnu.org>
2021-09-07 19:00                           ` Augusto Stoffel
2021-09-07 19:16                             ` Eli Zaretskii
     [not found]                             ` <83pmtknqlq.fsf@gnu.org>
2021-09-08  7:02                               ` Michael Albinus
2021-09-08  3:17                     ` Barton, Mark
2021-09-08  5:09                       ` Augusto Stoffel
2021-09-08  7:50                     ` Lars Ingebrigtsen
     [not found]                     ` <877dfr5ww1.fsf@gnus.org>
2021-09-08 14:05                       ` Augusto Stoffel
     [not found]                       ` <87zgsnp3hk.fsf@gmail.com>
2021-09-09 13:48                         ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CACJP=3kJhwoDMdFeLG-k9uR0AdYiwkXJ0fafwsvd122rrHF9oQ@mail.gmail.com' \
    --to=dalanicolai@gmail.com \
    --cc=49822@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).