Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: center the clock #2

Open
Jousimies opened this issue Oct 1, 2021 · 4 comments
Open

feature request: center the clock #2

Jousimies opened this issue Oct 1, 2021 · 4 comments

Comments

@Jousimies
Copy link

after M-x svg-analog-clock, the clock align to the left of the screen, can it locate in the center of screen?

and beside the clock, there is a huge cursor is twinkling, can it been hided?

@RaminHAL9001
Copy link
Owner

RaminHAL9001 commented Oct 1, 2021

Hi, thanks for trying out my code!

can it locate in the center of screen?

I will work on this, it seems to be a good idea, and I believe this is a change I can make without too much trouble.

and beside the clock, there is a huge cursor is twinkling, can it been hided?

As for the blinking cursor, this should already be hidden. Please observe 220-231, I have already written the line of code which should disable the blinking cursor:

(setq-local cursor-type nil)

I have tested it on Linux with Emacs version 27.1 and the cursor is indeed disabled. It is possible your operating system or your version of Emacs does not allow the cursor to be disabled?

@Jousimies
Copy link
Author

ok, I will try it tomorrow.
This can be used as screen saver when emacs idle.

@RaminHAL9001
Copy link
Owner

@Jousimies also if you please, let me know your Emacs version (output of M-x emacs-version) and which operating system you use.

@Jousimies
Copy link
Author

@RaminHAL9001 sorry for late, My emacs version is GNU Emacs 27.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.27, cairo version 1.17.4).

The cursor blinking is related to my config, I checked with emacs -Q. I will check and try to fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants