unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Add -other-{window,frame} variants of project-prefix-map commands
@ 2020-07-04  0:54 Sean Whitton
  2020-07-04  5:34 ` Add -other-{window, frame} " Stephen Leake
  0 siblings, 1 reply; 13+ messages in thread
From: Sean Whitton @ 2020-07-04  0:54 UTC (permalink / raw)
  To: Juri Linkov, emacs-devel

Hello,

It seems like it would be a good idea to have

C-x 4 p f
be like
C-x 4 4 C-x p f

C-x 5 p e
be like
C-x 5 5 C-x p e

etc., since many of the commands in project-prefix-map involve switching
to another buffer.  Certainly project-switch-project, project-find-file
and project-switch-to-buffer would be wanted.

Rather than add definitions of project-find-file-other-window,
project-eshell-other-frame etc., maybe
`display-buffer-override-next-command' could be used so that pressing
C-x 4 p really is just like pressing C-x 4 4 C-x p.

The only disadvantage I can see is that commands like C-x 4 p k would
also be bound and those don't really make sense.

What would be the cleanest way to try to do this?

Thanks.

-- 
Sean Whitton



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2020-07-09 23:58 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-04  0:54 Add -other-{window,frame} variants of project-prefix-map commands Sean Whitton
2020-07-04  5:34 ` Add -other-{window, frame} " Stephen Leake
2020-07-04 23:24   ` Sean Whitton
2020-07-06  0:58     ` Stephen Leake
2020-07-06  0:23   ` Juri Linkov
2020-07-06  3:31     ` Stefan Monnier
2020-07-06 22:57       ` Juri Linkov
2020-07-06 23:27         ` Drew Adams
2020-07-06 23:35         ` Stefan Monnier
2020-07-07 23:52           ` Juri Linkov
2020-07-08  4:06             ` Stefan Monnier
2020-07-09  0:24               ` Juri Linkov
2020-07-09 23:58                 ` Juri Linkov

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).