emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: how about a find-library-other-window command?


From: Drew Adams
Subject: RE: how about a find-library-other-window command?
Date: Tue, 19 Jun 2007 13:55:03 -0700

> Maybe we could try something as follows:
>
> - make <foo> use a new command like `switch-or-pop-to-buffer'
> which behavior
>   depends on a "config var".
> - add prefix keys such as C-x 4 which can force one of the two
> behaviors for
>   the next command (or maybe just one prefix key C-x 4 which toggles the
>   behavior of the next command).
> - make the "config var" sufficiently complex that it doesn't just choose
>   "always pop" or "always switch" but can choose different defaults for
>   different commands.  How to do that is up-in-the-air:
>   - Maybe switch-or-pop-to-buffer would look at this-command
> (yuck) and do as
>     assq search in a config alist based on that.
>   - Or switch-or-pop-to-buffer would take an additional argument
> to specify
>     the key to use an the alist search.
>   - It would probably be good to be able to specify not just different
>     behaviors depending on the command but also depending on the buffer in
>     which it is executed (e.g. "always use switch when done
> inside a *Help*
>     buffer").
> ...

This is all beginning to sound a bit complex. Perhaps worth exploring, but,
in the meantime, could we at least add `find-library-other-window'? ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]