Comments (8)
Does eye browse have hooks? If so, it's just a matter of adding beacon-blink to something like eye-browse-after-change-configuration-hook.
If it doesn't have a hook like that then you can still use an advice.
from beacon.
I added in:
(add-hook 'eyebrowse-post-window-switch-hook (lambda () (interactive) (beacon-blink)))
but it doesn't seem to work. Is this the correct use of beacon-blink
. Maybe some issue with the hook though.
from beacon.
Just doing (add-hook 'eyebrowse-post-window-switch-hook #'beacon-blink)
should be enough.
If that doesn't work, it might be because eyebrowse still does some form of window/buffer management after running the hook. There are a few events that will cause beacon to abort blinking (such as changing buffer or window).
from beacon.
Yeah, I am not sure what is happening but that doesn't work. Even defining a function then calling (beacon-blink)
doesn't work. Like shown below for example but beacon-blink still doesn't run:
(defun eyebrowse-switch-to-window-config-22 ()
"Switch to window configuration 22."
(interactive)
(eyebrowse-switch-to-window-config 22)
(beacon-blink))
from beacon.
What happens if you run the following code
(defun test-blinking ()
(interactive)
(display-buffer (car (last (buffer-list))))
(beacon-blink))
and then call M-x test-blinking
?
from beacon.
Yeah, that works fine! All the other functions of beacon-blink seem to work fine as well. Like on emacs gaining focus, etc...
from beacon.
I guess it's something specific to how (eyebrowse-switch-to-window-config 22)
works then. It's hard to figure out without digging deep into the package code.
from beacon.
No worries, just thought if it was possible that would be great.
from beacon.
Related Issues (20)
- high CPU usage HOT 6
- document why some modes are disabled from using beacon HOT 1
- Feature request: highlight other window
- Mouse click, animation acts weird.
- Beacon does not work after starting Emacs => *scratch* HOT 2
- Request: whitelist mode
- Beacon won't blink when moving vertically via universal arg
- Termux fades to white even though background is black.
- Feature request: option to set beacon color to cursor color. HOT 1
- Feature request: option to show on horizontal scroll
- Please upgrade version in GNU ELPA
- beacon blinking constantly in scratch buffer (and some other buffers) HOT 2
- Beacon does not show correctly on collapsed header in outline mode
- `post-command-hook` error reported with Emacs 27.1 HOT 2
- [Bug] Beacon shine only at the first window, not others (Emacs 27.1)
- Beacon mode does not work with evil mode page up and down HOT 4
- Warning and backwards compatibility HOT 2
- Error (use-package): beacon/:config: Symbol’s value as variable is void: after-focus-change-function HOT 4
- [Newbie question]How to run beacon-blink on thing-at-point 'sentence
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 beacon.