From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: Phil Sainty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2013 12:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 14598@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13710388042852 (code B ref -1); Wed, 12 Jun 2013 12:07:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Jun 2013 12:06:44 +0000 Received: from localhost ([127.0.0.1]:58343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umjp2-0000js-8C for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42756) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umjow-0000jb-QA for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umjol-0007SC-Lq for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjol-0007S8-Ia for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjoh-0005Hn-Lh for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umjob-0007Om-Gt for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:19 -0400 Received: from nctlincom02.orcon.net.nz ([60.234.4.76]:57979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjoa-0007JC-SG for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:13 -0400 Received: from mx1.orcon.net.nz (mx1.orcon.net.nz [219.88.242.51]) by nctlincom02.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5CC5rOR018859 for ; Thu, 13 Jun 2013 00:05:53 +1200 Received: from Debian-exim by mx1.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1UmjoH-0004ey-CK for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 00:05:53 +1200 Received: from [121.99.82.137] (helo=[10.1.1.3]) by mx1.orcon.net.nz with esmtpa (Exim 4.69) (envelope-from ) id 1UmjoH-0004en-6p for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 00:05:53 +1200 Message-ID: <51B8641C.9060507@orcon.net.nz> Date: Thu, 13 Jun 2013 00:05:48 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Check: by mx1.orcon.net.nz on Thu, 13 Jun 2013 00:05:53 +1200 X-DSPAM-Result: Spam X-DSPAM-Processed: Thu Jun 13 00:05:53 2013 X-DSPAM-Confidence: 0.5045 X-DSPAM-Probability: 0.9833 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, default) X-CanIt-Geo: ip=121.99.82.137; country=NZ; region=E7; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 05JLo5RVw - 811815f34cc6 - 20130613 X-Scanned-By: CanIt (www . roaringpenguin . com) on 172.16.100.175 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) With global-hl-line-mode enabled (but not local hl-line-mode, which is implemented differently) and with a smaller font via text-scale-adjust, scrolling off the bottom of the window with next-line gets incredibly glitchy. Recipe: * emacs -Q * Visit a file or add text with more lines than the current window * M-x global-hl-line-mode * C-x C-- * Hold down C-n In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-14 on chindi10, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.04.2 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_NZ.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: text-scale-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-x r e p o r t Recent messages: Auto-saving... runs the command next-line uncompressing simple.el.gz...done Note: file is write protected Mark set Mark saved where search started Type C-x 1 to delete the help window. runs the command next-line Auto-saving... Use +,-,0 for further adjustment Load-path shadows: None found. Features: (help-fns misearch multi-isearch jka-compr find-func shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils face-remap cus-start cus-load hl-line js byte-opt bytecomp byte-compile cconv json imenu thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sh-script smie executable dired help-mode easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jun 2013 17:28:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Phil Sainty Cc: 14598@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137105808232078 (code B ref 14598); Wed, 12 Jun 2013 17:28:03 +0000 Received: (at 14598) by debbugs.gnu.org; 12 Jun 2013 17:28:02 +0000 Received: from localhost ([127.0.0.1]:59182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umoq2-0008LE-0C for submit@debbugs.gnu.org; Wed, 12 Jun 2013 13:28:02 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:57893) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umopz-0008Kt-7G for 14598@debbugs.gnu.org; Wed, 12 Jun 2013 13:28:00 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MOA00F00J5QYA00@a-mtaout22.012.net.il> for 14598@debbugs.gnu.org; Wed, 12 Jun 2013 20:27:50 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOA00FQ7J6EY000@a-mtaout22.012.net.il>; Wed, 12 Jun 2013 20:27:50 +0300 (IDT) Date: Wed, 12 Jun 2013 20:27:57 +0300 From: Eli Zaretskii In-reply-to: <51B8641C.9060507@orcon.net.nz> X-012-Sender: halo1@inter.net.il Message-id: <83bo7bkzmq.fsf@gnu.org> References: <51B8641C.9060507@orcon.net.nz> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Thu, 13 Jun 2013 00:05:48 +1200 > From: Phil Sainty > > With global-hl-line-mode enabled (but not local hl-line-mode, > which is implemented differently) and with a smaller font via > text-scale-adjust, scrolling off the bottom of the window with > next-line gets incredibly glitchy. Unfortunately, my only suggestion is "don't do that": either don't use global-hl-line-mode, or don't make your default face smaller using text-scale-adjust. Emacs does all scroll calculations assuming the original default face size, which was in effect when the frame was created. This design assumes that the frame mostly uses that size, with occasional smaller or larger characters here and there; resizing _all_ of the text breaks that assumption. On top of that, global-hl-line-mode installs both pre-command-hook and post-command-hook which manipulate overlays, which kills all of the clever tricks Emacs has up its sleeve to deal with variable fonts and partially visible lines. What you see as result is basically a recenter on every C-n, except that sometimes Emacs scrolls by just a few pixels to make a line fully visible. Fixing this would mean a major redesign of the scrolling support in the display engine. Patches are welcome, as always. Until then, this will remain a wishlist, I'm afraid. Sorry. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 12 13:29:14 2013 Received: (at control) by debbugs.gnu.org; 12 Jun 2013 17:29:14 +0000 Received: from localhost ([127.0.0.1]:59188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UmorB-0008Oc-OU for submit@debbugs.gnu.org; Wed, 12 Jun 2013 13:29:14 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46011 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UmorA-0008OT-H0 for control@debbugs.gnu.org; Wed, 12 Jun 2013 13:29:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Umor9-0005L0-Ao for control@debbugs.gnu.org; Wed, 12 Jun 2013 13:29:11 -0400 Date: Wed, 12 Jun 2013 13:29:11 -0400 Message-Id: Subject: control message for bug 14598 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.2 (-----) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.2 (-----) severity 14598 wishlist tag 14598 wontfix From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling References: <51B8641C.9060507@orcon.net.nz> In-Reply-To: <51B8641C.9060507@orcon.net.nz> Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2013 11:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: psainty@orcon.net.nz, Eli Zaretskii , 14598@debbugs.gnu.org Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.13712967525768 (code B ref 14598); Sat, 15 Jun 2013 11:46:02 +0000 Received: (at 14598) by debbugs.gnu.org; 15 Jun 2013 11:45:52 +0000 Received: from localhost ([127.0.0.1]:45806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnovX-0001Ux-Nj for submit@debbugs.gnu.org; Sat, 15 Jun 2013 07:45:51 -0400 Received: from mail-qc0-f175.google.com ([209.85.216.175]:42787) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnovV-0001UD-VA for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 07:45:50 -0400 Received: by mail-qc0-f175.google.com with SMTP id k14so801537qcv.34 for <14598@debbugs.gnu.org>; Sat, 15 Jun 2013 04:45:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=FHn4/f8ghys5HnX+5w7FdEpD+7J/CgMT2FNk8AXCc1Q=; b=R0AYAwx7D2nebci6yJw80lvc8EWaXFTkY7Bv1ZuKHlFws6ZMZSGBtT6LnEy2BBzJDv StiYlw/lXTRh05ssGrXXySho+bbGoce3TQl5n9ZDAzKwFdJlEROcMG4Gnv2PLebHpWbJ wM4QaF1EiFTpKrQkyOS/WSCqkU233QIQvQ6uqgpXGJmnziCVFg+jRJic0PM1v5dIJ7Ck MhG+poaykVa/J8NSt4o+sbUrqBsBkVnmG477QziLpA0qRa+/1GCeng5hPiuNpI0Y0P7B GyiTTqfbVcXnwD19Iva4eTqhUm/8YGf2MIXogPLJw/CHHajaTaBaq1D0CCYUVr3N9Aip Bvsg== MIME-Version: 1.0 X-Received: by 10.224.164.205 with SMTP id f13mr6722979qay.16.1371296744108; Sat, 15 Jun 2013 04:45:44 -0700 (PDT) Received: by 10.49.96.226 with HTTP; Sat, 15 Jun 2013 04:45:43 -0700 (PDT) Date: Sat, 15 Jun 2013 12:45:43 +0100 Message-ID: From: E Sabof Content-Type: multipart/alternative; boundary=089e0158bac2507dc604df2fe7aa X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --089e0158bac2507dc604df2fe7aa Content-Type: text/plain; charset=ISO-8859-1 (setq auto-window-vscroll nil) seems to fix the particular problem. Would it make sense to make it nil by default, and only turn it on in modes that use images? In other contexts it tends to make the behavior less predictable. Evgeni --089e0158bac2507dc604df2fe7aa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
(setq=A0auto-window-vscroll nil) seems to fix the particul= ar problem. Would it make sense to make it nil by default, and only turn it= on in modes that use images? In other contexts it tends to make the behavi= or less predictable.

Evgeni
--089e0158bac2507dc604df2fe7aa-- From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2013 11:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: E Sabof Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.13712973407471 (code B ref 14598); Sat, 15 Jun 2013 11:56:01 +0000 Received: (at 14598) by debbugs.gnu.org; 15 Jun 2013 11:55:40 +0000 Received: from localhost ([127.0.0.1]:45814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Unp51-0001wN-71 for submit@debbugs.gnu.org; Sat, 15 Jun 2013 07:55:39 -0400 Received: from mtaout23.012.net.il ([80.179.55.175]:45341) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Unp4x-0001vh-VT for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 07:55:36 -0400 Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MOF00A00NGIYF00@a-mtaout23.012.net.il> for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 14:55:28 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOF00AO2NSGP6A0@a-mtaout23.012.net.il>; Sat, 15 Jun 2013 14:55:28 +0300 (IDT) Date: Sat, 15 Jun 2013 14:55:43 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <838v2bvb9c.fsf@gnu.org> References: X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 15 Jun 2013 12:45:43 +0100 > From: E Sabof > > (setq auto-window-vscroll nil) seems to fix the particular problem. Would > it make sense to make it nil by default, and only turn it on in modes that > use images? I have no opinion on that. In my experience, arguing about defaults is a waste of time. Please note, however, that Emacs can display images in any mode, so I wouldn't know how to identify the "modes that use images". From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2013 12:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Eli Zaretskii Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137129823110678 (code B ref 14598); Sat, 15 Jun 2013 12:11:01 +0000 Received: (at 14598) by debbugs.gnu.org; 15 Jun 2013 12:10:31 +0000 Received: from localhost ([127.0.0.1]:45832 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnpJO-0002m7-S8 for submit@debbugs.gnu.org; Sat, 15 Jun 2013 08:10:31 -0400 Received: from mail-qa0-f41.google.com ([209.85.216.41]:41950) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnpJL-0002lj-U0 for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 08:10:28 -0400 Received: by mail-qa0-f41.google.com with SMTP id f14so665019qak.0 for <14598@debbugs.gnu.org>; Sat, 15 Jun 2013 05:10:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=cFAWnKoGxD6E4P2vJX/4+aGMdImuK2DswvmgeIM7tHM=; b=McnvBH+OnruahIoaoLTaJY8I/tnuf1T5zcn9NfansN+EHBHGj6ygrMDG8WUAZ4j7Ph gHse09NSl7OR03oC9otXxuaLW0V2h6us4/9pKxr5MHXD+bG7uYmN53TBA6dfenMrpSJw DXoBAj4GBH7CFiIoFhUHmqEsPqmU/WhlIW/Z0WRFMbC5qo90da9C/byVo8ThnmFivGKG Ffuy/dyoqTEBLTR5t9pv38+eDDBauVsFtoyOIoOjiIB6tsdeB0e++2wgRztEQNetnMMp 7lKYoPOvq0YRyKxQPMOT0duX8szP4BOIqmi+B9Oe6aMEhKvnRxPhDaYXik0XeZm2uoDA SBew== MIME-Version: 1.0 X-Received: by 10.229.165.18 with SMTP id g18mr2186612qcy.84.1371298222541; Sat, 15 Jun 2013 05:10:22 -0700 (PDT) Received: by 10.49.96.226 with HTTP; Sat, 15 Jun 2013 05:10:22 -0700 (PDT) In-Reply-To: <838v2bvb9c.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> Date: Sat, 15 Jun 2013 13:10:22 +0100 Message-ID: From: E Sabof Content-Type: multipart/alternative; boundary=bcaec55552c66f8f1904df303f39 X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --bcaec55552c66f8f1904df303f39 Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 15, 2013 at 12:55 PM, Eli Zaretskii wrote: > > Date: Sat, 15 Jun 2013 12:45:43 +0100 > > From: E Sabof > > > > (setq auto-window-vscroll nil) seems to fix the particular problem. Would > > it make sense to make it nil by default, and only turn it on in modes > that > > use images? > > I have no opinion on that. In my experience, arguing about defaults > is a waste of time. Please note, however, that Emacs can display > images in any mode, so I wouldn't know how to identify the "modes that > use images". > One way to do it would be for modes to identify themselves, by setting auto-window-vscroll to t. A perhaps better approach might be to make auto-window-vscroll only act on lines significantly larger than default height (x4?), and not on any line with a non-standard height. --bcaec55552c66f8f1904df303f39 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable



On Sat, Jun 15, 2013 at 12:55 PM, Eli Zaretskii &= lt;eliz@gnu.org> wrote:
> Date: Sat, 15 Jun 2013 12:45:43 +0100
> From: E Sabof <esabof@gmail.com= >
>
> (setq auto-window-vscroll nil) seems to fix the particular problem. Wo= uld
> it make sense to make it nil by default, and only turn it on in modes = that
> use images?

I have no opinion on that. =A0In my experience, arguing about default= s
is a waste of time. =A0Please note, however, that Emacs can display
images in any mode, so I wouldn't know how to identify the "modes = that
use images".

One way to do it wo= uld be for modes to identify themselves, by setting=A0auto-window-vscroll= =A0to t.

A perhaps= better approach might be to make=A0auto-window-vscroll only act on lines significantly larger than default = height (x4?), and not on any line with a non-standard height.
--bcaec55552c66f8f1904df303f39-- From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2013 12:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: E Sabof Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137130029918858 (code B ref 14598); Sat, 15 Jun 2013 12:45:02 +0000 Received: (at 14598) by debbugs.gnu.org; 15 Jun 2013 12:44:59 +0000 Received: from localhost ([127.0.0.1]:45866 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Unpqk-0004u4-Cy for submit@debbugs.gnu.org; Sat, 15 Jun 2013 08:44:58 -0400 Received: from mtaout20.012.net.il ([80.179.55.166]:37484) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Unpqh-0004td-JE for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 08:44:56 -0400 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MOF00000Q2J5900@a-mtaout20.012.net.il> for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 15:44:49 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOF00MG9Q2PZ5A0@a-mtaout20.012.net.il>; Sat, 15 Jun 2013 15:44:49 +0300 (IDT) Date: Sat, 15 Jun 2013 15:45:04 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <8361xfv8z3.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 15 Jun 2013 13:10:22 +0100 > From: E Sabof > Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org > > > I have no opinion on that. In my experience, arguing about defaults > > is a waste of time. Please note, however, that Emacs can display > > images in any mode, so I wouldn't know how to identify the "modes that > > use images". > > > > One way to do it would be for modes to identify themselves, by setting > auto-window-vscroll to t. Then every mode will need to do that. > A perhaps better approach might be to make auto-window-vscroll only act on > lines significantly larger than default height (x4?), and not on any line > with a non-standard height. You need to consider the window height as well (or only that), not just the default font size. And if we go that way, I'd argue that vscroll should be used regardless of the value of auto-window-vscroll. From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 15 Jun 2013 22:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Eli Zaretskii Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.13713365415908 (code B ref 14598); Sat, 15 Jun 2013 22:49:02 +0000 Received: (at 14598) by debbugs.gnu.org; 15 Jun 2013 22:49:01 +0000 Received: from localhost ([127.0.0.1]:46976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnzHI-0001XB-BF for submit@debbugs.gnu.org; Sat, 15 Jun 2013 18:49:00 -0400 Received: from mail-qe0-f46.google.com ([209.85.128.46]:61690) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnzHF-0001Wx-6T for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 18:48:58 -0400 Received: by mail-qe0-f46.google.com with SMTP id nd7so1007283qeb.5 for <14598@debbugs.gnu.org>; Sat, 15 Jun 2013 15:48:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=2yrHv0c5GNL8SpWw7MCvX/+BaNXcmLgExlod114Xl1U=; b=fv92d+hfqXCgts4hPXAhiVVj69hdiWBKAEptIpkGvas+UgbbcYSOtSm+4NWRr4+ffK p7k7GIh0BM1aAJ3kFPbFNfBIexu+CJkFgPuCUUmgyga7jlqiQ6JatD1jb7KeIdoOrj7V gdrTKOK5xHT/q9YAVv4KLQlQgCXHqyKOReeCCbm5GYjVgqmdIp5KFPbaQlNgcLJDyyNe bk7+ldfxVaWJ8vFjPUDtIwM01yFj0T8sBNazP78uLSHRTLAR1hSCu0+RJx1CK+gRWfXr pI4qtav9M9v5WX0I3xrj7GUhqL9YvZPvasLh7HeVEzDx23f+ktaiyJu3imwZdIXF435p Mmgw== MIME-Version: 1.0 X-Received: by 10.229.107.14 with SMTP id z14mr3542631qco.43.1371336531510; Sat, 15 Jun 2013 15:48:51 -0700 (PDT) Received: by 10.49.96.226 with HTTP; Sat, 15 Jun 2013 15:48:51 -0700 (PDT) In-Reply-To: <8361xfv8z3.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> <8361xfv8z3.fsf@gnu.org> Date: Sat, 15 Jun 2013 23:48:51 +0100 Message-ID: From: E Sabof Content-Type: multipart/alternative; boundary=00235446fb38d40eeb04df392abe X-Spam-Score: 0.3 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --00235446fb38d40eeb04df392abe Content-Type: text/plain; charset=ISO-8859-1 On Sat, Jun 15, 2013 at 1:45 PM, Eli Zaretskii wrote: > > Date: Sat, 15 Jun 2013 13:10:22 +0100 > > From: E Sabof > > Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org > > > > > I have no opinion on that. In my experience, arguing about defaults > > > is a waste of time. Please note, however, that Emacs can display > > > images in any mode, so I wouldn't know how to identify the "modes that > > > use images". > > > > > > > One way to do it would be for modes to identify themselves, by setting > > auto-window-vscroll to t. > > Then every mode will need to do that. > The idea is that in practice, the functionality isn't needed most of the time, but backfires with text-scale-adjust. The only two modes that I use that mix images and text are org-mode and w3m. I'm not sure if I like the idea myself, but it might deserve a place on the side of the table. > > > A perhaps better approach might be to make auto-window-vscroll only act > on > > lines significantly larger than default height (x4?), and not on any line > > with a non-standard height. > > You need to consider the window height as well (or only that), not > just the default font size. And if we go that way, I'd argue that > vscroll should be used regardless of the value of auto-window-vscroll. > At the moment I'm a bit confused as to how auto-window-vscroll works right now. I might try to dig a bit deeper at some point, and put together a prototype of how I think it should work. --00235446fb38d40eeb04df392abe Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
On Sat, Jun 15, 2013 at 1:45 PM= , Eli Zaretskii <eliz@gnu.org> wrote:
> Date: Sat, 15 Jun 2013 13:10:22 +0100
> From: E Sabof <esabof@gmail.com= >
> Cc: psainty@orcon.net.nz, = 14598@debbugs.gnu.org
>
> > I have no opinion on that. =A0In my experience, arguing about def= aults
> > is a waste of time. =A0Please note, however, that Emacs can displ= ay
> > images in any mode, so I wouldn't know how to identify the &q= uot;modes that
> > use images".
> >
>
> One way to do it would be for modes to identify themselves, by setting=
> auto-window-vscroll to t.

Then every mode will need to do that.

=
The idea is that in practice, the functionality isn't needed most = of the time, but backfires with text-scale-adjust. The only two modes that = I use that mix images and text are org-mode and w3m. I'm not sure if I = like the idea myself, but it might deserve a place on the side of the table= .
=A0

> A perhaps better approach might be to make auto-window-vscroll only ac= t on
> lines significantly larger than default height (x4?), and not on any l= ine
> with a non-standard height.

You need to consider the window height as well (or only that), not just the default font size. =A0And if we go that way, I'd argue that vscroll should be used regardless of the value of auto-window-vscroll.
<= /blockquote>

At the moment I'm a bit confused as to= how=A0auto-window-vscroll works right n= ow. I might=A0try to dig a bit deeper at some point, and put togethe= r a prototype of how I think it should work.

--00235446fb38d40eeb04df392abe-- From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2013 02:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: E Sabof Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137135075211645 (code B ref 14598); Sun, 16 Jun 2013 02:46:01 +0000 Received: (at 14598) by debbugs.gnu.org; 16 Jun 2013 02:45:52 +0000 Received: from localhost ([127.0.0.1]:47288 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uo2yV-00031i-Pa for submit@debbugs.gnu.org; Sat, 15 Jun 2013 22:45:52 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:33458) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Uo2yQ-00031B-SX for 14598@debbugs.gnu.org; Sat, 15 Jun 2013 22:45:48 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MOG00K00SU6D500@a-mtaout22.012.net.il> for 14598@debbugs.gnu.org; Sun, 16 Jun 2013 05:45:39 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MOG00KBGT025550@a-mtaout22.012.net.il>; Sun, 16 Jun 2013 05:45:39 +0300 (IDT) Date: Sun, 16 Jun 2013 05:45:54 +0300 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <831u82vkm5.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> <8361xfv8z3.fsf@gnu.org> X-Spam-Score: 1.0 (+) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > Date: Sat, 15 Jun 2013 23:48:51 +0100 > From: E Sabof > Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org > > > > One way to do it would be for modes to identify themselves, by setting > > > auto-window-vscroll to t. > > > > Then every mode will need to do that. > > > > The idea is that in practice, the functionality isn't needed most of the > time, but backfires with text-scale-adjust. The only two modes that I use > that mix images and text are org-mode and w3m. There are many more, and I expect more and more to do so. > > > A perhaps better approach might be to make auto-window-vscroll only act > > on > > > lines significantly larger than default height (x4?), and not on any line > > > with a non-standard height. > > > > You need to consider the window height as well (or only that), not > > just the default font size. And if we go that way, I'd argue that > > vscroll should be used regardless of the value of auto-window-vscroll. > > > > At the moment I'm a bit confused as to how auto-window-vscroll works right > now. I might try to dig a bit deeper at some point, and put together a > prototype of how I think it should work. What do you mean by "how auto-window-vscroll works"? If you mean how its value is taken into account, look at line-move-partial. If you mean anything else, please ask. From unknown Fri Aug 15 17:20:00 2025 X-Loop: help-debbugs@gnu.org Subject: bug#14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Resent-From: E Sabof Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 16 Jun 2013 15:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14598 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix To: Eli Zaretskii Cc: psainty@orcon.net.nz, 14598@debbugs.gnu.org Received: via spool by 14598-submit@debbugs.gnu.org id=B14598.137139582316120 (code B ref 14598); Sun, 16 Jun 2013 15:18:02 +0000 Received: (at 14598) by debbugs.gnu.org; 16 Jun 2013 15:17:03 +0000 Received: from localhost ([127.0.0.1]:48520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoEhS-0004Bv-IE for submit@debbugs.gnu.org; Sun, 16 Jun 2013 11:17:03 -0400 Received: from mail-qe0-f53.google.com ([209.85.128.53]:46273) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UoEhQ-0004BL-2h for 14598@debbugs.gnu.org; Sun, 16 Jun 2013 11:17:00 -0400 Received: by mail-qe0-f53.google.com with SMTP id 1so1223451qee.12 for <14598@debbugs.gnu.org>; Sun, 16 Jun 2013 08:16:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=wHNuEjbTYukVX1LVT+y1sqnVCWFenLUZ8pdWaPio3gE=; b=Id8MkCkRghj0CNQ8OdNqtOcproMRU8oZgIqj4/4kcuFz/OUNlr14nT8VSFzpNWGj9l OAtQ3ICyw0omi1CZ0r+EjpvplisRuhXo5tjGd9fmLWLYTobSGrs/eOv0GfUF5ym8TZfi C4qZh6bUxgNabu2qUaiQlxGi53wUNGYkHXsYeDab+sX2HXQ4ociwpcmjOEp+uPb0I8hU sEmPfXUXdIdXObWsrUDdrBW4zliV06ISRbCUBWnN8N+13nzApgVdJ9RVdmV2u/kydlcT 3k56f4qU704Om/lAfFsamYmovi0+wXlejl+FLE4CZA/MXSpsFe8hWFqTzg7bch9Lyr+X eC6Q== MIME-Version: 1.0 X-Received: by 10.224.79.209 with SMTP id q17mr12355587qak.88.1371395814784; Sun, 16 Jun 2013 08:16:54 -0700 (PDT) Received: by 10.49.96.226 with HTTP; Sun, 16 Jun 2013 08:16:54 -0700 (PDT) In-Reply-To: <831u82vkm5.fsf@gnu.org> References: <838v2bvb9c.fsf@gnu.org> <8361xfv8z3.fsf@gnu.org> <831u82vkm5.fsf@gnu.org> Date: Sun, 16 Jun 2013 16:16:54 +0100 Message-ID: From: E Sabof Content-Type: multipart/alternative; boundary=047d7bf1617663022204df46f89f X-Spam-Score: -0.7 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --047d7bf1617663022204df46f89f Content-Type: text/plain; charset=ISO-8859-1 > > At the moment I'm a bit confused as to how auto-window-vscroll works > right > > now. I might try to dig a bit deeper at some point, and put together a > > prototype of how I think it should work. > > What do you mean by "how auto-window-vscroll works"? If you mean how > its value is taken into account, look at line-move-partial. If you > mean anything else, please ask. > No, I've found the relevant source. I just want to test different scenarios, and see how it behaves in each one of them. --047d7bf1617663022204df46f89f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

=
> At the moment I'm a bit confused as to how auto-window-vscroll wor= ks right
> now. I might try to dig a bit deeper at some point, and put together a=
> prototype of how I think it should work.

What do you mean by "how auto-window-vscroll works"? =A0If = you mean how
its value is taken into account, look at line-move-partial. =A0If you
mean anything else, please ask.

No, I've found = the relevant source. I just want to test different scenarios, and=A0
<= div class=3D"gmail_extra">see how it behaves in each one of them.
--047d7bf1617663022204df46f89f-- From unknown Fri Aug 15 17:20:00 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Phil Sainty Subject: bug#14598: closed (Re: bug#14567: These changes sometimes break plain text navigation) Message-ID: References: <8338rnwtw0.fsf@gnu.org> <51B8641C.9060507@orcon.net.nz> X-Gnu-PR-Message: they-closed 14598 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: wontfix Reply-To: 14598@debbugs.gnu.org Date: Tue, 09 Jul 2013 17:02:04 +0000 Content-Type: multipart/mixed; boundary="----------=_1373389324-3485-1" This is a multi-part message in MIME format... ------------=_1373389324-3485-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #14598: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolli= ng which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 14598@debbugs.gnu.org. --=20 14598: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D14598 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1373389324-3485-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 14598-done) by debbugs.gnu.org; 9 Jul 2013 17:01:10 +0000 Received: from localhost ([127.0.0.1]:43054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbHp-0000s5-7b for submit@debbugs.gnu.org; Tue, 09 Jul 2013 13:01:09 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:57689) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbHl-0000r9-6f; Tue, 09 Jul 2013 13:01:07 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MPO00900HW63F00@a-mtaout22.012.net.il>; Tue, 09 Jul 2013 20:00:43 +0300 (IDT) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPO008TAHX6Z020@a-mtaout22.012.net.il>; Tue, 09 Jul 2013 20:00:43 +0300 (IDT) Date: Tue, 09 Jul 2013 20:00:31 +0300 From: Eli Zaretskii Subject: Re: bug#14567: These changes sometimes break plain text navigation In-reply-to: <8761wkaa9y.fsf@secretsauce.net> X-012-Sender: halo1@inter.net.il To: Dima Kogan Message-id: <8338rnwtw0.fsf@gnu.org> References: <87r4fc9i3r.fsf@secretsauce.net> <83ppuwx86k.fsf@gnu.org> <87ppuvacnf.fsf@secretsauce.net> <837gh3y4b1.fsf@gnu.org> <87obaf9x2s.fsf@secretsauce.net> <83y59jw0eh.fsf@gnu.org> <87mwpz9dub.fsf@secretsauce.net> <83wqp2wep6.fsf@gnu.org> <87li5i9p10.fsf@secretsauce.net> <83ip0lvtsx.fsf@gnu.org> <8761wkaa9y.fsf@secretsauce.net> X-Spam-Score: 1.0 (+) X-Debbugs-Envelope-To: 14598-done Cc: 14567@debbugs.gnu.org, 14598-done@debbugs.gnu.org, 6103-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: Eli Zaretskii List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 1.0 (+) > From: Dima Kogan > Date: Mon, 08 Jul 2013 16:42:49 -0700 > > I did a search for similar-sounding existing bugs, and apparently this > issue has already been filed, so I didn't add to the pile: > > http://debbugs.gnu.org/6103 > http://debbugs.gnu.org/6272 > http://debbugs.gnu.org/14598 None of these are reproducible with the current trunk, so I guess my latest changes fixed them all indirectly. I'm closing them. > My main test case now works perfectly. I can still make problems > happen if I adjust the text size with C-x C-+. I can't. So please file a new bug report ;-) > Loading emacs with the .emacs I mentioned in the original post about > this and then pressing 'C-x C-+' 4 times, pressing C-n never results in > a 50% screen scroll. At the bottom, C-n presses alternate between > > - scrolling down one line while keeping the point stationary Stationary on screen, or stationary at the same buffer position? > - moving the point down one line normally. What do the following report in each one of the 2 above-mentioned situations, i.e. before C-n would scroll, and before it would move? M-: (pos-visible-in-window-p t nil t) RET M-: (posn-at-point) RET M-: (default-font-height) RET > This sounds like http://debbugs.gnu.org/14598 No, it isn't, as that bug is already solved. I guess it was easier than I thought at the time. ------------=_1373389324-3485-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 12 Jun 2013 12:06:44 +0000 Received: from localhost ([127.0.0.1]:58343 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umjp2-0000js-8C for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42756) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Umjow-0000jb-QA for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umjol-0007SC-Lq for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:29 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-99.2 required=5.0 tests=BAYES_50,FREEMAIL_FROM, USER_IN_WHITELIST autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:42644) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjol-0007S8-Ia for submit@debbugs.gnu.org; Wed, 12 Jun 2013 08:06:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjoh-0005Hn-Lh for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Umjob-0007Om-Gt for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:19 -0400 Received: from nctlincom02.orcon.net.nz ([60.234.4.76]:57979) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Umjoa-0007JC-SG for bug-gnu-emacs@gnu.org; Wed, 12 Jun 2013 08:06:13 -0400 Received: from mx1.orcon.net.nz (mx1.orcon.net.nz [219.88.242.51]) by nctlincom02.orcon.net.nz (8.14.3/8.14.3/Debian-9.4) with ESMTP id r5CC5rOR018859 for ; Thu, 13 Jun 2013 00:05:53 +1200 Received: from Debian-exim by mx1.orcon.net.nz with local (Exim 4.69) (envelope-from ) id 1UmjoH-0004ey-CK for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 00:05:53 +1200 Received: from [121.99.82.137] (helo=[10.1.1.3]) by mx1.orcon.net.nz with esmtpa (Exim 4.69) (envelope-from ) id 1UmjoH-0004en-6p for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 00:05:53 +1200 Message-ID: <51B8641C.9060507@orcon.net.nz> Date: Thu, 13 Jun 2013 00:05:48 +1200 From: Phil Sainty User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: 24.3; global-hl-line-mode + text-scale-adjust + next-line + scrolling Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DSPAM-Check: by mx1.orcon.net.nz on Thu, 13 Jun 2013 00:05:53 +1200 X-DSPAM-Result: Spam X-DSPAM-Processed: Thu Jun 13 00:05:53 2013 X-DSPAM-Confidence: 0.5045 X-DSPAM-Probability: 0.9833 X-Bayes-Prob: 0.0001 (Score 0, tokens from: @@RPTN, default) X-CanIt-Geo: ip=121.99.82.137; country=NZ; region=E7; city=Auckland; latitude=-36.8667; longitude=174.7667; http://maps.google.com/maps?q=-36.8667,174.7667&z=6 X-CanItPRO-Stream: base:default X-Canit-Stats-ID: 05JLo5RVw - 811815f34cc6 - 20130613 X-Scanned-By: CanIt (www . roaringpenguin . com) on 172.16.100.175 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.0 (-----) With global-hl-line-mode enabled (but not local hl-line-mode, which is implemented differently) and with a smaller font via text-scale-adjust, scrolling off the bottom of the window with next-line gets incredibly glitchy. Recipe: * emacs -Q * Visit a file or add text with more lines than the current window * M-x global-hl-line-mode * C-x C-- * Hold down C-n In GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.4.2) of 2013-04-14 on chindi10, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11300000 System Description: Ubuntu 12.04.2 LTS Configured using: `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.3/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.3/site-lisp:/usr/share/emacs/site-lisp' '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-toolkit-scroll-bars' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -Wall' 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro' 'CPPFLAGS=-D_FORTIFY_SOURCE=2'' Important settings: value of $LANG: en_NZ.UTF-8 locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: text-scale-mode: t global-hl-line-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent input: C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n M-x r e p o r t Recent messages: Auto-saving... runs the command next-line uncompressing simple.el.gz...done Note: file is write protected Mark set Mark saved where search started Type C-x 1 to delete the help window. runs the command next-line Auto-saving... Use +,-,0 for further adjustment Load-path shadows: None found. Features: (help-fns misearch multi-isearch jka-compr find-func shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils face-remap cus-start cus-load hl-line js byte-opt bytecomp byte-compile cconv json imenu thingatpt cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs sh-script smie executable dired help-mode easymenu time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) ------------=_1373389324-3485-1--