unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Default value of recenter-redisplay
@ 2018-04-29 14:10 John Shahid
  2018-04-29 14:47 ` Amos Bird
                   ` (3 more replies)
  0 siblings, 4 replies; 12+ messages in thread
From: John Shahid @ 2018-04-29 14:10 UTC (permalink / raw)
  To: help-gnu-emacs

Hi all,

Today I decided to tackle a flicker issue that happens when the flycheck
error list is displayed for the current buffer(i.e. by calling
`flycheck-list-errors' interactively). It turns out the flickering is
caused by a call to recenter[1] that happens inside a flycheck
post-command-hook[2]. Setting `recenter-redisplay' to nil fixes the
issue.


I'm wondering why the default value of the variable is set to `tty' ?
Also, is it safe to set the variable to `nil' ? If it is safe, can we
change the default value to `nil' in order to have a better terminal
experience ?

p.s. I'm using emacs version 27.0.50, although I don't think that will
make a difference given that the value of the variable hasn't changed in
a while.

thanks,

-js

[1]: https://github.com/flycheck/flycheck/blob/master/flycheck.el#L4208
[2]: https://github.com/flycheck/flycheck/blob/master/flycheck.el#L4360



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2018-05-01  1:18 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-29 14:10 Default value of recenter-redisplay John Shahid
2018-04-29 14:47 ` Amos Bird
2018-04-29 15:02 ` Göktuğ Kayaalp
2018-04-29 15:18 ` Eli Zaretskii
2018-04-29 17:07   ` Bob Proulx
2018-04-29 17:29     ` tomas
2018-04-29 19:50       ` Drew Adams
2018-04-29 17:36     ` Drew Adams
2018-04-29 17:46 ` Eli Zaretskii
2018-04-29 22:11   ` John Shahid
2018-04-30 12:38     ` Stefan Monnier
2018-05-01  1:18       ` unknown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).