emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'di


From: Stefan Monnier
Subject: Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
Date: Mon, 03 Jan 2022 13:38:09 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

> It's not sufficiently general.  For example, 'shell' first pops up the
> buffer and then sets its major mode with an explanation that goes as
>
>   ;; The buffer's window must be correctly set when we call comint
>   ;; (so that comint sets the COLUMNS env var properly).
>   (pop-to-buffer buffer)

BTW, this is a problem we should fix more thoroughly.

I *think* the right way to fix it is to first set the buffer in
comint-mode, then display the buffer (when needed), then launch
the process.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]