emacs-devel
[Top][All Lists]
Advanced

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

RE: [External] : Re: A feature to go to last edit locations


From: Drew Adams
Subject: RE: [External] : Re: A feature to go to last edit locations
Date: Mon, 13 Feb 2023 21:17:39 +0000

> With C-x r f <KEY> there’s something even more powerful: save the full
> frame configuration to a register (for example before starting a hunt
> towards some reference or investigating something in depth).
> 
> Then use C-x r j <KEY> to restore the precise frame configuration with
> buffers and buffer locations.
> 
> If you pair that with exwm, it provides you precise snapshots of desktop
> configurations.

Oh, you want not only to go to some position in some buffer.  You also want to 
restore a desktop?  Sure, no problem.

With Bookmark+ you can also _bookmark a desktop_ by hitting a key.  Have as 
many such bookmarks as you like.

That doesn't, alone, return you to any particular position.

But there are also "sequence bookmarks", which just invoke any number of 
bookmarks in sequence.  It's trivial to define a command that creates a 
sequence bookmark that specifically: (1) creates a desktop bookmark and (2) 
bookmarks the current position.

And it's trivial to define a command that jumps to such a sequence bookmark.  

[That already exists in a general way, in that you can use command 
`bmkp-jumpt-to-type' and choose `sequence' at the completion prompt, to have 
only sequence bookmarks as candidates.  And it's also trivial to define a 
command that jumps to only a bookmark of the new kind (restore a desktop and go 
to a location).]

reply via email to

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