From: Juri Linkov <juri@linkov.net>
To: martin rudalics <rudalics@gmx.at>
Cc: 53662@debbugs.gnu.org, Aaron Jensen <aaronjensen@gmail.com>
Subject: bug#53662: 29.0.50; Cannot use tab-new from side window
Date: Mon, 31 Jan 2022 20:15:29 +0200 [thread overview]
Message-ID: <86h79jlqke.fsf@mail.linkov.net> (raw)
In-Reply-To: <m21r0oq65l.fsf@gmail.com> (Aaron Jensen's message of "Mon, 31 Jan 2022 10:25:10 -0500")
> If you attempt to tab-bar-new-tab while in a side window you get:
>
> split-window: Cannot split side window or parent of side window
>
> It also deletes other windows and leaves you in a very awkward
> side-window-only state.
>
> To repro:
>
> emacs -Q
> M-x tab-bar-mode
> M-: (display-buffer-in-side-window (get-buffer "*Messages*") '((side . bottom)))
> C-x o
> M-x tab-new
Thanks for the bug report.
Martin, could you suggest how to ignore window-sideness
while splitting the side window? 'tab-bar-new-tab-to'
currently uses such trick to create a new window:
(let ((ignore-window-parameters t))
(delete-other-windows))
(unless (eq tab-bar-new-tab-choice 'window)
;; Create a new window to get rid of old window parameters
;; (e.g. prev/next buffers) of old window.
(split-window) (delete-window))
but this fails in side windows.
next prev parent reply other threads:[~2022-01-31 18:15 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-31 15:25 bug#53662: 29.0.50; Cannot use tab-new from side window Aaron Jensen
2022-01-31 18:15 ` Juri Linkov [this message]
2022-02-01 8:09 ` martin rudalics
2022-02-01 19:31 ` Juri Linkov
2022-02-02 7:47 ` martin rudalics
2022-02-02 19:37 ` Juri Linkov
2022-02-06 17:55 ` Juri Linkov
2022-02-06 19:03 ` Aaron Jensen
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=86h79jlqke.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=53662@debbugs.gnu.org \
--cc=aaronjensen@gmail.com \
--cc=rudalics@gmx.at \
/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).