From: Juri Linkov <juri@linkov.net>
To: Glenn Morris <rgm@gnu.org>
Cc: Javier Olaechea <pirata@gmail.com>, 41691@debbugs.gnu.org
Subject: bug#41691: [PATCH] Add bookmark-jump-other-tab
Date: Thu, 04 Jun 2020 02:00:32 +0300 [thread overview]
Message-ID: <87bllzvjov.fsf@mail.linkov.net> (raw)
In-Reply-To: <fc4krs5au6.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 03 Jun 2020 13:16:17 -0400")
> Personally I hope that every "-other-window" command doesn't get an
> "-other-tab" counterpart (to go along with "-other-frame"), but rather
> that a single systematic method is developed, like the elpa.gnu.org
> package other-frame-window. Ref eg
>
> https://lists.gnu.org/r/emacs-devel/2019-10/msg00261.html
>
> (AFAICS nothing has been implemented)
Actually, this is already implemented, but without an obvious keybinding.
This small patch binds a general command to 'C-x t t' (or maybe a better
key would be 'C-x t w').
Then after typing 'C-x t t' as a prefix key sequence,
the next command will display its buffer in a new tab:
diff --git a/lisp/tab-bar.el b/lisp/tab-bar.el
index 76e7f8c33a..529f5e5e4b 100644
--- a/lisp/tab-bar.el
+++ b/lisp/tab-bar.el
@@ -1585,6 +1585,7 @@ tab-prefix-map
(define-key tab-prefix-map "b" 'switch-to-buffer-other-tab)
(define-key tab-prefix-map "f" 'find-file-other-tab)
(define-key tab-prefix-map "\C-f" 'find-file-other-tab)
+(define-key tab-prefix-map "t" 'windmove-display-new-tab)
\f
(provide 'tab-bar)
next prev parent reply other threads:[~2020-06-03 23:00 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-03 16:39 bug#41691: [PATCH] Add bookmark-jump-other-tab Javier Olaechea
2020-06-03 17:16 ` Glenn Morris
2020-06-03 23:00 ` Juri Linkov [this message]
2020-06-04 23:34 ` Juri Linkov
2020-06-06 23:42 ` Juri Linkov
2020-06-07 1:40 ` Javier Olaechea
2020-06-10 21:50 ` Juri Linkov
2020-06-21 23:18 ` Juri Linkov
2020-06-22 15:06 ` Eli Zaretskii
2020-06-28 22:00 ` Juri Linkov
2020-06-29 14:35 ` Eli Zaretskii
2020-06-29 22:52 ` Juri Linkov
2020-06-30 21:30 ` Juri Linkov
2020-07-01 14:34 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87bllzvjov.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=41691@debbugs.gnu.org \
--cc=pirata@gmail.com \
--cc=rgm@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.