From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: show-enclosing-scopes Date: Wed, 16 May 2018 11:03:26 +0300 Message-ID: <594F9BDF-F041-4B8D-8425-0BE2AABAA448@gnu.org> References: <5cb3e5a6-310f-1f2a-ceb8-01b929158ebb@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1526457709 10048 195.159.176.226 (16 May 2018 08:01:49 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 16 May 2018 08:01:49 +0000 (UTC) User-Agent: K-9 Mail for Android To: emacs-devel@gnu.org,Jefferson Carpenter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 10:01:45 2018 Return-path: Envelope-to: ged-emacs-devel@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 1fIrNV-0002Rw-Cn for ged-emacs-devel@m.gmane.org; Wed, 16 May 2018 10:01:41 +0200 Original-Received: from localhost ([::1]:33197 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIrPc-00026m-Eg for ged-emacs-devel@m.gmane.org; Wed, 16 May 2018 04:03:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57513) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIrPQ-00025J-Av for emacs-devel@gnu.org; Wed, 16 May 2018 04:03:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fIrPG-0007sa-SS for emacs-devel@gnu.org; Wed, 16 May 2018 04:03:40 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:48313) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fIrPG-0007sT-Pd; Wed, 16 May 2018 04:03:30 -0400 Original-Received: from [176.13.233.216] (port=16270 helo=[10.130.175.155]) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1fIrPF-0003c1-QV; Wed, 16 May 2018 04:03:30 -0400 In-Reply-To: <5cb3e5a6-310f-1f2a-ceb8-01b929158ebb@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:225328 Archived-At: On May 16, 2018 9:41:20 AM GMT+03:00, Jefferson Carpenter wrote: >=20 > Main problem is that it's very flickery -- not 100% sure why, but I'm=20 > pretty sure the (redisplay) are part of the reason=2E I had to add > those=20 > in order for (scroll-up) and (scroll-down) to interoperate properly > with=20 > (goto-char)=2E AFIU, you have there a function on pre-command-hook that deletes a window and then forces redisplay=2E So I'd say you get what you asked for? I don't think I understand why scroll commands rewuire that=2E