[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48399: 27.2; term-mode: After splitting window, newlines are inserte
From: |
Eli Zaretskii |
Subject: |
bug#48399: 27.2; term-mode: After splitting window, newlines are inserted |
Date: |
Tue, 12 Jul 2022 16:40:03 +0300 |
> Cc: Robert Pluim <rpluim@gmail.com>, 48399@debbugs.gnu.org,
> Khoa Vo <vodangkhoa873@gmail.com>
> From: Lars Ingebrigtsen <larsi@gnus.org>
> Date: Tue, 12 Jul 2022 14:28:45 +0200
>
> Michael Heerdegen <michael_heerdegen@web.de> writes:
>
> > Happens even without C-n:
> >
> > M-x term
> > C-c C-j
> > ls
> > C-x 2 ;; a linefeed between prompt and "ls" in inserted
> > C-x 1 ;; another one is inserted
>
> Thanks. I've had a brief look at term.el to see what could be causing
> this -- I wondered whether it might be a window change hook or
> something, but that doesn't seem to be the case.
>
> It seems to be happening non-synchronously -- sometimes the extra
> newline isn't added until half a second passes, so perhaps it's
> something that happens during communication between the shell and Emacs.
>
> I'm pretty unfamiliar with the term.el code. Anybody know where to
> start poking?
I think it's because we call set-process-window-size, which sends an
IOCTL to the shell.
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Lars Ingebrigtsen, 2022/07/11
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Robert Pluim, 2022/07/11
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Michael Heerdegen, 2022/07/11
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Lars Ingebrigtsen, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, miha, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Michael Heerdegen, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Andreas Schwab, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted,
Eli Zaretskii <=
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Andreas Schwab, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Andreas Schwab, 2022/07/12
- bug#48399: 27.2; term-mode: After splitting window, newlines are inserted, Lars Ingebrigtsen, 2022/07/12