emacs-devel
[Top][All Lists]
Advanced

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

RE: [PATCH] open bookmark in other frame


From: Drew Adams
Subject: RE: [PATCH] open bookmark in other frame
Date: Thu, 11 Oct 2018 13:35:58 +0000 (UTC)

> > IOW, do the equivalent of this, or similar:
> >    (let ((pop-up-frames  t)) (bookmark-jump-other-window bookmark)
> 
> (I haven't studied `pop-up-frames' enough to know whether Drew's back-of-
> the-envelope solution above is the best way, but presumably a little more
> research would lead to the best way.)

Non-nil `pop-up-frames' just makes "other-window" commands
use "other-frame".

I wrote "the equivalent of this, or similar", because someone
will perhaps say that there is a more "modern" way to do the
same thing, involving a `display-buffer' ACTION or something.

I still keep things simple in my own code, partly for backward
compatibility. The above code DTRT, but someone might
prefer a different formulation that does the same thing, or
similar.



reply via email to

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