From: martin rudalics <rudalics@gmx.at>
To: Indrajeet Khandekar <indrajeet.khandekar@taranawireless.com>,
51007@debbugs.gnu.org
Subject: bug#51007: 27.2; emacs hangs when using window-toggle-side-windows
Date: Mon, 4 Oct 2021 20:22:42 +0200 [thread overview]
Message-ID: <bc96509a-26b9-98d2-aa84-d0ee864f6e69@gmx.at> (raw)
In-Reply-To: <77096009-372B-4C7E-9D2C-9FC72C983AA9@taranawireless.com>
> 1. start vanila, emacs session.
> 2. add following configuration.
> (setq debug-on-quit 1)
> (setq display-buffer-alist
> '(
> ("\\*\\(Async Shell Command\\|Shell Command Output\\)\\*"
> (display-buffer-reuse-window display-buffer-in-side-window)
> (window-width . 0.40)
> (side . right)
> (slot . 0))
> ("\\*Shell\\*"
> (display-buffer-reuse-window display-buffer-in-side-window)
> (window-width . 0.40)
> (side . top)
> (slot . 0))
> )
> )
>
> 3. split the window horizontally `C-x 3`
> 4. start a shell `M-x shell RET`
> 5. Run a async shell `M-x async-command-shell ls RET`
> 6. Run `M-x window-toggle-side-windows RET` the session stalls nothing works.
>
> - C-g does not help in this case.
> - C-x C-z does not help.
> - C-x C-c does not help.
>
>
> In GNU Emacs 27.2 (build 1, x86_64-apple-darwin18.7.0, NS appkit-1671.60 Version 10.14.6 (Build 18G95))
> of 2021-03-28 built on builder10-14.porkrind.org
> Windowing system distributor 'Apple', version 10.3.2022
> System Description: macOS 11.6
I can't try your recipe because `async-command-shell' isn't defined
here. When I try with
(setq debug-on-quit 1)
(setq display-buffer-alist
'(
("\\*Info\\*"
(display-buffer-reuse-window display-buffer-in-side-window)
(window-width . 0.40)
(side . right)
(slot . 0))
("\\*Help\\*"
(display-buffer-reuse-window display-buffer-in-side-window)
(window-height . 0.40)
(side . top)
(slot . 0))
)
)
everything works as expected so the problem seems that shell command
output wants to use the window used for ls, or vice-versa.
martin
next prev parent reply other threads:[~2021-10-04 18:22 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-10-04 13:36 bug#51007: 27.2; emacs hangs when using window-toggle-side-windows Indrajeet Khandekar
2021-10-04 18:22 ` martin rudalics [this message]
[not found] ` <01944062-1C37-4B9A-98B9-F79F29D3B8F4@taranawireless.com>
2021-10-05 8:09 ` martin rudalics
2021-10-05 10:53 ` Indrajeet Khandekar
2021-10-05 12:37 ` martin rudalics
[not found] ` <6D2FC628-BF92-4C35-8552-FBBEF0C7FDDC@taranawireless.com>
2021-10-09 18:57 ` martin rudalics
2021-10-10 6:20 ` Eli Zaretskii
2021-10-10 8:58 ` martin rudalics
2021-10-10 9:48 ` martin rudalics
2021-10-10 10:55 ` Eli Zaretskii
2021-10-10 12:31 ` martin rudalics
2021-10-10 13:09 ` Eli Zaretskii
2021-10-10 17:16 ` martin rudalics
2021-10-12 8:11 ` martin rudalics
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=bc96509a-26b9-98d2-aa84-d0ee864f6e69@gmx.at \
--to=rudalics@gmx.at \
--cc=51007@debbugs.gnu.org \
--cc=indrajeet.khandekar@taranawireless.com \
/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).