bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#40896: 27.0.91; Moving point fails sometimes in shell-command


From: Michael Albinus
Subject: bug#40896: 27.0.91; Moving point fails sometimes in shell-command
Date: Sat, 02 May 2020 15:12:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

Hi Eli,

>> In order to understand the situation better, I have enhanced my test
>> code to cover all different values of shell-command-dont-erase-buffer,
>> and whether the OUTPUT-BUFFER argument of shell-command is the current
>> buffer, or not. Here's the code:
>
> AFAIU, the use case of OUTPUT-BUFFER being different from the current
> buffer is meant for the case where subsequent commands accumulate the
> output in that buffer, which is why the output is appended in that
> case.
>
> Does what you see make more sense now?

Almost. But it is not documented. Maybe we shall apply the appended
patch. And if shell-command-dont-erase-buffer is end-last-out with
output buffer not being the current one, the behavior is simply
wrong, see my previous analysis. At least *this* case must be fixed.

Best regards, Michael.

Attachment: txtMlGoHn3N46.txt
Description: Text Data


reply via email to

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