From unknown Sat Jun 21 03:20:28 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#24179 <24179@debbugs.gnu.org> To: bug#24179 <24179@debbugs.gnu.org> Subject: Status: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place Reply-To: bug#24179 <24179@debbugs.gnu.org> Date: Sat, 21 Jun 2025 10:20:28 +0000 retitle 24179 25.1; scroll-conservatively over SCROLL_LIMIT may put point i= n the wrong place reassign 24179 emacs submitter 24179 Alex severity 24179 normal tag 24179 fixed thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 17:16:18 2016 Received: (at submit) by debbugs.gnu.org; 7 Aug 2016 21:16:19 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 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 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 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 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 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) 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) From: Alex To: bug-gnu-emacs@gnu.org Subject: 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> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain 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-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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: -4.0 (----) 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) From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 07 22:39:45 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 02:39:45 +0000 Received: from localhost ([127.0.0.1]:59397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWaTh-0000x9-6n for submit@debbugs.gnu.org; Sun, 07 Aug 2016 22:39:45 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37615) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWaTf-0000ww-7s for 24179@debbugs.gnu.org; Sun, 07 Aug 2016 22:39:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWaTV-0003k9-AX for 24179@debbugs.gnu.org; Sun, 07 Aug 2016 22:39:38 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:54031) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWaTV-0003k5-7X; Sun, 07 Aug 2016 22:39:33 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4101 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bWaTT-0001DJ-K3; Sun, 07 Aug 2016 22:39:31 -0400 Date: Mon, 08 Aug 2016 05:39:17 +0300 Message-Id: <83vazchtm2.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87y448s2k8.fsf@gmail.com> (message from Alex on Sun, 07 Aug 2016 15:15:51 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Date: Sun, 07 Aug 2016 15:15:51 -0600 > > > 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: I'd really appreciate if you could post a recipe that doesn't need magit. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 01:43:41 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 05:43:41 +0000 Received: from localhost ([127.0.0.1]:59434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWdLh-0005La-GA for submit@debbugs.gnu.org; Mon, 08 Aug 2016 01:43:41 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:33849) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWdLg-0005LL-Ds for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 01:43:40 -0400 Received: by mail-io0-f181.google.com with SMTP id q83so349352655iod.1 for <24179@debbugs.gnu.org>; Sun, 07 Aug 2016 22:43:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=RzQnQu2NGMCjGE2MFP/CAAVMPW6u1b7zyieY6K5T+lA=; b=VKsX0AJl9byMa5QV4UNjyY20o+loAU5/k0Zrw38vao5LZ7PXd/UjbRO1byCoYp3PaH HOCSgz09n14gTjRUiCYlBCayATAqZpLL/y1UDO5+2BKJtyLKOSSZhFRLWHcsUbl1RvNj scJ+c9+kc7ewqg3gnBOlnQTSSD6HG7tUDYOqCDAp/N8vedYFFpRE22BR8FV3V9DB0Lpv iGOxECvl/P40fv8iTPVK3EX7Mlr86G8kPAGLfVdB0ya3X0uthH/nNCmq8ESjUrdsIK6r Y6YYgYQVeF0uUIoZwK33PVm70psUedWMwMMlqA6bYx3N5S2lghe9nHPXf68WeF73EmeT YSkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=RzQnQu2NGMCjGE2MFP/CAAVMPW6u1b7zyieY6K5T+lA=; b=jIoMzcOKEJKcFYgKnvaKRQEzv7hz5FT3sIWZva6CjSjJK0z8pfgvL8JPLSiyjT1i0W zvmfN+NoooIdCg5lxqGLWeqTyWdx1csQ1CYrbw2vNhTUGEOjhB5v8FtzQp/mdXcbuKCV rcLpgve4FcrHM0k8R6VJIWb30msnTU1bcHPt9M6hvDW4uuydbXOWnGkbOFcG5cI10M+U oWCCGASIPYHYCkcAQFTX6W5BVrXUi6KWjuGfF0Ue4uRtc13M9y4BJq61R4bZiDqXDV90 GkxITB4mxK8LSJJdqgkkqorRz6XuBqsVVI7plrxlYhISCkjSmI4nEYjHB+EfAeobju7T xaIQ== X-Gm-Message-State: AEkoouv/50y4wndTsBQZ7hP6P2uzEt/mj2ZszKtzT7H3ZAaTF+IHk8Q9/ztOehFezrK83w== X-Received: by 10.107.139.194 with SMTP id n185mr102868699iod.159.1470635014912; Sun, 07 Aug 2016 22:43:34 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id k12sm13683650iok.8.2016.08.07.22.43.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 07 Aug 2016 22:43:34 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> Date: Sun, 07 Aug 2016 23:42:33 -0600 In-Reply-To: <83vazchtm2.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Aug 2016 05:39:17 +0300") Message-ID: <8737mfyfxy.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) --=-=-= Content-Type: text/plain Eli Zaretskii writes: > I'd really appreciate if you could post a recipe that doesn't need > magit. > > Thanks. Is there a way to save a buffer including all overlays so that both the text and overlays can be regenerated later? I can't seem to find an Emacs function for the job. It would have made getting the recipe a lot simpler. I've attached a recipe file below. Once the recipe function is executed, open the `test' buffer and do C-n as desired (or try M-g c 1350 and C-f as above). --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=recipe.el Content-Transfer-Encoding: quoted-printable Content-Description: recipe (defun recipe () (with-current-buffer (get-buffer-create "test") (insert-file-contents "~/emacs/lisp/version.el") ;; your version.el goe= s here (dolist (prop overlay-properties) (let ((ov (make-overlay (plist-get prop 'start) (plist-get prop 'end)= ))) (overlay-put ov 'before-string (plist-get prop 'before-string)))))) (setq overlay-properties '((before-string #(" " 0 1 (display ((margin left-= margin) #("135" 0 3 (face linum))))) start 4994 end 4995) (before-string #(= "Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 4994 end 5019) (before-string #(" " 0 1 (display ((margin left-margin= ) #("134" 0 3 (face linum))))) start 4993 end 4994) (before-string #("Dave = Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 4993 end 4994) (before-string #(" " 0 1 (display ((margin left-margin= ) #("133" 0 3 (face linum))))) start 4980 end 4981) (before-string #("Eli Z= aretskii 2012-04-20 02:57 Put the '$Id:' tag into MS-Windows executa= ble of Emacs. " 0 13 (face magit-blame-name) 13 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 93 (face magit-blame-summary) 93 94 (face magit-blame-heading)= ) start 4980 end 4993) (before-string #(" " 0 1 (display ((margin left-marg= in) #("132" 0 3 (face linum))))) start 4905 end 4906) (before-string #("Jua= nma Barranquero 2005-07-21 04:38 \"?\\ \" -> \"?\\s\". " 0 18 (face magit-blame-name) 18 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 53 (face magit-blame-summary) 53 54 (face magit-blame-heading)= ) start 4905 end 4980) (before-string #(" " 0 1 (display ((margin left-marg= in) #("131" 0 3 (face linum))))) start 4831 end 4832) (before-string #("Ric= hard M. Stallman 2002-01-11 14:11 Comment change. " 0 19 (face magit-blame-name) 19 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 53 (face magit-blame-summary) 53 54 (face magit-blame-heading)= ) start 4831 end 4905) (before-string #(" " 0 1 (display ((margin left-marg= in) #("130" 0 3 (face linum))))) start 4830 end 4831) (before-string #("Gle= nn Morris 2012-04-07 06:51 Add emacs-bzr-version " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 59 (face magit-blame-summary) 59 60 (face magit-blame-heading)= ) start 4830 end 4831) (before-string #(" " 0 1 (display ((margin left-marg= in) #("129" 0 3 (face linum))))) start 4770 end 4771) (before-string #(" " = 0 1 (display ((margin left-margin) #("128" 0 3 (face linum))))) start 4730 = end 4731) (before-string #("Paul Eggert 2016-06-01 07:26 Avoid del= ving into Git internals for version " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 82 (face magit-blame-summary) 82 83 (face magit-blame-heading)= ) start 4730 end 4830) (before-string #(" " 0 1 (display ((margin left-marg= in) #("127" 0 3 (face linum))))) start 4655 end 4656) (before-string #("Gle= nn Morris 2015-06-13 11:17 Tweaks for getting repository version; a= bit more like it was for bzr. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 108 (face magit-blame-summary) 108 109 (face magit-blame-headi= ng)) start 4655 end 4730) (before-string #(" " 0 1 (display ((margin left-m= argin) #("126" 0 3 (face linum))))) start 4654 end 4655) (before-string #("= " 0 1 (display ((margin left-margin) #("125" 0 3 (face linum))))) start 46= 21 end 4622) (before-string #(" " 0 1 (display ((margin left-margin) #("124= " 0 3 (face linum))))) start 4557 end 4558) (before-string #(" " 0 1 (displ= ay ((margin left-margin) #("123" 0 3 (face linum))))) start 4494 end 4495) = (before-string #(" " 0 1 (display ((margin left-margin) #("122" 0 3 (face l= inum))))) start 4434 end 4435) (before-string #(" " 0 1 (display ((margin l= eft-margin) #("121" 0 3 (face linum))))) start 4368 end 4369) (before-strin= g #(" " 0 1 (display ((margin left-margin) #("120" 0 3 (face linum))))) sta= rt 4293 end 4294) (before-string #("Eric S. Raymond 2014-01-08 14:32 C= reate a needed obsolete-variable alias. Fix up some docstrings. " 0 15 (face magit-blame-name) 15 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 102 (face magit-blame-summary) 102 103 (face magit-blame-headi= ng)) start 4293 end 4655) (before-string #(" " 0 1 (display ((margin left-m= argin) #("119" 0 3 (face linum))))) start 4232 end 4233) (before-string #("= Glenn Morris 2015-06-13 11:17 Tweaks for getting repository version= ; a bit more like it was for bzr. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 108 (face magit-blame-summary) 108 109 (face magit-blame-headi= ng)) start 4232 end 4293) (before-string #(" " 0 1 (display ((margin left-m= argin) #("118" 0 3 (face linum))))) start 4231 end 4232) (before-string #("= Glenn Morris 2015-06-13 11:17 Tweaks for getting repository version= ; a bit more like it was for bzr. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 108 (face magit-blame-summary) 108 109 (face magit-blame-headi= ng)) start 4231 end 4232) (before-string #(" " 0 1 (display ((margin left-m= argin) #("117" 0 3 (face linum))))) start 4206 end 4207) (before-string #("= " 0 1 (display ((margin left-margin) #("116" 0 3 (face linum))))) start 41= 66 end 4167) (before-string #(" " 0 1 (display ((margin left-margin) #("115= " 0 3 (face linum))))) start 4131 end 4132) (before-string #("Glenn Morris = 2015-06-14 10:33 * lisp/version.el (emacs-repository-version-git): = Demote errors. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 102 (face magit-blame-summary) 102 103 (face magit-blame-headi= ng)) start 4131 end 4231) (before-string #(" " 0 1 (display ((margin left-m= argin) #("114" 0 3 (face linum))))) start 4069 end 4070) (before-string #("= Glenn Morris 2015-06-13 11:17 Tweaks for getting repository version= ; a bit more like it was for bzr. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 108 (face magit-blame-summary) 108 109 (face magit-blame-headi= ng)) start 4069 end 4131) (before-string #(" " 0 1 (display ((margin left-m= argin) #("113" 0 3 (face linum))))) start 4006 end 4007) (before-string #("= Glenn Morris 2015-06-14 10:33 * lisp/version.el (emacs-repository-v= ersion-git): Demote errors. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 102 (face magit-blame-summary) 102 103 (face magit-blame-headi= ng)) start 4006 end 4069) (before-string #(" " 0 1 (display ((margin left-m= argin) #("112" 0 3 (face linum))))) start 3989 end 3990) (before-string #("= " 0 1 (display ((margin left-margin) #("111" 0 3 (face linum))))) start 39= 29 end 3930) (before-string #(" " 0 1 (display ((margin left-margin) #("110= " 0 3 (face linum))))) start 3909 end 3910) (before-string #(" " 0 1 (displ= ay ((margin left-margin) #("109" 0 3 (face linum))))) start 3876 end 3877) = (before-string #(" " 0 1 (display ((margin left-margin) #("108" 0 3 (face l= inum))))) start 3810 end 3811) (before-string #(" " 0 1 (display ((margin l= eft-margin) #("107" 0 3 (face linum))))) start 3768 end 3769) (before-strin= g #("Glenn Morris 2015-06-13 11:17 Tweaks for getting repository ve= rsion; a bit more like it was for bzr. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 108 (face magit-blame-summary) 108 109 (face magit-blame-headi= ng)) start 3768 end 4006) (before-string #(" " 0 1 (display ((margin left-m= argin) #("106" 0 3 (face linum))))) start 3767 end 3768) (before-string #("= Eric S. Raymond 2014-01-10 06:13 Restore compatibilty with 23.1 (Teste= d) " 0 15 (face magit-blame-name) 15 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 77 (face magit-blame-summary) 77 78 (face magit-blame-heading)= ) start 3767 end 3768) (before-string #(" " 0 1 (display ((margin left-marg= in) #("105" 0 3 (face linum))))) start 3697 end 3698) (before-string #("Gle= nn Morris 2014-10-31 05:09 Yet another change for git migration bac= kported from trunk. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 97 (face magit-blame-summary) 97 98 (face magit-blame-heading)= ) start 3697 end 3767) (before-string #(" " 0 1 (display ((margin left-marg= in) #("104" 0 3 (face linum))))) start 3642 end 3643) (before-string #("Eri= c S. Raymond 2014-01-10 06:13 Restore compatibilty with 23.1 (Tested) " 0 15 (face magit-blame-name) 15 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 77 (face magit-blame-summary) 77 78 (face magit-blame-heading)= ) start 3642 end 3697) (before-string #(" " 0 1 (display ((margin left-marg= in) #("103" 0 3 (face linum))))) start 3641 end 3642) (before-string #("Gle= nn Morris 2012-04-07 06:51 Add emacs-bzr-version " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 59 (face magit-blame-summary) 59 60 (face magit-blame-heading)= ) start 3641 end 3642) (before-string #(" " 0 1 (display ((margin left-marg= in) #("102" 0 3 (face linum))))) start 3575 end 3576) (before-string #("Gle= nn Morris 2014-10-31 05:09 Yet another change for git migration bac= kported from trunk. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 97 (face magit-blame-summary) 97 98 (face magit-blame-heading)= ) start 3575 end 3641) (before-string #(" " 0 1 (display ((margin left-marg= in) #("101" 0 3 (face linum))))) start 3524 end 3525) (before-string #(" " = 0 1 (display ((margin left-margin) #("100" 0 3 (face linum))))) start 3523 = end 3524) (before-string #(" " 0 1 (display ((margin left-margin) #(" 99" 0= 3 (face linum))))) start 3478 end 3479) (before-string #(" " 0 1 (display = ((margin left-margin) #(" 98" 0 3 (face linum))))) start 3414 end 3415) (be= fore-string #(" " 0 1 (display ((margin left-margin) #(" 97" 0 3 (face linu= m))))) start 3340 end 3341) (before-string #("Eric S. Raymond 2014-01-= 08 14:32 Create a needed obsolete-variable alias. Fix up some docstrings. " 0 15 (face magit-blame-name) 15 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 102 (face magit-blame-summary) 102 103 (face magit-blame-headi= ng)) start 3340 end 3575) (before-string #(" " 0 1 (display ((margin left-m= argin) #(" 96" 0 3 (face linum))))) start 3303 end 3304) (before-string #("= Eric S. Raymond 2014-01-08 11:57 In preparation for the move to git, s= anitize out some Bazaar-specific names. " 0 15 (face magit-blame-name) 15 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 114 (face magit-blame-summary) 114 115 (face magit-blame-headi= ng)) start 3303 end 3340) (before-string #(" " 0 1 (display ((margin left-m= argin) #(" 95" 0 3 (face linum))))) start 3237 end 3238) (before-string #("= Glenn Morris 2012-04-07 06:51 Add emacs-bzr-version " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 59 (face magit-blame-summary) 59 60 (face magit-blame-heading)= ) start 3237 end 3303) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 94" 0 3 (face linum))))) start 3236 end 3237) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 93" 0 3 (face linum))))) start 3201 = end 3202) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 3201 end 3237) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 92" 0 3 (face linum))))) start 3144 end 3145) (before-string #("Stefa= n Monnier 2001-11-16 17:59 *** empty log message *** " 0 14 (face magit-blame-name) 14 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 63 (face magit-blame-summary) 63 64 (face magit-blame-heading)= ) start 3144 end 3201) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 91" 0 3 (face linum))))) start 3143 end 3144) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 90" 0 3 (face linum))))) start 3116 = end 3117) (before-string #(" " 0 1 (display ((margin left-margin) #(" 89" 0= 3 (face linum))))) start 3076 end 3077) (before-string #("Dave Love = 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 3076 end 3144) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 88" 0 3 (face linum))))) start 3028 end 3029) (before-string #("Juanm= a Barranquero 2009-10-01 21:48 Use `called-interactively-p' instead of `i= nteractive-p'. " 0 18 (face magit-blame-name) 18 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 94 (face magit-blame-summary) 94 95 (face magit-blame-heading)= ) start 3028 end 3076) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 87" 0 3 (face linum))))) start 2996 end 2997) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 86" 0 3 (face linum))))) start 2983 = end 2984) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 2983 end 3028) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 85" 0 3 (face linum))))) start 2971 end 2972) (before-string #(" " 0 = 1 (display ((margin left-margin) #(" 84" 0 3 (face linum))))) start 2947 en= d 2948) (before-string #(" " 0 1 (display ((margin left-margin) #(" 83" 0 3= (face linum))))) start 2924 end 2925) (before-string #(" " 0 1 (display ((= margin left-margin) #(" 82" 0 3 (face linum))))) start 2904 end 2905) (befo= re-string #(" " 0 1 (display ((margin left-margin) #(" 81" 0 3 (face linum)= )))) start 2878 end 2879) (before-string #(" " 0 1 (display ((margin left-m= argin) #(" 80" 0 3 (face linum))))) start 2843 end 2844) (before-string #("= " 0 1 (display ((margin left-margin) #(" 79" 0 3 (face linum))))) start 28= 08 end 2809) (before-string #(" " 0 1 (display ((margin left-margin) #(" 78= " 0 3 (face linum))))) start 2784 end 2785) (before-string #("Paul Eggert = 2016-03-02 04:24 Deterministic build improvements " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 70 (face magit-blame-summary) 70 71 (face magit-blame-heading)= ) start 2784 end 2983) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 77" 0 3 (face linum))))) start 2775 end 2776) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 76" 0 3 (face linum))))) start 2717 = end 2718) (before-string #(" " 0 1 (display ((margin left-margin) #(" 75" 0= 3 (face linum))))) start 2683 end 2684) (before-string #(" " 0 1 (display = ((margin left-margin) #(" 74" 0 3 (face linum))))) start 2635 end 2636) (be= fore-string #(" " 0 1 (display ((margin left-margin) #(" 73" 0 3 (face linu= m))))) start 2591 end 2592) (before-string #("Gerd Moellmann 2000-12-= 27 08:34 (emacs-version): Print X scroll bar information. " 0 14 (face magit-blame-name) 14 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 86 (face magit-blame-summary) 86 87 (face magit-blame-heading)= ) start 2591 end 2784) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 72" 0 3 (face linum))))) start 2582 end 2583) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 71" 0 3 (face linum))))) start 2524 = end 2525) (before-string #(" " 0 1 (display ((margin left-margin) #(" 70" 0= 3 (face linum))))) start 2499 end 2500) (before-string #("Jan D = 2015-02-11 10:14 Add cairo drawing. " 0 5 (face magit-blame-name) 5 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 56 (face magit-blame-summary) 56 57 (face magit-blame-heading)) = start 2499 end 2591) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 69" 0 3 (face linum))))) start 2482 end 2483) (before-string #("Dave = Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 2482 end 2499) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 68" 0 3 (face linum))))) start 2441 end 2442) (before-string #("Adria= n Robert 2008-10-22 06:51 * lisp/version.el (emacs-version): Change = '*Step' to 'NS' for consistency with other documentation. * src/nsfns.m (n= s_appkit_version): New function. (x-server-version): Use it. (syms_of_nsf= ns): Define ns-version-string here, not nsterm.m. (x-server-vendor): Don't= check_ns(). * nsterm.m (syms_of_nsterm): Drop ns-version-string. " 0 13 (face magit-blame-name) 13 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 371 (face magit-blame-summary) 371 372 (face magit-blame-headi= ng)) start 2441 end 2482) (before-string #(" " 0 1 (display ((margin left-m= argin) #(" 67" 0 3 (face linum))))) start 2416 end 2417) (before-string #("= Dan Nicolaescu 2008-07-23 00:01 * term/ns-win.el: " 0 14 (face magit-blame-name) 14 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 55 (face magit-blame-summary) 55 56 (face magit-blame-heading)= ) start 2416 end 2441) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 66" 0 3 (face linum))))) start 2369 end 2370) (before-string #("Joh= n Paul Wallington 2004-05-13 07:01 (emacs-version): Check for `gtk' feature= before `x-toolkit' feature. " 0 20 (face magit-blame-name) 20 21 (face magit-blame-heading) 21 37 (face= magit-blame-date) 37 38 (face magit-blame-heading) 38 106 (face magit-blam= e-summary) 106 107 (face magit-blame-heading)) start 2369 end 2416) (before= -string #(" " 0 1 (display ((margin left-margin) #(" 65" 0 3 (face linum)))= )) start 2319 end 2320) (before-string #(" " 0 1 (display ((margin left-mar= gin) #(" 64" 0 3 (face linum))))) start 2293 end 2294) (before-string #("Lu= te Kamstra 2003-08-26 02:46 (emacs-version): Check for gtk. Includ= e gtk version info. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 96 (face magit-blame-summary) 96 97 (face magit-blame-heading)= ) start 2293 end 2369) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 63" 0 3 (face linum))))) start 2240 end 2241) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 62" 0 3 (face linum))))) start 2212 = end 2213) (before-string #("Gerd Moellmann 2001-04-05 07:13 (emacs-ve= rsion): Include LessTif/Motif version info. " 0 14 (face magit-blame-name) 14 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 90 (face magit-blame-summary) 90 91 (face magit-blame-heading)= ) start 2212 end 2293) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 61" 0 3 (face linum))))) start 2188 end 2189) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 60" 0 3 (face linum))))) start 2157 = end 2158) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 2157 end 2212) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 59" 0 3 (face linum))))) start 2112 end 2113) (before-string #("Paul = Eggert 2016-03-02 04:24 Deterministic build improvements " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 70 (face magit-blame-summary) 70 71 (face magit-blame-heading)= ) start 2112 end 2157) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 58" 0 3 (face linum))))) start 2088 end 2089) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 57" 0 3 (face linum))))) start 2068 = end 2069) (before-string #(" " 0 1 (display ((margin left-margin) #(" 56" 0= 3 (face linum))))) start 1998 end 1999) (before-string #(" " 0 1 (display = ((margin left-margin) #(" 55" 0 3 (face linum))))) start 1934 end 1935) (be= fore-string #(" " 0 1 (display ((margin left-margin) #(" 54" 0 3 (face linu= m))))) start 1872 end 1873) (before-string #("Dave Love 1999-10-= 04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 1872 end 2112) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 53" 0 3 (face linum))))) start 1806 end 1807) (before-string #(" " 0 = 1 (display ((margin left-margin) #(" 52" 0 3 (face linum))))) start 1768 en= d 1769) (before-string #("Glenn Morris 2012-05-25 08:57 There's no = reason not to compile version.el " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 81 (face magit-blame-summary) 81 82 (face magit-blame-heading)= ) start 1768 end 1872) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 51" 0 3 (face linum))))) start 1767 end 1768) (before-string #("Jua= nma Barranquero 2012-05-27 13:31 lips/version.el (*-version-string): Decl= are. " 0 18 (face magit-blame-name) 18 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 82 (face magit-blame-summary) 82 83 (face magit-blame-heading)= ) start 1767 end 1768) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 50" 0 3 (face linum))))) start 1737 end 1738) (before-string #("Gle= nn Morris 2015-06-06 06:12 Address some compilation warnings. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 72 (face magit-blame-summary) 72 73 (face magit-blame-heading)= ) start 1737 end 1767) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 49" 0 3 (face linum))))) start 1710 end 1711) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 48" 0 3 (face linum))))) start 1682 = end 1683) (before-string #(" " 0 1 (display ((margin left-margin) #(" 47" 0= 3 (face linum))))) start 1652 end 1653) (before-string #("Juanma Barranque= ro 2012-05-27 13:31 lips/version.el (*-version-string): Declare. " 0 18 (face magit-blame-name) 18 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 82 (face magit-blame-summary) 82 83 (face magit-blame-heading)= ) start 1652 end 1737) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 46" 0 3 (face linum))))) start 1651 end 1652) (before-string #("Dav= e Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 1651 end 1652) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 45" 0 3 (face linum))))) start 1585 end 1586) (before-string #(" " 0 = 1 (display ((margin left-margin) #(" 44" 0 3 (face linum))))) start 1519 en= d 1520) (before-string #("Paul Eggert 2016-03-02 04:24 Determinist= ic build improvements " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 70 (face magit-blame-summary) 70 71 (face magit-blame-heading)= ) start 1519 end 1651) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 43" 0 3 (face linum))))) start 1518 end 1519) (before-string #("Dav= e Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 1518 end 1519) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 42" 0 3 (face linum))))) start 1443 end 1444) (before-string #(" " 0 = 1 (display ((margin left-margin) #(" 41" 0 3 (face linum))))) start 1400 en= d 1401) (before-string #("Paul Eggert 2016-03-02 04:24 Determinist= ic build improvements " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 70 (face magit-blame-summary) 70 71 (face magit-blame-heading)= ) start 1400 end 1518) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 40" 0 3 (face linum))))) start 1399 end 1400) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 39" 0 3 (face linum))))) start 1351 = end 1352) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 1351 end 1400) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 38" 0 3 (face linum))))) start 1301 end 1302) (before-string #(" " 0 = 1 (display ((margin left-margin) #(" 37" 0 3 (face linum))))) start 1241 en= d 1242) (before-string #(" " 0 1 (display ((margin left-margin) #(" 36" 0 3= (face linum))))) start 1178 end 1179) (before-string #(" " 0 1 (display ((= margin left-margin) #(" 35" 0 3 (face linum))))) start 1148 end 1149) (befo= re-string #("Glenn Morris 2012-05-25 08:57 There's no reason not to= compile version.el " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 81 (face magit-blame-summary) 81 82 (face magit-blame-heading)= ) start 1148 end 1351) (before-string #(" " 0 1 (display ((margin left-marg= in) #(" 34" 0 3 (face linum))))) start 1147 end 1148) (before-string #(" " = 0 1 (display ((margin left-margin) #(" 33" 0 3 (face linum))))) start 1099 = end 1100) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 1099 end 1148) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 1" 0 3 (face linum))))) start 1 end 2) (before-string #("Glenn Morri= s 2012-05-25 08:57 There's no reason not to compile version.el " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 81 (face magit-blame-summary) 81 82 (face magit-blame-heading)= ) start 1 end 51) (before-string #(" " 0 1 (display ((margin left-margin) #= (" 2" 0 3 (face linum))))) start 51 end 52) (before-string #("Dave Love = 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 51 end 52) (before-string #(" " 0 1 (display ((margin left-margin) #(= " 3" 0 3 (face linum))))) start 52 end 53) (before-string #("Paul Eggert = 2015-12-31 19:34 Update copyright year to 2016 " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 67 (face magit-blame-summary) 67 68 (face magit-blame-heading)= ) start 52 end 116) (before-string #(" " 0 1 (display ((margin left-margin)= #(" 4" 0 3 (face linum))))) start 116 end 117) (before-string #("Paul Egg= ert 2013-01-01 03:11 Update copyright notices for 2013. " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 72 (face magit-blame-summary) 72 73 (face magit-blame-heading)= ) start 116 end 136) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 5" 0 3 (face linum))))) start 136 end 137) (before-string #("Dave Lo= ve 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 136 end 137) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 6" 0 3 (face linum))))) start 137 end 138) (before-string #("Glenn Mor= ris 2014-02-09 11:34 Replace \"Maintainer: FSF\" with the emacs-dev= el mailing address " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 100 (face magit-blame-summary) 100 101 (face magit-blame-headi= ng)) start 137 end 172) (before-string #(" " 0 1 (display ((margin left-mar= gin) #(" 7" 0 3 (face linum))))) start 172 end 173) (before-string #("Dave= Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 172 end 194) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 8" 0 3 (face linum))))) start 194 end 195) (before-string (keymap (mou= se-2 . undefined) (down-mouse-2 . flyspell-correct-word)) start 206 end 211= ) (before-string #("Chong Yidong 2010-08-29 06:17 Add \"Package:\" = file headers to denote built-in packages. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 94 (face magit-blame-summary) 94 95 (face magit-blame-heading)= ) start 194 end 212) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 9" 0 3 (face linum))))) start 212 end 213) (before-string #(" " 0 1 = (display ((margin left-margin) #(" 10" 0 3 (face linum))))) start 213 end 2= 14) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 212 end 249) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 11" 0 3 (face linum))))) start 248 end 249) (before-string #(" " 0 1 (d= isplay ((margin left-margin) #(" 12" 0 3 (face linum))))) start 249 end 250= ) (before-string #("Glenn Morris 2008-05-06 02:06 Switch to recomme= nded form of GPLv3 permissions notice. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 93 (face magit-blame-summary) 93 94 (face magit-blame-heading)= ) start 249 end 318) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 13" 0 3 (face linum))))) start 318 end 319) (before-string #("Dave Lo= ve 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 318 end 390) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 14" 0 3 (face linum))))) start 390 end 391) (before-string #(" " 0 1 (d= isplay ((margin left-margin) #(" 15" 0 3 (face linum))))) start 459 end 460= ) (before-string #("Glenn Morris 2008-05-06 02:06 Switch to recomme= nded form of GPLv3 permissions notice. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 93 (face magit-blame-summary) 93 94 (face magit-blame-heading)= ) start 390 end 498) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 16" 0 3 (face linum))))) start 498 end 499) (before-string #(" " 0 1 = (display ((margin left-margin) #(" 17" 0 3 (face linum))))) start 499 end 5= 00) (before-string #(" " 0 1 (display ((margin left-margin) #(" 18" 0 3 (fa= ce linum))))) start 563 end 564) (before-string #(" " 0 1 (display ((margin= left-margin) #(" 19" 0 3 (face linum))))) start 629 end 630) (before-strin= g #(" " 0 1 (display ((margin left-margin) #(" 20" 0 3 (face linum))))) sta= rt 694 end 695) (before-string #(" " 0 1 (display ((margin left-margin) #("= 21" 0 3 (face linum))))) start 742 end 743) (before-string #(" " 0 1 (disp= lay ((margin left-margin) #(" 22" 0 3 (face linum))))) start 743 end 744) (= before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 498 end 812) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 23" 0 3 (face linum))))) start 812 end 813) (before-string #("Glenn Mor= ris 2008-05-06 02:06 Switch to recommended form of GPLv3 permission= s notice. " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 93 (face magit-blame-summary) 93 94 (face magit-blame-heading)= ) start 812 end 882) (before-string #(" " 0 1 (display ((margin left-margin= ) #(" 24" 0 3 (face linum))))) start 882 end 883) (before-string #("Dave Lo= ve 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 882 end 883) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 25" 0 3 (face linum))))) start 883 end 884) (before-string #("Pavel Jan= =C3=ADk 2001-07-15 10:15 Some fixes to follow coding conventions i= n files maintained by FSF. " 0 11 (face magit-blame-name) 11 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 105 (face magit-blame-summary) 105 106 (face magit-blame-headi= ng)) start 883 end 900) (before-string #(" " 0 1 (display ((margin left-mar= gin) #(" 26" 0 3 (face linum))))) start 899 end 900) (before-string #(" " 0= 1 (display ((margin left-margin) #(" 27" 0 3 (face linum))))) start 900 en= d 901) (before-string #("Dave Love 1999-10-04 11:15 # " 0 9 (face magit-blame-name) 9 20 (face magit-blame-heading) 20 21 (face m= agit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame-h= eading) 38 39 (face magit-blame-summary) 39 40 (face magit-blame-heading)) = start 900 end 911) (before-string #(" " 0 1 (display ((margin left-margin) = #(" 28" 0 3 (face linum))))) start 910 end 911) (before-string #(" " 0 1 (d= isplay ((margin left-margin) #(" 29" 0 3 (face linum))))) start 911 end 912= ) (before-string #(" " 0 1 (display ((margin left-margin) #(" 30" 0 3 (face= linum))))) start 941 end 942) (before-string #(" " 0 1 (display ((margin l= eft-margin) #(" 31" 0 3 (face linum))))) start 989 end 990) (before-string = #(" " 0 1 (display ((margin left-margin) #(" 32" 0 3 (face linum))))) start= 1049 end 1050) (before-string #("Glenn Morris 2012-05-25 08:57 The= re's no reason not to compile version.el " 0 12 (face magit-blame-name) 12 20 (face magit-blame-heading) 20 21 (face= magit-blame-heading) 21 37 (face magit-blame-date) 37 38 (face magit-blame= -heading) 38 81 (face magit-blame-summary) 81 82 (face magit-blame-heading)= ) start 911 end 1099))) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 11:32:28 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 15:32:28 +0000 Received: from localhost ([127.0.0.1]:60215 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmXU-0007Bj-Cp for submit@debbugs.gnu.org; Mon, 08 Aug 2016 11:32:28 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWmXR-0007BS-Dy for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 11:32:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWmXH-0004xr-GO for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 11:32:20 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34273) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWmXH-0004xj-Cs; Mon, 08 Aug 2016 11:32:15 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4663 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bWmXF-0003TB-L0; Mon, 08 Aug 2016 11:32:14 -0400 Date: Mon, 08 Aug 2016 18:31:56 +0300 Message-Id: <83shufi8er.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <8737mfyfxy.fsf@gmail.com> (message from Alex on Sun, 07 Aug 2016 23:42:33 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Sun, 07 Aug 2016 23:42:33 -0600 > > Is there a way to save a buffer including all overlays so that both the > text and overlays can be regenerated later? I'm not sure. > I've attached a recipe file below. Once the recipe function is executed, > open the `test' buffer and do C-n as desired (or try M-g c 1350 and C-f > as above). Thanks, this is very helpful. I think I fixed the problem on the master branch, please test. Btw, magit-blame could be nicer to the display engine by placing a 'cursor' property on the first character of each before-string it creates to show the blamed commit. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 12:35:56 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 16:35:56 +0000 Received: from localhost ([127.0.0.1]:60275 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWnWu-0000Gc-Du for submit@debbugs.gnu.org; Mon, 08 Aug 2016 12:35:56 -0400 Received: from mail-it0-f49.google.com ([209.85.214.49]:38001) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWnWs-0000GN-Rt for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 12:35:55 -0400 Received: by mail-it0-f49.google.com with SMTP id j124so87457784ith.1 for <24179@debbugs.gnu.org>; Mon, 08 Aug 2016 09:35:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=YEDB3GT8Ard0ZY0k2qjd3hSTIWnKI9KKPP7lWVfe5Ws=; b=abQuUv5PtTJE9udRIoPpS3uz1xq0oXMLxgeutYVbdYZRel7xUkGJWkGnWrGIa+/o7Z k27w63Wl11AT80SIGFU83738Is+pve0wAUOco4rOOw6Q3EVgh0iQNvHUWqPZUKPnuNXx 3faWEMcTDCEkrnw0lfXU8kkf511AZHLOlIKX8eKpqWtdoEBEW1/YcB1YtzTKAkF7r7lw V4uos6c8Se0ic3pejkTNzuOMlBbbmaG2505JplNzuuCZ1uab+i41oyBK/aNhEfPC4jRI M1jagyPAv6drDWxjZoCw5/k6crCu7WAD6qZnjeSy3zoj8YrRrr5lJtK6Buc7X50RiQLM gs6Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=YEDB3GT8Ard0ZY0k2qjd3hSTIWnKI9KKPP7lWVfe5Ws=; b=JZZfM7sEFu9qwjzQc0vHC8GskLDhXNHQBoggmAI6ZxauIsb+V01p86tM3mr4HoJ9TL hiQoeCIeG/MvfABEEL8R/4ohpOA2qcsw4091AP2r4YuHhEafnc8DJISubzfVNdYdKZou GPXOYm4aMJi0kNccrfTIFRxY7lOQc4jpvHJzTzlWWOQH37jNsN36lj5FeYWvCWMVawwD t13Lf8VkmYJJGSfL1YP4/QsVoiqcVHhQbZafE1hRBR6fje0uKlWN+Fu1yTp1b+pYge68 KkZ1jX+MLrIRe8OxyRMB+3Z4X+a7t5X3kziaozOtOqiBXDXOTOxIQ4alRyNZ4dv2xWfz psVQ== X-Gm-Message-State: AEkooutIvvIoilx/nNgoAlONGgEgYraix73SqNEgzz4O31+NSaew6swbyJGWYAx771OfSw== X-Received: by 10.36.115.5 with SMTP id y5mr19692455itb.63.1470674149189; Mon, 08 Aug 2016 09:35:49 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id 69sm10485135itf.6.2016.08.08.09.35.47 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Aug 2016 09:35:48 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> Date: Mon, 08 Aug 2016 10:35:37 -0600 In-Reply-To: <83shufi8er.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Aug 2016 18:31:56 +0300") Message-ID: <87r39zkyli.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Eli Zaretskii writes: > Thanks, this is very helpful. I think I fixed the problem on the > master branch, please test. It appears that the point lands on the correct position, thanks. Unfortunately it seems like there's a brief delay (that is only noticeable in magit-blame) now where the point is temporarily in the wrong place (as before), before quickly moving to the correct position. That's much better than before, though. > Btw, magit-blame could be nicer to the display engine by placing a > 'cursor' property on the first character of each before-string it > creates to show the blamed commit. Perhaps that would help with the above delay? From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 12:59:06 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 16:59:06 +0000 Received: from localhost ([127.0.0.1]:60280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWntK-0000lz-CS for submit@debbugs.gnu.org; Mon, 08 Aug 2016 12:59:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWntJ-0000lV-3K for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 12:59:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWntA-0005fS-Ms for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 12:58:59 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35386) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWntA-0005fJ-Jz; Mon, 08 Aug 2016 12:58:56 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4814 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bWnt8-0007fL-PL; Mon, 08 Aug 2016 12:58:55 -0400 Date: Mon, 08 Aug 2016 19:58:38 +0300 Message-Id: <83fuqfi4e9.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87r39zkyli.fsf@gmail.com> (message from Alex on Mon, 08 Aug 2016 10:35:37 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Mon, 08 Aug 2016 10:35:37 -0600 > > Unfortunately it seems like there's a brief delay (that is only > noticeable in magit-blame) now where the point is temporarily in the > wrong place (as before), before quickly moving to the correct position. Not on my system, not after C-f at position 1350 anyway. However, what you describe happens elsewhere in magit-blame's display. E.g., I see it when I do "M-g c 1350 RET" as part of the recipe. So this is a separate issue. In general, overlay strings with newlines are hard on the display engine, especially when line-move-visual is on and under scroll-conservatively. > > Btw, magit-blame could be nicer to the display engine by placing a > > 'cursor' property on the first character of each before-string it > > creates to show the blamed commit. > > Perhaps that would help with the above delay? Could be. It will also eliminate those annoying jumps of the cursor when it needs to "step over" the lines that come from before-strings. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 13:22:38 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 17:22:38 +0000 Received: from localhost ([127.0.0.1]:60300 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWoG6-0001Kw-C9 for submit@debbugs.gnu.org; Mon, 08 Aug 2016 13:22:38 -0400 Received: from mail-it0-f48.google.com ([209.85.214.48]:37695) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWoG5-0001Kk-6G for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 13:22:37 -0400 Received: by mail-it0-f48.google.com with SMTP id f6so88433016ith.0 for <24179@debbugs.gnu.org>; Mon, 08 Aug 2016 10:22:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=e6RUFP5k3Uvv6srfEc1Moq/JyJjd9jLA29wquhqTE+s=; b=juS2G4cx8JlX4tH3ubD24WZvL+MGlfiFlx6r47C2NcULymUEhw2oI0wu1rRgwSFEPg lYkmNCjiAlyuO4bC0AJDemwkLgiyuPr6NkGfQFvV8UcOTtFHCzoKk0loL3sRODI1OUr/ GSAkq1eSCkj3grc+s9amr/wiCHdvKbniG3F60iWpzM9vk/RjzFMMZ8OgBs1RJDm5nm8k JGPtuR4nOfslZXGitBuHVsRApbp7JFiCE4xs17yMl9a+Jmw4fEyvu8rWE9mSF+1zrku4 2JaUIrYowFuNRkPg5BvcKJc4WVh4AFOIhxSkmVuYBQhRt2ULvtlvPvcNVaSVuzGeZzDe K3Cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=e6RUFP5k3Uvv6srfEc1Moq/JyJjd9jLA29wquhqTE+s=; b=NhlYz2sIWarQ+plG4eUcKwDBKHKnRVBW224wIz6/kuO46IG4lGf89WB+t9961t5iQH WZwhifyhIzHGy5YBgrO9Oh2MncYgJN5zkA9U3Bdd+qHXsF+vbTbYyJ0I/90y+byR76aK 4s6FcAoSC4nNXzaPk5AXplP/saYSihHKBr+WDvPiDgU7n4sT6bCN69MMcowhA4AzCi+H OJugppC/+oqAShnrbbWh+ZX5xzuQZ7R+picqAHLfg1lwX3hlo9SzfofBwxC98KFfczel NnAE0MYU4+dRe2ZnK0iVgzaFadvFM0MSPHqtwy68PePg7iIGCvjFNxBmrb3imTCWJ4ot 07AA== X-Gm-Message-State: AEkoousYLXvAik3eXJXNi8O9RJroeI3T5JPSOsrAOabbr/p6fZjQwUcJ5qHgbQbXLN/q7w== X-Received: by 10.36.91.134 with SMTP id g128mr19935616itb.42.1470676951593; Mon, 08 Aug 2016 10:22:31 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id k186sm14738789ioe.22.2016.08.08.10.22.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 08 Aug 2016 10:22:31 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> Date: Mon, 08 Aug 2016 11:22:29 -0600 In-Reply-To: <83fuqfi4e9.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 08 Aug 2016 19:58:38 +0300") Message-ID: <87invbkwfe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Eli Zaretskii writes: > Not on my system, not after C-f at position 1350 anyway. > > However, what you describe happens elsewhere in magit-blame's display. > E.g., I see it when I do "M-g c 1350 RET" as part of the recipe. So > this is a separate issue. You're right, though it also seems to happen when using C-n. I tried turning off line-move-visual and the delay is still there. Hopefully the cursor property will help. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Mon Aug 08 13:36:13 2016 Received: (at 24179) by debbugs.gnu.org; 8 Aug 2016 17:36:13 +0000 Received: from localhost ([127.0.0.1]:60308 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWoTF-0001f0-65 for submit@debbugs.gnu.org; Mon, 08 Aug 2016 13:36:13 -0400 Received: from eggs.gnu.org ([208.118.235.92]:59714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bWoTC-0001em-Bh for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 13:36:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bWoT2-0004nZ-Ct for 24179@debbugs.gnu.org; Mon, 08 Aug 2016 13:36:05 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35788) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bWoT2-0004nT-9r; Mon, 08 Aug 2016 13:36:00 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4882 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bWoSz-00033k-Ou; Mon, 08 Aug 2016 13:35:58 -0400 Date: Mon, 08 Aug 2016 20:35:43 +0300 Message-Id: <83a8gni2og.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87invbkwfe.fsf@gmail.com> (message from Alex on Mon, 08 Aug 2016 11:22:29 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Mon, 08 Aug 2016 11:22:29 -0600 > > Eli Zaretskii writes: > > > Not on my system, not after C-f at position 1350 anyway. > > > > However, what you describe happens elsewhere in magit-blame's display. > > E.g., I see it when I do "M-g c 1350 RET" as part of the recipe. So > > this is a separate issue. > > You're right, though it also seems to happen when using C-n. I tried > turning off line-move-visual and the delay is still there. Hopefully the > cursor property will help. OK. If no new issues come up due to my changes, please close the bug in a few days. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 11:06:55 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 15:06:55 +0000 Received: from localhost ([127.0.0.1]:54169 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXrZL-00019a-D3 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 11:06:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33129) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXrZG-00019J-09 for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 11:06:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXrZ7-0001qh-P8 for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 11:06:40 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60220) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXrZ7-0001qa-Lf; Thu, 11 Aug 2016 11:06:37 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1664 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXrZ5-0007vb-WD; Thu, 11 Aug 2016 11:06:36 -0400 Date: Thu, 11 Aug 2016 18:06:26 +0300 Message-Id: <83inv7fiq5.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87invbkwfe.fsf@gmail.com> (message from Alex on Mon, 08 Aug 2016 11:22:29 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Mon, 08 Aug 2016 11:22:29 -0600 > > Eli Zaretskii writes: > > > Not on my system, not after C-f at position 1350 anyway. > > > > However, what you describe happens elsewhere in magit-blame's display. > > E.g., I see it when I do "M-g c 1350 RET" as part of the recipe. So > > this is a separate issue. > > You're right, though it also seems to happen when using C-n. I tried > turning off line-move-visual and the delay is still there. I have now fixed that problem as well. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 12:40:03 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 16:40:03 +0000 Received: from localhost ([127.0.0.1]:54231 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXt1X-0004z9-5Y for submit@debbugs.gnu.org; Thu, 11 Aug 2016 12:40:03 -0400 Received: from mail.hostpark.net ([212.243.197.30]:42757) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXt1V-0004yf-2L for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 12:40:01 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 93CCA16B84 for <24179@debbugs.gnu.org>; Thu, 11 Aug 2016 18:39:59 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id NSSk2kddj1Wm for <24179@debbugs.gnu.org>; Thu, 11 Aug 2016 18:39:59 +0200 (CEST) Received: from hal (178-82-62-170.dynamic.hispeed.ch [178.82.62.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 657CC16B81 for <24179@debbugs.gnu.org>; Thu, 11 Aug 2016 18:39:59 +0200 (CEST) User-agent: mu4e 0.9.17; emacs 25.1.1 From: Jonas Bernoulli To: 24179@debbugs.gnu.org Subject: 24179 Date: Thu, 11 Aug 2016 18:39:54 +0200 Message-ID: <87vaz7xns5.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 24179 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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.0 (/) Thanks Eli! > Btw, magit-blame could be nicer to the display engine by placing a > 'cursor' property on the first character of each before-string it > creates to show the blamed commit. After reading the documentation, I cannot quite figure what I am supposed to do. Given this: (with-current-buffer (get-buffer-create "demo") (pop-to-buffer (current-buffer)) (erase-buffer) (insert "one\ntwo\nthree") (backward-word 2) (let ((ov (make-overlay (point) (save-excursion (forward-line 1) (point)))) (heading "before two\n")) (overlay-put ov 'before-string heading) (overlay-put ov 'the-value "two") (overlay-put ov 'evaporate t))) I think I am supposed to change it to: (with-current-buffer (get-buffer-create "demo") (pop-to-buffer (current-buffer)) (erase-buffer) (insert "one\ntwo\nthree") (backward-word 2) (let ((ov (make-overlay (point) (save-excursion (forward-line 1) (point)))) (heading "before two\n")) (put-text-property 0 1 'cursor (length heading) heading) (overlay-put ov 'before-string heading) (overlay-put ov 'the-value "two") (overlay-put ov 'evaporate t))) However I would then expect that it would become possible for the cursor to be displayed "on" the "b" because of this: "In other words, the string character with the ‘cursor’ property of any non-‘nil’ value is the character where to display the cursor. The value of the property says for which buffer positions to display the cursor there." one *efore two two three That would be a change in behavior* but I am not seeing any change so I am unsure whether I am doing this all wrong. If so, then please correct the above code. * However if that is possible, I would prefer to use the `cursor' property to provide the hint to the display engine that the cursor should keep ending up here (as it does without fiddling with `cursor' at all): one before two *wo three Given "the cursor will be displayed on this character for any buffer position in the range `[OVPOS..OVPOS+N)'", I don't see how I can say "display the cursor HERE instead of at the positions BEFORE HERE as specified by N". From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 13:15:39 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 17:15:39 +0000 Received: from localhost ([127.0.0.1]:54271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtZz-0007SU-Bz for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:15:39 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37323) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtZy-0007SG-1c for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 13:15:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtZp-0008Dv-MG for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 13:15:32 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:34946) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtZp-0008Di-IR; Thu, 11 Aug 2016 13:15:29 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2046 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXtZl-0004Xq-Gm; Thu, 11 Aug 2016 13:15:26 -0400 Date: Thu, 11 Aug 2016 20:15:15 +0300 Message-Id: <838tw3fcrg.fsf@gnu.org> From: Eli Zaretskii To: Jonas Bernoulli In-reply-to: <87vaz7xns5.fsf@bernoul.li> (message from Jonas Bernoulli on Thu, 11 Aug 2016 18:39:54 +0200) Subject: Re: bug#24179: 24179 References: <87y448s2k8.fsf@gmail.com> <87vaz7xns5.fsf@bernoul.li> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit 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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Jonas Bernoulli > Date: Thu, 11 Aug 2016 18:39:54 +0200 > > (with-current-buffer (get-buffer-create "demo") > (pop-to-buffer (current-buffer)) > (erase-buffer) > (insert "one\ntwo\nthree") > (backward-word 2) > (let ((ov (make-overlay (point) > (save-excursion > (forward-line 1) > (point)))) > (heading "before two\n")) > (put-text-property 0 1 'cursor (length heading) heading) > (overlay-put ov 'before-string heading) > (overlay-put ov 'the-value "two") > (overlay-put ov 'evaporate t))) > > However I would then expect that it would become possible for the cursor > to be displayed "on" the "b" because of this: "In other words, the > string character with the ‘cursor’ property of any non-‘nil’ value is > the character where to display the cursor. The value of the property > says for which buffer positions to display the cursor there." > > one > *efore two > two > three > > That would be a change in behavior* but I am not seeing any change so I > am unsure whether I am doing this all wrong. If so, then please correct > the above code. It looks like I misremembered: before-strings cannot benefit from this feature, because they don't conceal any buffer positions. Emacs only considers the cursor property when the buffer position of point is not visible on the screen, so you need to use 'display' properties. Sorry about that. Here's an example that will allow you to experiment: (setq s1 "") (setq s2 (concat "")) (setq c1 (propertize "..." 'display s1)) (setq c2 (propertize ",,," 'display s2)) (insert "abc" c1 "def" c2 "xyz" c1 c2 "123" c2 "456" c1 c2 c1 "789" c2 "end\n") > * However if that is possible, I would prefer to use the `cursor' > property to provide the hint to the display engine that the cursor > should keep ending up here (as it does without fiddling with `cursor' at > all): > > one > before two > *wo > three That already happens, doesn't it? From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 14:30:03 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 18:30:04 +0000 Received: from localhost ([127.0.0.1]:54319 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXujz-0000ux-KH for submit@debbugs.gnu.org; Thu, 11 Aug 2016 14:30:03 -0400 Received: from mail.hostpark.net ([212.243.197.30]:45686) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXujx-0000u5-Dw for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 14:30:02 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id D7E1C16B38; Thu, 11 Aug 2016 20:29:58 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id bFrGt5eV7a2N; Thu, 11 Aug 2016 20:29:58 +0200 (CEST) Received: from hal (178-82-62-170.dynamic.hispeed.ch [178.82.62.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id AAAC916B37; Thu, 11 Aug 2016 20:29:58 +0200 (CEST) References: <87y448s2k8.fsf@gmail.com> <87vaz7xns5.fsf@bernoul.li> <838tw3fcrg.fsf@gnu.org> User-agent: mu4e 0.9.17; emacs 25.1.1 From: Jonas Bernoulli To: Eli Zaretskii Subject: Re: bug#24179: 24179 In-reply-to: <838tw3fcrg.fsf@gnu.org> Date: Thu, 11 Aug 2016 20:29:58 +0200 Message-ID: <87twerxiop.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) > It looks like I misremembered: before-strings cannot benefit from this > feature, because they don't conceal any buffer positions. The manual mentions "before-strings" in the description of "cursor". That should probably be changed in that case. > Here's an example that will allow you to experiment: Thanks. >> one >> before two >> *wo >> three > > That already happens, doesn't it? Yes. All good ;-) From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 15:56:33 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 19:56:33 +0000 Received: from localhost ([127.0.0.1]:54381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXw5h-0004i3-FV for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:56:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40620) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXw5f-0004hq-DH for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 15:56:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXw5V-0001cX-Pr for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 15:56:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38002) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXw5V-0001cT-Mw; Thu, 11 Aug 2016 15:56:21 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2177 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXw5S-0006Tz-Si; Thu, 11 Aug 2016 15:56:21 -0400 Date: Thu, 11 Aug 2016 22:55:58 +0300 Message-Id: <831t1vf5bl.fsf@gnu.org> From: Eli Zaretskii To: Jonas Bernoulli In-reply-to: <87twerxiop.fsf@bernoul.li> (message from Jonas Bernoulli on Thu, 11 Aug 2016 20:29:58 +0200) Subject: Re: bug#24179: 24179 References: <87y448s2k8.fsf@gmail.com> <87vaz7xns5.fsf@bernoul.li> <838tw3fcrg.fsf@gnu.org> <87twerxiop.fsf@bernoul.li> 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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Jonas Bernoulli > Cc: 24179@debbugs.gnu.org > Date: Thu, 11 Aug 2016 20:29:58 +0200 > > > It looks like I misremembered: before-strings cannot benefit from this > > feature, because they don't conceal any buffer positions. > > The manual mentions "before-strings" in the description of "cursor". > That should probably be changed in that case. There's a subtlety here: the before-strings and after-strings can either conceal some buffer text (i.e. be displayed instead of that text) or not. The cursor property will only be in effect in the former case, whereas magit-bame uses the latter. So the manual is not wrong, it just doesn't reveal this subtlety. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 16:08:07 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 20:08:07 +0000 Received: from localhost ([127.0.0.1]:54389 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwGs-0004ze-Qh for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:08:06 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43096) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwGr-0004zA-3n for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 16:08:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXwGi-0003gK-1W for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 16:08:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38275) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwGh-0003gF-Uf; Thu, 11 Aug 2016 16:07:55 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2207 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXwGf-0005KL-6T; Thu, 11 Aug 2016 16:07:55 -0400 Date: Thu, 11 Aug 2016 23:07:31 +0300 Message-Id: <83wpjndq7w.fsf@gnu.org> From: Eli Zaretskii To: jonas@bernoul.li In-reply-to: <831t1vf5bl.fsf@gnu.org> (message from Eli Zaretskii on Thu, 11 Aug 2016 22:55:58 +0300) Subject: Re: bug#24179: 24179 References: <87y448s2k8.fsf@gmail.com> <87vaz7xns5.fsf@bernoul.li> <838tw3fcrg.fsf@gnu.org> <87twerxiop.fsf@bernoul.li> <831t1vf5bl.fsf@gnu.org> 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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > Date: Thu, 11 Aug 2016 22:55:58 +0300 > From: Eli Zaretskii > Cc: 24179@debbugs.gnu.org > > So the manual is not wrong, it just doesn't reveal this subtlety. It does now. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 18:19:06 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 22:19:06 +0000 Received: from localhost ([127.0.0.1]:54467 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyJe-0001oA-EG for submit@debbugs.gnu.org; Thu, 11 Aug 2016 18:19:06 -0400 Received: from mail.hostpark.net ([212.243.197.30]:49627) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyJc-0001o2-OQ for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 18:19:05 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 52A2F16B3B; Fri, 12 Aug 2016 00:19:02 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail0.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id M-N7kp7jaAfo; Fri, 12 Aug 2016 00:19:02 +0200 (CEST) Received: from hal (178-82-62-170.dynamic.hispeed.ch [178.82.62.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 11EF716B37; Fri, 12 Aug 2016 00:19:02 +0200 (CEST) References: <87y448s2k8.fsf@gmail.com> <87vaz7xns5.fsf@bernoul.li> <838tw3fcrg.fsf@gnu.org> <87twerxiop.fsf@bernoul.li> <831t1vf5bl.fsf@gnu.org> <83wpjndq7w.fsf@gnu.org> User-agent: mu4e 0.9.17; emacs 25.1.1 From: Jonas Bernoulli To: Eli Zaretskii Subject: Re: bug#24179: 24179 In-reply-to: <83wpjndq7w.fsf@gnu.org> Date: Fri, 12 Aug 2016 00:19:01 +0200 Message-ID: <87popfx82y.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Thanks again Eli. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 18:20:23 2016 Received: (at 24179) by debbugs.gnu.org; 11 Aug 2016 22:20:23 +0000 Received: from localhost ([127.0.0.1]:54475 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyKt-0001qT-0c for submit@debbugs.gnu.org; Thu, 11 Aug 2016 18:20:23 -0400 Received: from mail-io0-f194.google.com ([209.85.223.194]:33743) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyKp-0001qG-Vc for 24179@debbugs.gnu.org; Thu, 11 Aug 2016 18:20:21 -0400 Received: by mail-io0-f194.google.com with SMTP id y195so605040iod.0 for <24179@debbugs.gnu.org>; Thu, 11 Aug 2016 15:20:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=DOk7apE+fLRpbW2KlcGPbjse1ZNWChAfNBaFHsyt9+0=; b=uRFVgPpmhUXDKGLYbnPJE/1jy0/+g+phQSO5Lfy5BzBUQgSh5BrsQDzHfEb9UeNTt4 QD9qTTcjG9e+VxCc/oBUoc4MT2FWECuM2F6/cweVgNj2jZfYnR9cnlqwTdpCaelcwV8/ tqvk3uQ0REOMwvT3L4ultKXWncIcEE0XYBdAV2R9wOlMHqCK+Lw31MQaGuQYIrry75pT v6TJFU+4S4tXZAfGQx/CcQCHJmg8qKaLsyh4daaBQ2pxQAeqTpUDUbNcTvoJAkH5eyf1 W7xWofpJhNyjc0j4GN5NOh2yDK7vcF9JcAoyfymyCXQxkvCe8Nm0ZVHCECGMRyzrDL67 tWsw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=DOk7apE+fLRpbW2KlcGPbjse1ZNWChAfNBaFHsyt9+0=; b=A8BA+aHrRnc/xSQ7bzk7POwn5+U8L0h1Nq9U3Xdo32ppyKmbuLYzu3lSK4kA4crI+d ZtY5yYUrPtVC9qNBNsPKaBeb+DpqSSLPvn9chzozl8It1nn3CejMtKqDiqogYa3q+Obk AJmlnyQBMzRVjd7GD+seHHe2AlBp1M1No1eNfNRyRt1eLnVpKfkS772p403a1kC2nw4+ Kg3iTAtsqRHGKv74zwAUOJ6GSR4T/rNsnKrTnNgt7eoNocqgwr5sjueEaE0NEa+yDbwV 2vhaohRu9tk731NoT8EdHJMPw5EmMArS+yknRUVMk4t0frSJ8sYVp6s8e+q2hytavVIb sFWQ== X-Gm-Message-State: AEkoouu2tSCx4pPpZS/Ou4YqobHiHZbJwBJ3+OUziZLqX8vUqEAkLYeUz+RvylLrgbESwQ== X-Received: by 10.107.21.134 with SMTP id 128mr13837936iov.59.1470954014482; Thu, 11 Aug 2016 15:20:14 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id c192sm6782811ith.11.2016.08.11.15.20.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Aug 2016 15:20:14 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place In-Reply-To: <83inv7fiq5.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Aug 2016 18:06:26 +0300") References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) Date: Thu, 11 Aug 2016 16:20:07 -0600 Message-ID: <87fuqb3q3s.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) tags 24179 fixed close 24179 quit Eli Zaretskii writes: >> From: Alex >> Cc: 24179@debbugs.gnu.org >> Date: Mon, 08 Aug 2016 11:22:29 -0600 >> You're right, though it also seems to happen when using C-n. I tried >> turning off line-move-visual and the delay is still there. > > I have now fixed that problem as well. Thanks, I don't see it anymore with C-n. It's expected that the delay with M-g c and magit-blame's `n' command is still present, right? Though your new commit does seem to lessen those delays, if that means anything. > OK. If no new issues come up due to my changes, please close the bug > in a few days. Hopefully the above did that. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 10:18:55 2016 Received: (at 24179) by debbugs.gnu.org; 12 Aug 2016 14:18:55 +0000 Received: from localhost ([127.0.0.1]:55260 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDIV-0001tj-1F for submit@debbugs.gnu.org; Fri, 12 Aug 2016 10:18:55 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37374) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYDIT-0001tX-Nm for 24179@debbugs.gnu.org; Fri, 12 Aug 2016 10:18:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYDHv-0007ql-AB for 24179@debbugs.gnu.org; Fri, 12 Aug 2016 10:18:47 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:47126) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYDHM-0007KA-Hx; Fri, 12 Aug 2016 10:17:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3806 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYDHI-00058i-Li; Fri, 12 Aug 2016 10:17:43 -0400 Date: Fri, 12 Aug 2016 17:17:19 +0300 Message-Id: <83k2fmdqc0.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87fuqb3q3s.fsf@gmail.com> (message from Alex on Thu, 11 Aug 2016 16:20:07 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) tags 24179 fixed close 24179 quit > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Thu, 11 Aug 2016 16:20:07 -0600 > > >> You're right, though it also seems to happen when using C-n. I tried > >> turning off line-move-visual and the delay is still there. > > > > I have now fixed that problem as well. > > Thanks, I don't see it anymore with C-n. It's expected that the delay > with M-g c and magit-blame's `n' command is still present, right? I don't see any perceptible delay here, but maybe I missed something. Do some "M-g c" work faster than others? Or some other motion commands are faster than "M-g c 1350 RET"? If so, can you give a recipe for a "fast" and a "slow" command? In general, setting scroll-conservatively to a large value makes redisplay slightly slower, because in some situations it must work harder to find the smallest possible scroll amount. If a before-string inserted by magit-blame uses up many screen lines, the fix I added might indeed cause a slowdown, although they'll have to be quite a lot of screen lines for that to become perceptible, I think. Another potential reason for slower redisplay, specific to magit-blame and similar modes, is that a significant proportion of lines in a typical window comes from overlay strings, not from buffer text. When Emacs needs to determine the position of window-start for next redisplay, it starts from point and goes back till it finds a suitable buffer position, which would put point some specific number of pixels from the window-start. When Emacs goes back, it uses the number of lines in the buffer as the first approximation, then adjusts that place as needed. With many display or overlay strings in a window, that first approximation is usually way off, so the process of adjusting it to find the correct place needs to consider more potential candidates, and this takes longer. > Though your new commit does seem to lessen those delays, if that means > anything. The original delay was not a delay. What happened is that the first redisplay after "M-g c 1350 RET" would end up with point off the screen, and the cursor at the end of the first screen line. Immediately after that another redisplay would fix that by scrolling the window. So it took 2 redisplay cycles to react to the command; now it takes only one. > > OK. If no new issues come up due to my changes, please close the bug > > in a few days. > > Hopefully the above did that. No, it didn't. When you include control commands in a message, you should BCC control@debbugs.gnu.org for the bug tracker to take notice (like I did with tis message). If you want to just close the bug (as opposed to add some tags), an easier way is to CC 24179-done@debbugs.gnu.org. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 18:01:50 2016 Received: (at 24179) by debbugs.gnu.org; 12 Aug 2016 22:01:50 +0000 Received: from localhost ([127.0.0.1]:55513 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYKWT-0005wV-RR for submit@debbugs.gnu.org; Fri, 12 Aug 2016 18:01:50 -0400 Received: from mail-it0-f50.google.com ([209.85.214.50]:36422) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYKWS-0005wH-Jm for 24179@debbugs.gnu.org; Fri, 12 Aug 2016 18:01:48 -0400 Received: by mail-it0-f50.google.com with SMTP id n134so2118673ith.1 for <24179@debbugs.gnu.org>; Fri, 12 Aug 2016 15:01:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version; bh=R68rBX0OTUK/99HNQsRMbBvhxQp1T9LASZcunmjuZ7Q=; b=qPu5q7yzbUsUIef9UTAGlQO6KlvD6gmOSF8sphzxpVsrfz2SPAIPCPHlm+O5MLLZbn RlAkGBkMOC4OGQLQ3yriy6jyj33zs/aHOswP1ZD7ttP8EChatXBTnOvcY0B7hLMFX6zr SWtbcKleo87DlTg6Ko9FuJd41OdXfSkfTG0/lGeeOlsktUAUe7ZouJnnmONBy+5V+yPP gadg3P/0aK6mV79zm8jQiX1F8Je+njnph98/U0SQSMxUD/hNHH71TvM/Fq5eij2EvA4C e3mWVbHDe7gImb8uRyG6V6DkTCxQxB0Fa+tf9yTny7NADkOMBL6nJPjm/wiEardciac4 UAmw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references :user-agent:date:message-id:mime-version; bh=R68rBX0OTUK/99HNQsRMbBvhxQp1T9LASZcunmjuZ7Q=; b=kQMDHahZtgftF0UxEimCm5kXjBz34bN4uKVLb2sd/XMFwmezotpfd5SPaFIprTsEtI PvwsTZDoiPRbu5DlK8gzPucTn1cIGoH+ebdntB+cpOdE272RqXAWdjGvxJhp/3jGnRCh htXp8PTcCD18YXa+I98arXJnxeMAXOHSJtQNA6qHKgvnTclljFTv0YL13us9wSAfbaBZ NWvXJanT5al+AEagi7Md2EEVNUkrRsJOc5BYIf6c3Q3gcgNDEe8LlzKDH2WQkUfI9JM6 FaQoUXDXzXkGo0jhOvwgI0kpHip8I1J2wDMXnwx/3vQRhq50r8TkDVlNHJbTYrbSOFB6 7Huw== X-Gm-Message-State: AEkooutXml5XWhDtkKKJo95KIztz3I8zczmAkdbysluc+bYAE+iJcx3tTb35Q3fFM0TCbQ== X-Received: by 10.36.10.196 with SMTP id 187mr1261777itw.93.1471039302927; Fri, 12 Aug 2016 15:01:42 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id l19sm4296630iod.10.2016.08.12.15.01.41 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Aug 2016 15:01:42 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place In-Reply-To: <83k2fmdqc0.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Aug 2016 17:17:19 +0300") References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) Date: Fri, 12 Aug 2016 16:01:19 -0600 Message-ID: <87h9apzlxs.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Eli Zaretskii writes: > I don't see any perceptible delay here, but maybe I missed something. > Do some "M-g c" work faster than others? Or some other motion > commands are faster than "M-g c 1350 RET"? If so, can you give a > recipe for a "fast" and a "slow" command? Using the recipe function above, try M-g c 1737. That temporarily leaves the point at the top before going to the correct position. M-g c 1700 does not do this. Using magit-blame in version.el with emacs maximized do M-g c 1148 and press `n' one or two times. One of these should briefly show the cursor at the top of the screen. > Another potential reason for slower redisplay, specific to magit-blame > and similar modes, is that a significant proportion of lines in a > typical window comes from overlay strings, not from buffer text. When > Emacs needs to determine the position of window-start for next > redisplay, it starts from point and goes back till it finds a suitable > buffer position, which would put point some specific number of pixels > from the window-start. When Emacs goes back, it uses the number of > lines in the buffer as the first approximation, then adjusts that > place as needed. With many display or overlay strings in a window, > that first approximation is usually way off, so the process of > adjusting it to find the correct place needs to consider more > potential candidates, and this takes longer. Alright, that makes sense. > The original delay was not a delay. What happened is that the first > redisplay after "M-g c 1350 RET" would end up with point off the > screen, and the cursor at the end of the first screen line. > Immediately after that another redisplay would fix that by scrolling > the window. So it took 2 redisplay cycles to react to the command; > now it takes only one. OK, that would explain it. By "delay" I was referring to this momentary period where the cursor is shown at the end of the top screen line. Is it necessary to be in this wrong position for a redisplay cycle? > No, it didn't. When you include control commands in a message, you > should BCC control@debbugs.gnu.org for the bug tracker to take notice Ah, right. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 02:52:29 2016 Received: (at 24179) by debbugs.gnu.org; 13 Aug 2016 06:52:29 +0000 Received: from localhost ([127.0.0.1]:55658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYSo1-0006nN-5l for submit@debbugs.gnu.org; Sat, 13 Aug 2016 02:52:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45475) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYSny-0006nA-5h for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 02:52:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYSnp-000754-V7 for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 02:52:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58897) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYSnp-00074J-Rg; Sat, 13 Aug 2016 02:52:17 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4394 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYSno-0006JT-2e; Sat, 13 Aug 2016 02:52:16 -0400 Date: Sat, 13 Aug 2016 09:52:10 +0300 Message-Id: <83fuq9duud.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87h9apzlxs.fsf@gmail.com> (message from Alex on Fri, 12 Aug 2016 16:01:19 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@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-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Fri, 12 Aug 2016 16:01:19 -0600 > > Eli Zaretskii writes: > > > I don't see any perceptible delay here, but maybe I missed something. > > Do some "M-g c" work faster than others? Or some other motion > > commands are faster than "M-g c 1350 RET"? If so, can you give a > > recipe for a "fast" and a "slow" command? > > Using the recipe function above, try M-g c 1737. That temporarily leaves > the point at the top before going to the correct position. M-g c 1700 > does not do this. Yes, I see that, thanks. I will think if something can be done in that case. > Is it necessary to be in this wrong position for a redisplay cycle? I'm not sure I understand the question. Redisplay cycles happen in Emacs all the time when Emacs is idle, but usually they quickly determine that nothing has to be done, so you don't see them happening. In this case, Emacs sees that point is not inside the window, so it attempts to correct that. From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 12:59:47 2016 Received: (at 24179) by debbugs.gnu.org; 13 Aug 2016 16:59:47 +0000 Received: from localhost ([127.0.0.1]:56550 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYcHj-000881-JL for submit@debbugs.gnu.org; Sat, 13 Aug 2016 12:59:47 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:35937) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYcHi-00087p-C9 for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 12:59:46 -0400 Received: by mail-it0-f47.google.com with SMTP id i186so7209132itf.1 for <24179@debbugs.gnu.org>; Sat, 13 Aug 2016 09:59:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=p3oiFDqj3xFOwtImSsqAtalJiDXSoj4H9IyZjh1o+aU=; b=1In+ucmEryEcS53E49pPVIk6PdsHhJm64T74meqODuEzRT9Zi/tjPzi7WGg23e1oin /QogYx/5+jLZWvtFW0iRhiLT2C04cUp/X4COR5kzp6KITTsDeP/sOa/YqaNQP/C5LVqr ih8b+B1reMZsKjSBMFs8Wyn0JQo8+PSpBqKfWzU65Vlnik7G90HBSqrHBY6XbwZ8iUE+ phak54PDVvy5V1Ccvopfy+yHlcNTjjdkXN8bzRjmCle+f8YxnZQqYTrhuuKOYzk93UIc qMr7TbZIn3uSLm4KcgI0k2i7+R+HpmUukwn0fhiyyBRxfu4V3AHBgxqWo6KVIRQbFHTX m8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=p3oiFDqj3xFOwtImSsqAtalJiDXSoj4H9IyZjh1o+aU=; b=O09U8XywIVx8iz8Hb0ceftAzqZr8pwTXvdF91TZOuw9q2yzRlzgTBIEiaWvjn2M7E7 liD16k8j9Ta+N4mP6vBLxX15lCM2zozYTKNQ2biYi23owzXmBJmSbpofs0Tuxa/4V7sf cywTiuqa7JPHg3JC59bEvk/crGCX7I/20fKFUe8O1HBeBNmt7x3DPNTwIPumeNBIGu34 J3dnu99N/OnKQgY12LgiS/+Be49vvQMFkxZkyRW7hvMmkpqW+rF/dRmAVCzjwCdXRBvB uMaoCmQqVb+AH+ng+ElXZkIdpe//w3I26eZ17IMgfTFLIo6FFPyD2P6iKDiW/0e5WzjR 1VNQ== X-Gm-Message-State: AEkoouselIWU3kjQ3MXunSjXsswPp4y2sEtwMOxzY56BtGmX13ylL4SCoVQWXCFRZrzDUw== X-Received: by 10.36.225.15 with SMTP id n15mr5193774ith.30.1471107580648; Sat, 13 Aug 2016 09:59:40 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id c192sm3470093ith.11.2016.08.13.09.59.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 13 Aug 2016 09:59:40 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@gmail.com> <83fuq9duud.fsf@gnu.org> Date: Sat, 13 Aug 2016 10:59:15 -0600 In-Reply-To: <83fuq9duud.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 13 Aug 2016 09:52:10 +0300") Message-ID: <87k2fkwqos.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Eli Zaretskii writes: > Yes, I see that, thanks. I will think if something can be done in > that case. Thanks for looking into this. > I'm not sure I understand the question. Redisplay cycles happen in > Emacs all the time when Emacs is idle, but usually they quickly > determine that nothing has to be done, so you don't see them > happening. In this case, Emacs sees that point is not inside the > window, so it attempts to correct that. I meant that if it was necessary to show the point in the wrong position in this case even for a very brief period of time. That is, could Emacs correct the position before displaying the point to the user? From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 13 13:25:56 2016 Received: (at 24179) by debbugs.gnu.org; 13 Aug 2016 17:25:56 +0000 Received: from localhost ([127.0.0.1]:56555 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYch1-0000JW-Nq for submit@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:56 -0400 Received: from eggs.gnu.org ([208.118.235.92]:47338) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYch0-0000JJ-BO for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bYcgq-0002UN-EB for 24179@debbugs.gnu.org; Sat, 13 Aug 2016 13:25:49 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bYcgq-0002UC-Aw; Sat, 13 Aug 2016 13:25:44 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1763 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bYcgm-0005X4-EI; Sat, 13 Aug 2016 13:25:42 -0400 Date: Sat, 13 Aug 2016 20:25:23 +0300 Message-Id: <83oa4wd1j0.fsf@gnu.org> From: Eli Zaretskii To: Alex In-reply-to: <87k2fkwqos.fsf@gmail.com> (message from Alex on Sat, 13 Aug 2016 10:59:15 -0600) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@gmail.com> <83fuq9duud.fsf@gnu.org> <87k2fkwqos.fsf@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-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > From: Alex > Cc: 24179@debbugs.gnu.org > Date: Sat, 13 Aug 2016 10:59:15 -0600 > > I meant that if it was necessary to show the point in the wrong position > in this case even for a very brief period of time. That is, could Emacs > correct the position before displaying the point to the user? Teaching Emacs not to get into such situations is what takes to fix these problems. Until then, no, Emacs cannot correct the position before showing the window, because if it did, the problem wouldn't have existed in the first place. When Emacs is about to redisplay a window, its main task is to figure out what should be the window-start position. If it decides incorrectly (which is what happens in this case), the window will display incorrectly. The display engine tries to detect these situations and recover from them, but it sometimes fails. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 14:27:52 2016 Received: (at 24179) by debbugs.gnu.org; 14 Aug 2016 18:27:52 +0000 Received: from localhost ([127.0.0.1]:57472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ08W-0007RT-Bk for submit@debbugs.gnu.org; Sun, 14 Aug 2016 14:27:52 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43206) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ08U-0007RG-Mh for 24179@debbugs.gnu.org; Sun, 14 Aug 2016 14:27:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZ08K-0008PF-CA for 24179@debbugs.gnu.org; Sun, 14 Aug 2016 14:27:45 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZ08K-0008PB-8f; Sun, 14 Aug 2016 14:27:40 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1415 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bZ08H-00057J-CN; Sun, 14 Aug 2016 14:27:39 -0400 Date: Sun, 14 Aug 2016 21:27:20 +0300 Message-Id: <83vaz3fbp3.fsf@gnu.org> From: Eli Zaretskii To: agrambot@gmail.com In-reply-to: <83fuq9duud.fsf@gnu.org> (message from Eli Zaretskii on Sat, 13 Aug 2016 09:52:10 +0300) Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@gmail.com> <83fuq9duud.fsf@gnu.org> 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-Spam-Score: -5.6 (-----) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.6 (-----) > Date: Sat, 13 Aug 2016 09:52:10 +0300 > From: Eli Zaretskii > Cc: 24179@debbugs.gnu.org > > > From: Alex > > Cc: 24179@debbugs.gnu.org > > Date: Fri, 12 Aug 2016 16:01:19 -0600 > > > > Using the recipe function above, try M-g c 1737. That temporarily leaves > > the point at the top before going to the correct position. M-g c 1700 > > does not do this. > > Yes, I see that, thanks. I will think if something can be done in > that case. Should be fixed now. From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 16:05:30 2016 Received: (at 24179) by debbugs.gnu.org; 14 Aug 2016 20:05:30 +0000 Received: from localhost ([127.0.0.1]:57500 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ1f0-0001Hr-6x for submit@debbugs.gnu.org; Sun, 14 Aug 2016 16:05:30 -0400 Received: from mail-it0-f44.google.com ([209.85.214.44]:38359) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ1ex-0001Hd-PI for 24179@debbugs.gnu.org; Sun, 14 Aug 2016 16:05:28 -0400 Received: by mail-it0-f44.google.com with SMTP id i128so664536itf.1 for <24179@debbugs.gnu.org>; Sun, 14 Aug 2016 13:05:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=NIzJmzT8FSOPC6IfHnemWJowFtu/OgxiDN0VDfxS7Sk=; b=rFXPzncznhCC+FbkMMWhGF5tLzAqFAPDMcKCNs1DR4pNHhlqMBnjOvTrrXpDh2932K UboF8s/Dy3rM3S9M4l2kVM6eLyyg49RJbT06meODhlYlagtxMNoRKdYfjVQHgUlHm2rY kA0orWVS5gXixUvaE8acjmBHsEXPi+0B5D+pFN9VdsXbeIWOJj0PB5/PbuPr7iwWVWZh lw1EVh2LdyJhd6w0olqh+bjIIb7nQq5roYMFBp0IG9Ce7sCVPuMsTfEYMCmD3L9owk// 2jG8tXoLFY5Lkq7fh9DYkx1S3viOduG8yzR7io0ndlUE9VsrRcbX1IlQ6ur7atadO7QJ KCyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=NIzJmzT8FSOPC6IfHnemWJowFtu/OgxiDN0VDfxS7Sk=; b=WG6Aw3+G5vakcMdKs8thK1cs0elzFaPsNTyxS7SG6nUBlPMy8bLQDsm/LnVC6T/Fx7 8XoxZL4FQUmUKeU5EiuBX0q0DKbxEfeb7jUa+ud5h8sWxbJp0ivGxdfqmBzKDoQoIP0z xf92EEoVeEnQdxQg9GHujoY9xvuaufK1fEvvZV/zQn44av1M2QNcdyXJpBMJobZQ5MI5 r6rcji7XEzkWkoVoDvS1xvBHjy65ujsXR5azuFVWO6JkfbxQ8fMv8UNOkfjqqIg8jqf+ NH9kiERyFeUtQAz1n7PlAPbp05xifIiOoBG7aW2nB7UdjYm4LZL/0sV0+cYNrzIqT0iC u1Yg== X-Gm-Message-State: AEkoousf3ZCUqKf2Lsd8qbiRFeUUqtSnLxcY0V5LvdVIFmmkb7oj1vUbttWYbrc8r0ZaBg== X-Received: by 10.36.188.65 with SMTP id n62mr10231230ite.61.1471205122280; Sun, 14 Aug 2016 13:05:22 -0700 (PDT) Received: from lylat (S01061859339e9903.ss.shawcable.net. [174.2.107.88]) by smtp.gmail.com with ESMTPSA id 65sm5859312itl.16.2016.08.14.13.05.21 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 14 Aug 2016 13:05:21 -0700 (PDT) From: Alex To: Eli Zaretskii Subject: Re: bug#24179: 25.1; scroll-conservatively over SCROLL_LIMIT may put point in the wrong place References: <87y448s2k8.fsf@gmail.com> <83vazchtm2.fsf@gnu.org> <8737mfyfxy.fsf@gmail.com> <83shufi8er.fsf@gnu.org> <87r39zkyli.fsf@gmail.com> <83fuqfi4e9.fsf@gnu.org> <87invbkwfe.fsf@gmail.com> <83inv7fiq5.fsf@gnu.org> <87fuqb3q3s.fsf@gmail.com> <83k2fmdqc0.fsf@gnu.org> <87h9apzlxs.fsf@gmail.com> <83fuq9duud.fsf@gnu.org> <83vaz3fbp3.fsf@gnu.org> Date: Sun, 14 Aug 2016 14:05:15 -0600 In-Reply-To: <83vaz3fbp3.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 14 Aug 2016 21:27:20 +0300") Message-ID: <87vaz3qfpg.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24179 Cc: 24179@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 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 (/) Eli Zaretskii writes: >> Date: Sat, 13 Aug 2016 09:52:10 +0300 >> From: Eli Zaretskii >> Cc: 24179@debbugs.gnu.org >> >> > From: Alex >> > Cc: 24179@debbugs.gnu.org >> > Date: Fri, 12 Aug 2016 16:01:19 -0600 >> > >> > Using the recipe function above, try M-g c 1737. That temporarily leaves >> > the point at the top before going to the correct position. M-g c 1700 >> > does not do this. >> >> Yes, I see that, thanks. I will think if something can be done in >> that case. > > Should be fixed now. Nice, thanks a lot. It solved that case and the other ones discussed as well. From unknown Sat Jun 21 03:20:28 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Sep 2016 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