From: Tassilo Horn <tsdh@gnu.org>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 20285@debbugs.gnu.org
Subject: bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking
Date: Fri, 10 Apr 2015 09:46:46 +0200 [thread overview]
Message-ID: <87wq1kmnmh.fsf@gnu.org> (raw)
In-Reply-To: <83zj6he14h.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 09 Apr 2015 19:07:42 +0300")
Eli Zaretskii <eliz@gnu.org> writes:
>> > Sometimes it occurs to me that `blink-cursor-mode' stops blinking the
>> > cursor for some time. That temporary stop might also occur in the
>> > off-phase so that there's no visible cursor anymore. As soon as I press
>> > some key, the blinking starts again. But just now in some specific
>> > buffer, it'll blink twice and then disappear until I press a key again.
>>
>> It generally means that some other time, probably an idle time, takes
>> more than 0.5 sec to do its job. ^^^^ ^^^^
>
> Sorry, "timer".
>
>> Look at your other times, and find the one which takes too much time
>> for doing its job. ^^^^^
>
> "timers"
Yes, got that. There are quite a few timers in `timer-list' and
`timer-idle-list'.
,----[ C-h v timer-idle-list RET ]
| timer-idle-list is a variable defined in `C source code'.
| Its value is shown below.
|
| Documentation:
| List of active idle-time timers in order of increasing time.
|
| Value: ([t 0 0 125000 t show-paren-function nil idle 0]
| [t 0 0 500000 t jit-lock-context-fontify nil idle 0]
| [t 0 0 500000 t
| #[0 "\b\204 \205\n\303>?\205\304 \207"
| [eldoc-mode global-eldoc-mode eldoc-documentation-function
| (nil ignore)
| eldoc-print-current-symbol-info]
| 2]
| nil idle 0]
| [t 0 0 500000 t highlight-symbol-temp-highlight nil idle 0]
| [t 0 0 500000 0.5 blink-cursor-start nil idle 0]
| [nil 0 1 199999 t reftex-view-crossref-when-idle nil idle 999999]
| [nil 0 2 0 t adict-guess-dictionary-maybe
| (#<buffer diss.tex>)
| idle 0])
`----
Is it documented somewhere what the individual entries of these vectors
mean? The fifth entry seems to be the SECS or REPEAT argument given to
`run-with-{,idle-}timer', the sixth entry is the function to run, and
the seventh is the function's args, but what are the other entries?
But anyway, I think even when there's some timer that takes too long,
the cursor should never disappear completely. So maybe a redisplay
should be forced whenever the cursor is set to visible again and there
has been a redisplay when the cursor has been invisible. That would
ensure that if blinking stops due to a timer or processing of input, at
least it stops in the visible state at the cost of at most one redisplay
which hadn't happened otherwise.
Bye,
Tassilo
next prev parent reply other threads:[~2015-04-10 7:46 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-09 14:50 bug#20285: 25.0.50; blink-cursor-mode sometimes stops blinking Tassilo Horn
2015-04-09 15:06 ` Eli Zaretskii
2015-04-09 16:07 ` Eli Zaretskii
2015-04-10 7:46 ` Tassilo Horn [this message]
2015-04-10 7:58 ` Eli Zaretskii
2015-04-10 9:28 ` Tassilo Horn
2015-04-10 12:42 ` Eli Zaretskii
2015-04-10 13:13 ` Tassilo Horn
2015-04-10 13:28 ` Eli Zaretskii
2015-04-10 13:32 ` Eli Zaretskii
2015-04-10 14:13 ` Tassilo Horn
2015-04-10 17:32 ` Eli Zaretskii
2015-04-10 20:52 ` Tassilo Horn
2015-04-11 6:25 ` Eli Zaretskii
2015-04-10 18:24 ` Stefan Monnier
2015-04-10 18:42 ` Eli Zaretskii
2015-04-10 20:21 ` Tassilo Horn
2015-04-10 21:50 ` Stefan Monnier
2015-04-11 5:54 ` Tassilo Horn
2015-04-11 7:34 ` Eli Zaretskii
2015-04-11 11:34 ` Eli Zaretskii
2015-04-11 11:49 ` Tassilo Horn
2015-04-11 12:39 ` Tassilo Horn
2015-04-11 14:45 ` Eli Zaretskii
2015-04-11 19:24 ` Tassilo Horn
2015-04-11 19:45 ` Eli Zaretskii
2015-04-11 20:17 ` Tassilo Horn
2015-04-11 14:02 ` Stefan Monnier
2015-04-11 14:30 ` Tassilo Horn
2015-04-11 14:48 ` Eli Zaretskii
2015-04-11 15:14 ` Eli Zaretskii
2015-04-12 4:05 ` Stefan Monnier
2015-04-11 6:30 ` Eli Zaretskii
2022-04-28 10:50 ` Lars Ingebrigtsen
2022-04-28 11:48 ` Tassilo Horn
2022-04-28 11:51 ` Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87wq1kmnmh.fsf@gnu.org \
--to=tsdh@gnu.org \
--cc=20285@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.