Comments (12)
No, that shouldn't happen. Do you think you can narrow down the situation where it's happening?
from beacon.
It happens all the time, only sometimes not. I have recorded it so you can better see what I mean. The following is a video file, Github supports only image files so I uploaded it as a png.
I'm on Emacs 24.5.1.
from beacon.
I see. That might be a redisplay bug. =/
Could you try the followiung?
- start Emacs with
emacs -Q
, - load the
seq.el
file - load the
beacon.el
file - Try to reproduce this again.
Does it happen?
from beacon.
Yes, it still happens. I'm on Linux. I don't know much about Emacs internals and don't know what redisplay bug means. If you have ideas how I could investigate further let me know, thanks for the help.
from beacon.
Redisplay is basically when Emacs draws the screen.
Here's one more thing to try. Evaluate the following code:
(defun redisplay-command ()
(interactive)
(redisplay))
(global-set-key [f6] #'redisplay-command)
This makes it so that F6
triggers a redisplay. Ideally, this should have no visual effect.
Hit F6
a few times while paying attention to the cursor. Try to see if the cursor flickers at any moment.
from beacon.
Just tried it, the cursor is not flickering on redisplay.
from beacon.
Ok, one more thing to try.
- Disable
beacon-mode
- Hit
M-:
and type(beacon--shine)
, this will leave a permanent beacon at point. - Without moving the cursor, hit
F6
several times and see if the cursor flickers.
from beacon.
No it does not flicker in this case. I already get used to the flickering ,maybe I should consider it a feature ;)
from beacon.
from beacon.
Thanks, indeed with a value of 0.8 for beacon-blink-duration the problem disappears.
Do you have an idea why my redisplay is to slow? Seems to work for others. I thought maybe it is something with evil mode and using different cursor styles but the problem occurs when I disable evil-mode, as well.
from beacon.
It could be that redisplay is doing too much work, but there could be many different causes for that.
Try turning on the profiler with M-x profiler-start. Then evaluate (dotimes (i 50) (redisplay)) in the scratch buffer, and finally do M-x profiler-report.
from beacon.
Thanks I didn't knew about that! Very useful, although I can not find the cause. Will report it here if I find it.
from beacon.
Related Issues (20)
- Feature request: highlight other window
- Getting beacon to work when switching window configuration with eye-browse package HOT 8
- 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
- Is ther a way to achieve neovide-like cursor move animation in Emacs? HOT 2
- Emacs 26: Symbol's value as variable is void: after-focus-change-function 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 beacon.