From unknown Sun Jun 15 10:54:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#6103 <6103@debbugs.gnu.org> To: bug#6103 <6103@debbugs.gnu.org> Subject: Status: Scrolling down jumpy when global-hl-line-mode is on Reply-To: bug#6103 <6103@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:54:19 +0000 retitle 6103 Scrolling down jumpy when global-hl-line-mode is on reassign 6103 emacs submitter 6103 David Reitter severity 6103 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue May 04 22:27:51 2010 Received: (at submit) by debbugs.gnu.org; 5 May 2010 02:27:51 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9UL0-0006ES-Pz for submit@debbugs.gnu.org; Tue, 04 May 2010 22:27:51 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9UKy-0006EM-Hw for submit@debbugs.gnu.org; Tue, 04 May 2010 22:27:49 -0400 Received: from lists.gnu.org ([199.232.76.165]:51478) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1O9UKu-0002xl-Ra for submit@debbugs.gnu.org; Tue, 04 May 2010 22:27:44 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1O9UKu-000743-29 for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 22:27:44 -0400 Received: from [140.186.70.92] (port=35458 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1O9Tz4-00029v-Qa for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 22:05:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,T_DKIM_INVALID autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1O9Tz1-0000MB-JL for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 22:05:10 -0400 Received: from mail-qy0-f187.google.com ([209.85.221.187]:64609) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1O9Tz1-0000M3-FI for bug-gnu-emacs@gnu.org; Tue, 04 May 2010 22:05:07 -0400 Received: by qyk17 with SMTP id 17so6402277qyk.21 for ; Tue, 04 May 2010 19:05:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:content-type:mime-version :subject:from:date:cc:content-transfer-encoding:message-id :references:to:x-mailer; bh=WJHXrIvQNutZA8U3kbSOl31LEPf1ceKnvqy6mARVhJI=; b=DNvOsElA6SIEUu65z6K3BufZDyYzi+RfciYbo1eBCQJBfYj+Eys3TaxPk6c1VlhnpD zdW7L07fVTcdZTDXGrphOf6nL0AQcvHZeJcM+LzFqtvVfb1wpx+ruVQ033g2S/iT01eD glxVcvZVg+W63TD6LKr+C3prrXnW6gDTLH/RA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=content-type:mime-version:subject:from:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=l9xe7sYULGwIdZChDP84KFDNOLEX7tLWdctXhF7wa1jVocFqVzZfbTcOd5J1iFiCGu Yh5yjvd8yt5mCdiV692Xeseh6KV+fFX1WPBlzAJqeao3tEHakT9gaB9TsiI9WPV8rMYu 5ePQHtMiozpzL8u1D+VM9ApY4KOqheUNE9BBI= Received: by 10.224.107.138 with SMTP id b10mr5148935qap.93.1273025106437; Tue, 04 May 2010 19:05:06 -0700 (PDT) Received: from [192.168.1.42] (pool-72-95-200-56.pitbpa.east.verizon.net [72.95.200.56]) by mx.google.com with ESMTPS id x34sm2439832qce.15.2010.05.04.19.05.05 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 04 May 2010 19:05:05 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Apple Message framework v1078) Subject: Scrolling down jumpy when global-hl-line-mode is on From: David Reitter Date: Tue, 4 May 2010 22:05:03 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <00EC67B1-0906-4FF7-9428-A265F1B1D91D@gmail.com> References: <1518FF43-75D7-439A-B4EB-267332219EAB@gmail.com> To: Bug-Gnu-Emacs X-Mailer: Apple Mail (2.1078) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -3.9 (---) X-Debbugs-Envelope-To: submit Cc: 911mxl@gmail.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -5.0 (-----) This bug, reported by the user below, occurs in the current Emacs 23 = branch as well. To reproduce: Emacs -Q M-x about-emacs (to show the fancy about screen) resize the frame so that there is about half a text line visible after = the last full line at the bottom of the window. M-x global-hl-line-mode Press repeatedly. The text will scroll up, and at some point you should see it scroll up = without point moving down one buffer line. Of course, one sees this sort of thing much more often when using = `face-remapping-alist' to set the buffer's default face to a font that = does not share the same height with the frame's default face. But as = can be seen, that is not strictly necessary. Interestingly, this does not occur for me with hl-line-mode only... This is on NS, but might occur on other systems as well... Begin forwarded message: > From: Meng Xiangliang <911mxl@gmail.com> > Date: May 4, 2010 7:30:21 AM EDT > To: aquamacs-bugs@aquamacs.org > Subject: [Aquamacs-bugs] Scrolling not smooth when hl-line-mode is on > Reply-To: Bug reports for Aquamacs Emacs >=20 > Hi, >=20 > I'd like to report a bug in Aquamacs 2.0: Scrolling down with C+N or = Down-arrow key is glitchy when global-hl-line-mode is on. >=20 > Specifically, when the cursor is at the bottom of the buffer window, = pressing Ctrl+N should make the content move up one line and move the = cursor to the next line; but sometimes (about 1/3) only the content = moved up and the cursor stayed where it was. Scrolling up with Ctrl+P or = Up-arrow is ok. >=20 > Another strange behavior maybe related is that, when holding down = Ctrl+N to scrolling continuously, the cursor sometimes jumps to the = middle of the buffer window while it should stays at the bottom. >=20 > I'm using the latest nightly build (2010-5-4), and erase all = customizations. >=20 > Here is some dump data: >=20 > In GNU Emacs 23.1.96.1 (i386-apple-darwin9.8.0, NS = apple-appkit-949.54) > of 2010-05-04 on braeburn.aquamacs.org - Aquamacs Distribution = 2.0preview6 > Windowing system distributor `Apple', version 10.3.1038 > configured using `configure '--with-ns' '--without-x' 'CFLAGS=3D-arch = i386 -arch ppc' 'LDFLAGS=3D-arch i386 -arch ppc'' >=20 > Important settings: > value of $LC_ALL: nil > value of $LC_COLLATE: nil > value of $LC_CTYPE: nil > value of $LC_MESSAGES: nil > value of $LC_MONETARY: nil > value of $LC_NUMERIC: nil > value of $LC_TIME: nil > value of $LANG: nil > value of $XMODIFIERS: nil > locale-coding-system: nil > default enable-multibyte-characters: t >=20 > Major mode: Text >=20 > Minor modes in effect: > global-hl-line-mode: t > savehist-mode: t > smart-frame-positioning-mode: t > aquamacs-autoface-mode: t > recentf-mode: t > osx-key-mode: t > tabbar-mwheel-mode: t > tabbar-mode: t > show-paren-mode: t > delete-selection-mode: t > pc-selection-mode: t > cua-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-encryption-mode: t > auto-compression-mode: t > smart-spacing-mode: t > column-number-mode: t > line-number-mode: t > transient-mark-mode: t > auto-fill-mode: do-auto-fill >=20 > Recent input: > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P ^P=20 > ^P ^P ^P ^P ^P ^P ^P ^P ^P ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N ^N=20 > ^N ^N ^N ^N ^N ^N ^N =20 > >=20 > Recent messages: > Loading /Users/liang/Library/Preferences/Aquamacs Emacs/Preferences.el = (source)...done > Mark set > one-buffer-one-frame-mode disabled. > Mark set [26 times] > Loading /Users/liang/Library/Preferences/Aquamacs = Emacs/frame-positions.el (source)...done > Mark set [5 times] > Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is = Free Software: you can improve and redistribute it under the GNU General = Public License, version 3 or later. Copyright (C) 2010 Free Software = Foundation, Inc. (C) 2010 D. Reitter. No Warranty. > Mark set [3 times] > Global-Hl-Line mode enabled > line-move-1: End of buffer [2 times] > line-move-1: Beginning of buffer [6 times] >=20 > Load-path shadows: > /Users/liang/Library/Preferences/Aquamacs = Emacs/vendor/themes/color-theme-library hides = /Applications/Aquamacs.app/Contents/Resources/lisp/aquamacs/color-theme-li= brary >=20 > Features: > (shadow sort mail-extr message ecomplete rfc822 mml mml-sec > password-cache mm-decode mm-bodies mm-encode mailcap mail-parse = rfc2231 > rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc > mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash > mail-utils emacsbug hl-line load-emacs-plugins aquamacs-mode-defaults > auctex-config server tex-site smart-dnd aquamacs-aux savehist = mouse-sel > one-buffer-one-frame smart-frame-positioning drews_init > color-theme-autoloads saveplace visual-line aquamacs-bug > aquamacs-autoface-mode aquamacs-editing sendmail recentf tree-widget > cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns > thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame > aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 tabbar > easy-mmode cus-start cus-load load-emacs-pre-plugins = aquamacs-site-start > cocoa-compatibility filladapt aquamacs-redo check-for-updates > aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs > mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone > time-date paren delsel pc-select cua-base wid-edit regexp-opt advice > advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode > view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type > mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode > register page menu-bar rfn-eshadow timer select scroll-bar mldrag = 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 > loaddefs button minibuffer faces cus-face files text-properties = overlay > md5 base64 format env code-pages mule custom widget > hashtable-print-readable backquote make-network-process ns multi-tty > emacs) >=20 > Command line: (/Applications/Aquamacs.app/Contents/MacOS/Aquamacs) >=20 > PATH: = /Users/liang/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:= /usr/X11/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/texbin:/usr/local/texlive/= 2009/bin >=20 > exec-path: (/Users/liang/bin /usr/bin /bin /usr/sbin /sbin = /usr/local/bin /usr/texbin /usr/X11/bin /usr/bin /bin /usr/sbin /sbin = /Applications/Aquamacs.app/Contents/MacOS/bin = /usr/local/texlive/2009/bin)=20 >=20 > --EOF-- From debbugs-submit-bounces@debbugs.gnu.org Mon Jul 08 19:48:42 2013 Received: (at control) by debbugs.gnu.org; 8 Jul 2013 23:48:42 +0000 Received: from localhost ([127.0.0.1]:40456 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwLAg-0000Kb-Ah for submit@debbugs.gnu.org; Mon, 08 Jul 2013 19:48:42 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:34281 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwLAd-0000KQ-Rr for control@debbugs.gnu.org; Mon, 08 Jul 2013 19:48:40 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1UwLAd-0002bq-4x for control@debbugs.gnu.org; Mon, 08 Jul 2013 19:48:39 -0400 Date: Mon, 08 Jul 2013 19:48:39 -0400 Message-Id: Subject: control message for bug 6272 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -5.3 (-----) 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.3 (-----) merge 6103 6272 From debbugs-submit-bounces@debbugs.gnu.org Tue Jul 09 13:01:11 2013 Received: (at 6103-done) by debbugs.gnu.org; 9 Jul 2013 17:01:11 +0000 Received: from localhost ([127.0.0.1]:43056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UwbHq-0000sE-3n for submit@debbugs.gnu.org; Tue, 09 Jul 2013 13:01:10 -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: 6103-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. From unknown Sun Jun 15 10:54:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Wed, 07 Aug 2013 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator