From: Amos Bird <amosbird@gmail.com>
To: John Shahid <jvshahid@gmail.com>
Cc: help-gnu-emacs <help-gnu-emacs@gnu.org>
Subject: Re: Default value of recenter-redisplay
Date: Sun, 29 Apr 2018 22:47:10 +0800 [thread overview]
Message-ID: <87r2myax3l.fsf@gmail.com> (raw)
In-Reply-To: <87h8nuw1be.fsf@gmail.com>
Hi, I just encountered this today. Removing the (recenter) call
makes the issue
go away. Thanks!
John Shahid <jvshahid@gmail.com> writes:
> 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
--
Amos Bird
amosbird@gmail.com
next prev parent reply other threads:[~2018-04-29 14:47 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-29 14:10 Default value of recenter-redisplay John Shahid
2018-04-29 14:47 ` Amos Bird [this message]
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
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2myax3l.fsf@gmail.com \
--to=amosbird@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=jvshahid@gmail.com \
/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.
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).