Comments (2)
Not currently possible, but if you can make symbol-overlay-keywords-alist
persist somehow, then that should do the trick. I'm not aware of any packages for persisting buffer-specific variables over time, but I imagine such a thing exists.
from symbol-overlay.
Built-in desktop
provides functions to save and restore sessions. It has a desktop-locals-to-save
list.
Do something like this to restore the overlays when loading a session:
(defun desktop-after-read-restore-symbol-overlay ()
(require 'symbol-overlay)
(run-with-idle-timer
0 nil
(lambda ()
(dolist (buf (buffer-list))
(with-current-buffer buf (symbol-overlay-after-revert))))))
(eval-after-load "desktop"
(progn (add-to-list 'desktop-locals-to-save 'symbol-overlay-keywords-alist)
(add-hook 'desktop-after-read-hook #'desktop-after-read-restore-symbol-overlay)))
from symbol-overlay.
Related Issues (20)
- Is it possible to use more than 8 colors? HOT 7
- Overlay on selection HOT 4
- symbol-overlay-rename not works in wgrep buffer
- Activating overlays in a transient manner HOT 3
- Support follow-mode with symbol-overlay-mode
- A symbol-overlay-jump-avy function for the symbol-overlay-map HOT 7
- Tag a new release HOT 1
- Support not putting boundaries on match HOT 2
- Support other search tools, like `swiper-isearch-thing-at-point` HOT 3
- void-variable clojure-font-lock-extra-keywords HOT 7
- Symbol-overlay conflicts with haskell-mode HOT 4
- Request: Add case insensitive
- `symbol-overlay-list-all`
- Overlay conflicts with eglot HOT 4
- Adding package to NonGNU ELPA HOT 2
- Evil implementation? HOT 1
- 11749c3 breaks things HOT 6
- Cannot be used with yasnippet
- SO didn't recognize sharp quote(function quote), is this made by design or a bug?
- Jumping to next symbol (switch-forward) skips to last on screen HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from symbol-overlay.