From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.help Subject: Re: Default value of recenter-redisplay Date: Sun, 29 Apr 2018 22:47:10 +0800 Message-ID: <87r2myax3l.fsf@gmail.com> References: <87h8nuw1be.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1525013158 24765 195.159.176.226 (29 Apr 2018 14:45:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Apr 2018 14:45:58 +0000 (UTC) User-Agent: mu4e 1.0-alpha3; emacs 27.0.50 Cc: help-gnu-emacs To: John Shahid Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 29 16:45:53 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fCnaL-0006MG-9S for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2018 16:45:53 +0200 Original-Received: from localhost ([::1]:55810 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCncS-00064Y-4R for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Apr 2018 10:48:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45418) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCnbl-00062W-CZ for help-gnu-emacs@gnu.org; Sun, 29 Apr 2018 10:47:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCnbi-0003xW-Ak for help-gnu-emacs@gnu.org; Sun, 29 Apr 2018 10:47:21 -0400 Original-Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]:37428) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fCnbi-0003x3-4g for help-gnu-emacs@gnu.org; Sun, 29 Apr 2018 10:47:18 -0400 Original-Received: by mail-pf0-x229.google.com with SMTP id e9so870605pfi.4 for ; Sun, 29 Apr 2018 07:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=MasAAtVrfGmKcXejFFHpL1ovBKKVXxKGMqx+lemAf2U=; b=Li1vssppmhRZwJRAlcNrp8Vd5AO9WIhGZ0QtmXSCNpwm4+DWK2T1aT5SI8GAEEbZ37 XQ+TY3fRDY/RjkIMqzxW9GMPpNZ0b4aj6n6OWtLHxnWTTwT6V/iLM+c2lGF2mElb8Svs AAlltE5fQOM8m3yA7raTs6fXt0+hFkfTIXpBogfnpHaS2TqqroxKV3OnqOr+S/eJSesM /XlD0KfXhiC3JgTa4H1G+z3mxOAQ6g7EPcHVgsbhBP5NnySzuobuzMEtfUkIDBkq5eUJ 0w39ZNxFhkHnsSllWCu2AAjZ90mJpJ6ntRm5TWxLxk5/8UymdRCgk3bTCrL3U72x6v73 aupg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=MasAAtVrfGmKcXejFFHpL1ovBKKVXxKGMqx+lemAf2U=; b=NBW+N8/mUG7aIetdUDlUquOo7/imO10Fe67zmEaft2Zo+W6A8RGLXZvGQ6V3A8ilbF LtdPrE2RaDK2NefgV5h1lRoCRP4Qjy24dG1Uo+1JSr6uGFlwQXb7PE7lyCAexKzOH0at SBbk21ToBFGPsXWKht2toEOZos0HeKlYe2tocxrD8WQOWI6JbEKrhGX4JtxLGhuiHOtD AD057dH663GWdFsLH8awHYh04iLoVtlSA2mfplA2sLix7UKBBnrxHjhm3jINIWwp2Gf3 BWWWg7LczWJf03qUtJdzkZJFvVk4PtIz2Q38ImDZxckeOQSeYjT1tjvKmw5U3akqHiNf mJYA== X-Gm-Message-State: ALQs6tAmoFcgOxzlbMb2/p/eIgAyoNpAv2OBFwAjqFhqk54yK7HanFSM Jw6uS+mwaAF5cpholpcaEeoZ3g== X-Google-Smtp-Source: AB8JxZrYfhk/9XwgdWOjAwFLlFVfIkLion4AR9S9B5sZgAviCq3CHUDm8l7BuN0k7KALBF8U1hJHsg== X-Received: by 2002:a17:902:b492:: with SMTP id y18-v6mr9333198plr.2.1525013236820; Sun, 29 Apr 2018 07:47:16 -0700 (PDT) Original-Received: from localhost ([168.235.105.19]) by smtp.gmail.com with ESMTPSA id 17sm13077273pfo.4.2018.04.29.07.47.14 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Apr 2018 07:47:15 -0700 (PDT) In-reply-to: <87h8nuw1be.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c00::229 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:116628 Archived-At: Hi, I just encountered this today. Removing the (recenter) call makes the issue go away. Thanks! John Shahid 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