From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Antoine Levitt Newsgroups: gmane.emacs.bugs Subject: bug#8355: 24.0.50; Boxes in mode-line and scrolling Date: Tue, 08 Dec 2020 16:56:50 +0100 Message-ID: <87v9dcqojh.fsf@inria.fr> References: <87k4fkr896.fsf@gmail.com> <871rg0ibj2.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30730"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 0.9.17; emacs 27.1 Cc: 8355@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 08 16:59:51 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kmfP5-0007t1-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 16:59:51 +0100 Original-Received: from localhost ([::1]:36522 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kmfP4-00080l-BU for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Dec 2020 10:59:50 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kmfNK-0006hu-Nf for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 10:58:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47741) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kmfNK-0006SN-Dh for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 10:58:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kmfNK-0005PS-Cl for bug-gnu-emacs@gnu.org; Tue, 08 Dec 2020 10:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Antoine Levitt Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Dec 2020 15:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8355 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 8355-submit@debbugs.gnu.org id=B8355.160744302320716 (code B ref 8355); Tue, 08 Dec 2020 15:58:02 +0000 Original-Received: (at 8355) by debbugs.gnu.org; 8 Dec 2020 15:57:03 +0000 Original-Received: from localhost ([127.0.0.1]:59287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmfMM-0005O4-SJ for submit@debbugs.gnu.org; Tue, 08 Dec 2020 10:57:03 -0500 Original-Received: from mail-wr1-f54.google.com ([209.85.221.54]:42198) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kmfMJ-0005N5-82 for 8355@debbugs.gnu.org; Tue, 08 Dec 2020 10:56:59 -0500 Original-Received: by mail-wr1-f54.google.com with SMTP id m5so7113098wrx.9 for <8355@debbugs.gnu.org>; Tue, 08 Dec 2020 07:56:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:in-reply-to:from:to:cc:subject:date :message-id:mime-version; bh=YVbi/p6yuKFkFaD/ckxNS9djQxgd0uduDlLRtbARno4=; b=bQilEnIwkCzBOkFUQn3QcJh6p88ebbLCXVm7Iv9h8KssHsGZ4ne6G3ejKKPAbtc1Nu POwHs4FnR5TXLZYBaH+jZvXc7KSCrnGEG9PBvaNvduMw3a/F32Y7dfI0C43uFIRi0weA Xr6g5IIOWvhoUikdAXDumte1S2r0bkNjviUQ4AV7LWnnt8OIwpQhV89o3ue1cdC4Ulh4 D8t9SGgl+VG2Z1MDgiL/zySBn2N2Mt3zAYYJ/dWRts+2LU1K0FSxV80fwNvDElB9ZSwm ChEWbAx/uxRKeqo656TPMHR+UvLfKcBfi3X3ZgiAzbz3Jhzg5IZqm7Fxl2JpyXmpO0pk smqQ== 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:in-reply-to:from:to:cc :subject:date:message-id:mime-version; bh=YVbi/p6yuKFkFaD/ckxNS9djQxgd0uduDlLRtbARno4=; b=r3jD5YXE5+Wgz6ujkreshDsknejDn7bCpsSlgRk3XFnGyrZSW7VGtx5jRkzmF8IL4m gTFPn0mgmuOTnFo4qdu9ZIaBDHdoFX0qxtOx7Gko4bE+l0o/dMvun5sExtYDTpj0kau4 3JKydr1qpsB9eJv3PN7t/8y96hg7oWJDMcyn90XuV52JVRRzvfx8cXmYb6lX2oW2BZwH m9P7wyDoMzExyplo72E06Evd9RVfBQZdplLqo3pbtfPkzfgnXCpoyYsF2m6BUWQck7n0 F7xwG5pGWyqJwI5FNOGwV5j+Qkr6SXL/lYbYw/wXu7jYZIJ/wBMdVjUn7bwXTIz/Geoe PpgA== X-Gm-Message-State: AOAM530SoWum7gfn1L+WWgnG1JGvK4Db4LdEzBce4WTsZeIT4BRXaLma 4ZXYVtg6E6hp/MceOGQ+r7HY3CSJ5Lk= X-Google-Smtp-Source: ABdhPJzS658lrsk8ArWnrZpNwx7toBaf6i6pGBgpeiRyGF1TW45VHPAcg7f02F+a+FKnmmP9YRMQeQ== X-Received: by 2002:adf:a441:: with SMTP id e1mr13653868wra.385.1607443013038; Tue, 08 Dec 2020 07:56:53 -0800 (PST) Original-Received: from epsilon (58.32.23.109.rev.sfr.net. [109.23.32.58]) by smtp.gmail.com with ESMTPSA id d187sm4236996wmd.8.2020.12.08.07.56.51 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 08 Dec 2020 07:56:52 -0800 (PST) In-reply-to: <871rg0ibj2.fsf@gnus.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:195374 Archived-At: Oof that's old. The original bug might have been at least partially closed, I now don't see this as much as I used to in code buffers (but it might equally have been a change in my config). However I do see this *a lot* in tex files, reproductibly, and it's still very annoying. I'd love it if this was fixed! Here's a reproducer from emacs -Q (just reproduced on 27.1): Set (setq scroll-conservatively 100000000) (setq scroll-preserve-screen-position 'stay) Open a latex file of some complexity (with sections and math, for instance https://arxiv.org/e-print/2003.00726, but it works on any tex file), and make sure it's in latex-mode. Go somewhere in the middle of the file, center point (C-l), then scroll up then down (C-v and M-v). I traced it down to lines of varying heights: it disappears if I set (setq font-latex-fontify-script nil) (setq font-latex-fontify-sectioning 'color) Best, Antoine 08 December 2020 16:05 +01, Lars Ingebrigtsen: > Antoine Levitt writes: > >> There seems to be a conflict between scrolling and the box attribute in >> mode-line. I have in my config a ":box t" attribute in mode-line (from >> the theme I use, zenburn.el). With this setting on, C-v M-v produces a >> net displacement of one line up, which is annoying. This seems to be >> irrespective of settings such as scroll-conservatively or >> scroll-preserve-screen-position. >> >> I'm not 100% sure how to reproduce this, as I use the color-theme >> package to set the parameter. Any way to set the mode-line :box >> attribute to "t" will trigger it. Then, find a sufficiently large file, >> and do C-v M-v. > > (This bug report unfortunately got no response at the time.) > > Are you still seeing this in more recent versions of Emacs? If so, > could you try to come up with a step-by-step recipe to reproduce it, > starting from "emacs -Q"?