From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alex Newsgroups: gmane.emacs.bugs Subject: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place Date: Sun, 07 Aug 2016 15:15:51 -0600 Message-ID: <87y448s2k8.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1470604647 15439 195.159.176.226 (7 Aug 2016 21:17:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 7 Aug 2016 21:17:27 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) To: 24179@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Aug 07 23:17:23 2016 Return-path: Envelope-to: geb-bug-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 1bWVRf-0002mu-RX for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 23:17:20 +0200 Original-Received: from localhost ([::1]:53870 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVRc-0001mA-Jh for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Aug 2016 17:17:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39103) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVRS-0001kC-N3 for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWVRO-00084b-FO for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:17:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33727) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVRO-00084U-BB for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bWVRO-0001xh-4D for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alex Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Aug 2016 21:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 24179 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14706045797481 (code B ref -1); Sun, 07 Aug 2016 21:17:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Aug 2016 21:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:59257 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWVQg-0001wb-F7 for submit@debbugs.gnu.org; Sun, 07 Aug 2016 17:16:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:47960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWVQe-0001wO-CD for submit@debbugs.gnu.org; Sun, 07 Aug 2016 17:16:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWVQX-0007yd-LF for submit@debbugs.gnu.org; Sun, 07 Aug 2016 17:16:10 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:51820) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVQX-0007yX-I7 for submit@debbugs.gnu.org; Sun, 07 Aug 2016 17:16:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVQU-0001Yc-KR for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:16:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWVQQ-0007yC-E4 for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:16:05 -0400 Original-Received: from mail-it0-x232.google.com ([2607:f8b0:4001:c0b::232]:35090) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWVQQ-0007y7-7X for bug-gnu-emacs@gnu.org; Sun, 07 Aug 2016 17:16:02 -0400 Original-Received: by mail-it0-x232.google.com with SMTP id u186so60392373ita.0 for ; Sun, 07 Aug 2016 14:16:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:user-agent:mime-version; bh=T/ktZvmehAky7uf35dgn3KXYeSxZJVHC6Ma1OFUDC/E=; b=HsLIkFGiYWBAV9wLyUAaJdbQ9PomyPnROpAo9gp3V8pPv4F6VdEbzflUZuqO05E2Cx 4z6mj4fWUY15ovjb+2rO40odaQYQc92XWnOSa0iPU4gNibBWbvXTSlIKEU5U6uuDpvnY AYK7PYYDvB/uRv/nkfimUXqGe9CkJk0cIIgBzpGtalM2RtR6AUiV1OsepP02x4ouQ6GF cwIO5jIl8k9YgawUVQ/2Z9XEpe4jPRrRC0nJTtI+Y3AdgQgw26GLQ/craGAKuro+M/dp PPJLbgoGM3oTcxOcvBlnq1QLhAtr4rzIt7xIh0vRVqQGiDjNaLGzKQ2F4rCJ7AZTvLpy rJEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=T/ktZvmehAky7uf35dgn3KXYeSxZJVHC6Ma1OFUDC/E=; b=iTyCOiR16bJFgSGPdoRSObVGlk00DFYsxSL6+pg5XZr8/zdsNxasW1OW++E9ia9Imr v2kc59jKfDQLiY6h5R1Wi30iyaIZ1xqrkU9/ftylsepifG+gc90ySz1zJ3acAiCM3Xdc v4PC+jqzKLMWh/gbICVGp0CXUbDxBmbMLQZlB61giSsBt1BU3RMMJsbQqOspSyl2z2H7 u0tGmjhToqaPBS5oXeJld1Smj9NFBau4Wf95SeWvxrTgA8nfyI9QGpORQRideZaDnJyW 2em2GGvUH03EFqBC5CqXpDY782y0BrjlVuc4m5+l4a8gzjbRa5jsuIg5nFsk6A+tRsKY Ogdw== X-Gm-Message-State: AEkoouvPkzljU0Fa+qWNMKbpg+X7HkUY/HUgZUKn1rLdH+zlyw05C6DC2e5ik1NnarMkRQ== X-Received: by 10.36.72.205 with SMTP id p196mr14992004ita.85.1470604561243; Sun, 07 Aug 2016 14:16:01 -0700 (PDT) Original-Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id i80sm8756355ita.5.2016.08.07.14.16.00 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Aug 2016 14:16:00 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121948 Archived-At: This bug report originated from https://github.com/magit/magit/issues/2735 If scroll-conservatively is higher than SCROLL_LIMIT (100), then trying to move down past an overlay with the `before-string' property may put the point at the top of the window rather than at the next available point. This only occurs when the overlay's line is only partially visible. This can be reproduced without magit, but it's easiest to reproduce with magit: 1. Start in emacs -Q. and load magit. 2. Go to version.el in emacs' repo 3. Set scroll-conservatively to a value higher than 100. 4. magit-blame. 5. M-g c 1350 6. Press C-f The point is now at 1351, but now it's at the top of the screen. The above should work if the screen is maximized on a 1080p screen. Otherwise you can just keep hitting `n' until you reach a partially-visible overlay. In GNU Emacs 25.1.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.20.6) of 2016-07-25 built on buildhw-08.phx2.fedoraproject.org Windowing system distributor 'Fedora Project', version 11.0.11804000 Configured using: 'configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-dbus --with-gif --with-jpeg --with-png --with-rsvg --with-tiff --with-xft --with-xpm --with-x-toolkit=gtk3 --with-gpm=no --with-xwidgets build_alias=x86_64-redhat-linux-gnu host_alias=x86_64-redhat-linux-gnu 'CFLAGS=-DMAIL_USE_LOCKF -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic' LDFLAGS=-Wl,-z,relro PKG_CONFIG_PATH=:/usr/lib64/pkgconfig:/usr/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XWIDGETS Major mode: Emacs-Lisp Minor modes in effect: magit-auto-revert-mode: t auto-revert-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-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 line-number-mode: t transient-mark-mode: t Features: (shadow sort mail-extr emacsbug sendmail linum magit-blame magit-stash magit-bisect magit-remote magit-commit magit-sequence magit magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-popup magit-mode magit-git crm magit-section magit-utils git-commit log-edit message dired rfc822 mml mml-sec epg mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util with-editor async-bytecomp async tramp-sh tramp tramp-compat auth-source cl-seq eieio eieio-core cl-macs gnus-util mm-util help-fns mail-prsvr password-cache tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring format-spec advice server dash vc-git diff-mode easy-mmode bug-reference add-log finder-inf tex-site slime-autoloads info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs pcase cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting xwidget-internal move-toolbar gtk x-toolkit x multi-tty make-network-process emacs)