[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#18133: Suppressing asynchronous command output
From: |
Eli Zaretskii |
Subject: |
bug#18133: Suppressing asynchronous command output |
Date: |
Tue, 27 Dec 2016 08:23:31 +0200 |
> From: Reuben Thomas <rrt@sc3d.org>
> Date: Tue, 27 Dec 2016 01:20:42 +0000
> Cc: martin rudalics <rudalics@gmx.at>, 18133@debbugs.gnu.org, Eli Zaretskii
> <eliz@gnu.org>
>
> +(defun comint-make-newly-written-buffer-visible (string process)
> + "Make the output buffer visible when output is added to an empty buffer.
> +Useful in `comint-preoutput-filter-functions'."
> + (let ((buffer (process-buffer process)))
> + (when (and (= 0 (buffer-size buffer))
> + (string-match-p "\\*Async Shell Command\\*"
> + (buffer-name buffer)))
> + (display-buffer (process-buffer process))))
> + string)
Why are we hard-coding a certain buffer name in a function that is
supposed to be more general, judging by its name and doc string?
- bug#18133: Suppressing asynchronous command output, (continued)
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/24
- bug#18133: Suppressing asynchronous command output, martin rudalics, 2016/12/24
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/24
- bug#18133: Suppressing asynchronous command output, martin rudalics, 2016/12/24
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/24
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/26
- bug#18133: Suppressing asynchronous command output, martin rudalics, 2016/12/27
- bug#18133: Suppressing asynchronous command output, Juri Linkov, 2016/12/26
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/26
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/26
- bug#18133: Suppressing asynchronous command output,
Eli Zaretskii <=
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/27
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/27
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/27
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/28
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/28
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/29
- bug#18133: Suppressing asynchronous command output, Juri Linkov, 2016/12/29
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/30
- bug#18133: Suppressing asynchronous command output, Eli Zaretskii, 2016/12/30
- bug#18133: Suppressing asynchronous command output, Reuben Thomas, 2016/12/30