X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Romanos Skiadas <rom.skiad@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 20 Sep 2017 20:37:01 +0000 Resent-Message-ID: <handler.28533.B.150593977414268 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: report 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28533 <at> debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN Received: via spool by submit <at> debbugs.gnu.org id=B.150593977414268 (code B ref -1); Wed, 20 Sep 2017 20:37:01 +0000 Received: (at submit) by debbugs.gnu.org; 20 Sep 2017 20:36:14 +0000 Received: from localhost ([127.0.0.1]:50592 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1duljA-0003i1-VI for submit <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:36:14 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58467) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rom.skiad@HIDDEN>) id 1dulO8-00035u-4O for submit <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:14:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rom.skiad@HIDDEN>) id 1dulO0-0008RK-1O for submit <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:14:23 -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]:49274) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <rom.skiad@HIDDEN>) id 1dulNz-0008R9-V1 for submit <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:14:19 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <rom.skiad@HIDDEN>) id 1dulNw-0005xu-PM for bug-gnu-emacs@HIDDEN; Wed, 20 Sep 2017 16:14:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <rom.skiad@HIDDEN>) id 1dulNt-0008OF-FC for bug-gnu-emacs@HIDDEN; Wed, 20 Sep 2017 16:14:16 -0400 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:48041) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <rom.skiad@HIDDEN>) id 1dulNt-0008N6-55 for bug-gnu-emacs@HIDDEN; Wed, 20 Sep 2017 16:14:13 -0400 Received: by mail-wm0-x235.google.com with SMTP id 13so10292246wmq.2 for <bug-gnu-emacs@HIDDEN>; Wed, 20 Sep 2017 13:14:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=to:subject:from:message-id:date:user-agent:mime-version :content-transfer-encoding:content-language; bh=izVMlxVF/C2ygBKChadVsjWp/db45CozxYDN6lHvnVY=; b=Lx20LUydmwNPZ2G5+0CTpvsZeu4h1Wy9i8Ixo/ayDmmas2IOY/eg0MQoOP/PMxlVl2 Kxuvu/HFEJi2UZvgLtLS2U4oJT6nMXtDo/9uwWzio6kJ7yJsltrQ4SPWzvbhScJlJSjg VyhXQXbltMEn6E77oazSxdXry3va5JkB4Tnhk7mfL5iv23mHJMSP4wRxMaSsGHipa8KY 5JZZAZBhzdDZHR+hc5C9UHHKYguuKM3/s5Y7IlOuCnBCV4ixgK/Yzj4QfR1zR58wrlja mkTFy5NEWa6ma+abCcJIdOLqaQsZib3VO6oh5H4ST1/jo69+nQ8oe/S3rPVRquNHuVnt ePhQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:to:subject:from:message-id:date:user-agent :mime-version:content-transfer-encoding:content-language; bh=izVMlxVF/C2ygBKChadVsjWp/db45CozxYDN6lHvnVY=; b=I98QfuhUFJ5jepk+5wvCmw5G7sijm8ftBZaOc40waMU0hsZcbvWLhpjNBbEStVvtC8 lFZqh+Obuf9n+sxanZoZAX8XIjnHyONTO+oxyFnXZMgux9iN66C1a8Z14A9JGoM5mAS8 csITRnTrLvjkIvbFluMgNqA8LWNxdK6XKieppafAE+f2t7Cl7fGLnz8sk5ALvVIPtgbS Qog2tFiibt8MFg2ek8Qsvg+lh3SKftcvvXVIqkC8z5dkcb9N0vYBaYN4Yd06L50WExqg gezsBwNjPBJcyTZag37OnbZR8mnxHEK5Yz0tjGUPzf5Zj5Re8GbKqgqxJa2kJ4QhMrg8 DudA== X-Gm-Message-State: AHPjjUiIuwg7oiI1aRj9u9DEmTbC7d6gg1lmRpgddDurshE47QASDEtY l7Q3PVIgdM0s/r1hsLTJ7wm4CapJ X-Google-Smtp-Source: AOwi7QAhBUV0ysmF9MTTFuS3RlkWPWRrH+qwMPe2U1FAmImm7dbP9T163UKyKpW1RRzCA+NG+TkcTw== X-Received: by 10.80.136.23 with SMTP id b23mr5669474edb.78.1505938450083; Wed, 20 Sep 2017 13:14:10 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.41]) by smtp.gmail.com with ESMTPSA id f9sm17382ede.38.2017.09.20.13.14.07 for <bug-gnu-emacs@HIDDEN> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 13:14:09 -0700 (PDT) From: Romanos Skiadas <rom.skiad@HIDDEN> Message-ID: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> Date: Wed, 20 Sep 2017 21:14:02 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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-Mailman-Approved-At: Wed, 20 Sep 2017 16:36:11 -0400 X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -4.0 (----) Message-ID: <87bmm53zbd.fsf@HIDDEN> --text follows this line-- As the subjects says, native line numbers move forward a bit with show paren mode enabled. To reproduce this behaviour: - Start emacs ./src/emacs -Q --eval "(add-hook 'text-mode-hook (lambda () (display-line-numbers-mode)))" --eval "(show-paren-mode 1)" /tmp/test.org - Write about 100 lines or so and fold the org header. Something like 1 * Foo...[100 lines folded here] - Enter a pair of parens under the folded header: 1 * Foo... 123 () - Move the point from left to right with C-f and the line number moves: 1 * Foo... 123 |() 123 (|) 123 ()| As far as I could tell, without the folded lines or show-paren-mode this does not happen. It can also be replicated in modes other than org by using set-selective-display. In GNU Emacs 26.0.60 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-20 built on rski-ThinkPad-T470 Repository revision: 047f02f00f602b9aef63ae8938e12f3f0ab481eb Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Ubuntu 17.04 Recent messages: Loading /home/rski/.emacs.d/config.el (source)...done Loaded ~/.emacs.d/config.el Starting new Ispell process /usr/bin/aspell with default dictionary... For information about GNU Emacs and the GNU system, type C-h C-a. Setting up indent for shell type zsh Indentation variables are now local. Indentation setup for shell type zsh Package refresh done Mark set ../.emacs.d/elpa/helm-20170906.426/helm-elisp.el: ‘dont-compile’ is an obsolete macro (as of 24.4). Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2 Important settings: value of $LANG: en_IE.UTF-8 locale-coding-system: utf-8-unix Major mode: Org Minor modes in effect: flyspell-mode: t display-line-numbers-mode: t smartparens-mode: t display-battery-mode: t display-time-mode: t projectile-mode: t dumb-jump-mode: t org-bullets-mode: t global-hl-todo-mode: t show-paren-mode: t save-place-mode: t ws-butler-mode: t which-key-mode: t global-subword-mode: t subword-mode: t global-git-gutter-mode: t diff-auto-refine-mode: t yas-global-mode: t yas-minor-mode: t global-company-mode: t company-mode: t helm-mode: t async-bytecomp-package-mode: t flycheck-pos-tip-mode: t global-flycheck-mode: t flycheck-mode: t override-global-mode: t shell-dirtrack-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: 1 line-number-mode: t transient-mark-mode: t Load-path shadows: /home/rski/.emacs.d/elpa/org-20170906/org-lint hides /usr/local/share/emacs/26.0.60/lisp/org/org-lint /home/rski/.emacs.d/elpa/org-20170906/ob-ebnf hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ebnf /home/rski/.emacs.d/elpa/org-20170906/ob-abc hides /usr/local/share/emacs/26.0.60/lisp/org/ob-abc /home/rski/.emacs.d/elpa/org-20170906/ob-eval hides /usr/local/share/emacs/26.0.60/lisp/org/ob-eval /home/rski/.emacs.d/elpa/org-20170906/org-capture hides /usr/local/share/emacs/26.0.60/lisp/org/org-capture /home/rski/.emacs.d/elpa/org-20170906/ob-org hides /usr/local/share/emacs/26.0.60/lisp/org/ob-org /home/rski/.emacs.d/elpa/org-20170906/ob-screen hides /usr/local/share/emacs/26.0.60/lisp/org/ob-screen /home/rski/.emacs.d/elpa/org-20170906/ob-ledger hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ledger /home/rski/.emacs.d/elpa/org-20170906/ox-beamer hides /usr/local/share/emacs/26.0.60/lisp/org/ox-beamer /home/rski/.emacs.d/elpa/org-20170906/org-agenda hides /usr/local/share/emacs/26.0.60/lisp/org/org-agenda /home/rski/.emacs.d/elpa/org-20170906/ox-ascii hides /usr/local/share/emacs/26.0.60/lisp/org/ox-ascii /home/rski/.emacs.d/elpa/org-20170906/ob-calc hides /usr/local/share/emacs/26.0.60/lisp/org/ob-calc /home/rski/.emacs.d/elpa/org-20170906/ob-haskell hides /usr/local/share/emacs/26.0.60/lisp/org/ob-haskell /home/rski/.emacs.d/elpa/org-20170906/org-plot hides /usr/local/share/emacs/26.0.60/lisp/org/org-plot /home/rski/.emacs.d/elpa/org-20170906/ob-picolisp hides /usr/local/share/emacs/26.0.60/lisp/org/ob-picolisp /home/rski/.emacs.d/elpa/org-20170906/ob-dot hides /usr/local/share/emacs/26.0.60/lisp/org/ob-dot /home/rski/.emacs.d/elpa/org-20170906/ob-plantuml hides /usr/local/share/emacs/26.0.60/lisp/org/ob-plantuml /home/rski/.emacs.d/elpa/org-20170906/ox-publish hides /usr/local/share/emacs/26.0.60/lisp/org/ox-publish /home/rski/.emacs.d/elpa/org-20170906/org-gnus hides /usr/local/share/emacs/26.0.60/lisp/org/org-gnus /home/rski/.emacs.d/elpa/org-20170906/org-archive hides /usr/local/share/emacs/26.0.60/lisp/org/org-archive /home/rski/.emacs.d/elpa/org-20170906/org-datetree hides /usr/local/share/emacs/26.0.60/lisp/org/org-datetree /home/rski/.emacs.d/elpa/org-20170906/org-list hides /usr/local/share/emacs/26.0.60/lisp/org/org-list /home/rski/.emacs.d/elpa/org-20170906/ob-makefile hides /usr/local/share/emacs/26.0.60/lisp/org/ob-makefile /home/rski/.emacs.d/elpa/org-20170906/org-inlinetask hides /usr/local/share/emacs/26.0.60/lisp/org/org-inlinetask /home/rski/.emacs.d/elpa/org-20170906/ob-J hides /usr/local/share/emacs/26.0.60/lisp/org/ob-J /home/rski/.emacs.d/elpa/org-20170906/ob-stan hides /usr/local/share/emacs/26.0.60/lisp/org/ob-stan /home/rski/.emacs.d/elpa/org-20170906/org-element hides /usr/local/share/emacs/26.0.60/lisp/org/org-element /home/rski/.emacs.d/elpa/org-20170906/ob-scheme hides /usr/local/share/emacs/26.0.60/lisp/org/ob-scheme /home/rski/.emacs.d/elpa/org-20170906/ob-exp hides /usr/local/share/emacs/26.0.60/lisp/org/ob-exp /home/rski/.emacs.d/elpa/org-20170906/ob-ditaa hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ditaa /home/rski/.emacs.d/elpa/org-20170906/ox-icalendar hides /usr/local/share/emacs/26.0.60/lisp/org/ox-icalendar /home/rski/.emacs.d/elpa/org-20170906/org-macro hides /usr/local/share/emacs/26.0.60/lisp/org/org-macro /home/rski/.emacs.d/elpa/org-20170906/org-eww hides /usr/local/share/emacs/26.0.60/lisp/org/org-eww /home/rski/.emacs.d/elpa/org-20170906/org-loaddefs hides /usr/local/share/emacs/26.0.60/lisp/org/org-loaddefs /home/rski/.emacs.d/elpa/org-20170906/org-eshell hides /usr/local/share/emacs/26.0.60/lisp/org/org-eshell /home/rski/.emacs.d/elpa/org-20170906/ob-io hides /usr/local/share/emacs/26.0.60/lisp/org/ob-io /home/rski/.emacs.d/elpa/org-20170906/ob-sed hides /usr/local/share/emacs/26.0.60/lisp/org/ob-sed /home/rski/.emacs.d/elpa/org-20170906/org-feed hides /usr/local/share/emacs/26.0.60/lisp/org/org-feed /home/rski/.emacs.d/elpa/org-20170906/ox-org hides /usr/local/share/emacs/26.0.60/lisp/org/ox-org /home/rski/.emacs.d/elpa/org-20170906/org-id hides /usr/local/share/emacs/26.0.60/lisp/org/org-id /home/rski/.emacs.d/elpa/org-20170906/ob-clojure hides /usr/local/share/emacs/26.0.60/lisp/org/ob-clojure /home/rski/.emacs.d/elpa/org-20170906/ox hides /usr/local/share/emacs/26.0.60/lisp/org/ox /home/rski/.emacs.d/elpa/org-20170906/org-info hides /usr/local/share/emacs/26.0.60/lisp/org/org-info /home/rski/.emacs.d/elpa/scala-mode-20170802.432/ob-scala hides /usr/local/share/emacs/26.0.60/lisp/org/ob-scala /home/rski/.emacs.d/elpa/org-20170906/ob-forth hides /usr/local/share/emacs/26.0.60/lisp/org/ob-forth /home/rski/.emacs.d/elpa/org-20170906/ob-lisp hides /usr/local/share/emacs/26.0.60/lisp/org/ob-lisp /home/rski/.emacs.d/elpa/org-20170906/org-footnote hides /usr/local/share/emacs/26.0.60/lisp/org/org-footnote /home/rski/.emacs.d/elpa/org-20170906/ox-texinfo hides /usr/local/share/emacs/26.0.60/lisp/org/ox-texinfo /home/rski/.emacs.d/elpa/org-20170906/org-indent hides /usr/local/share/emacs/26.0.60/lisp/org/org-indent /home/rski/.emacs.d/elpa/org-20170906/org-colview hides /usr/local/share/emacs/26.0.60/lisp/org/org-colview /home/rski/.emacs.d/elpa/org-20170906/org hides /usr/local/share/emacs/26.0.60/lisp/org/org /home/rski/.emacs.d/elpa/org-20170906/ob-sqlite hides /usr/local/share/emacs/26.0.60/lisp/org/ob-sqlite /home/rski/.emacs.d/elpa/org-20170906/ob-C hides /usr/local/share/emacs/26.0.60/lisp/org/ob-C /home/rski/.emacs.d/elpa/org-20170906/ob-lilypond hides /usr/local/share/emacs/26.0.60/lisp/org/ob-lilypond /home/rski/.emacs.d/elpa/org-20170906/org-irc hides /usr/local/share/emacs/26.0.60/lisp/org/org-irc /home/rski/.emacs.d/elpa/org-20170906/org-mobile hides /usr/local/share/emacs/26.0.60/lisp/org/org-mobile /home/rski/.emacs.d/elpa/org-20170906/ob-R hides /usr/local/share/emacs/26.0.60/lisp/org/ob-R /home/rski/.emacs.d/elpa/org-20170906/org-faces hides /usr/local/share/emacs/26.0.60/lisp/org/org-faces /home/rski/.emacs.d/elpa/org-20170906/org-attach hides /usr/local/share/emacs/26.0.60/lisp/org/org-attach /home/rski/.emacs.d/elpa/org-20170906/ob-tangle hides /usr/local/share/emacs/26.0.60/lisp/org/ob-tangle /home/rski/.emacs.d/elpa/org-20170906/org-bbdb hides /usr/local/share/emacs/26.0.60/lisp/org/org-bbdb /home/rski/.emacs.d/elpa/org-20170906/org-timer hides /usr/local/share/emacs/26.0.60/lisp/org/org-timer /home/rski/.emacs.d/elpa/org-20170906/ox-man hides /usr/local/share/emacs/26.0.60/lisp/org/ox-man /home/rski/.emacs.d/elpa/org-20170906/ob-ruby hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ruby /home/rski/.emacs.d/elpa/org-20170906/ob-mscgen hides /usr/local/share/emacs/26.0.60/lisp/org/ob-mscgen /home/rski/.emacs.d/elpa/org-20170906/org-src hides /usr/local/share/emacs/26.0.60/lisp/org/org-src /home/rski/.emacs.d/elpa/org-20170906/org-install hides /usr/local/share/emacs/26.0.60/lisp/org/org-install /home/rski/.emacs.d/elpa/org-20170906/ob-emacs-lisp hides /usr/local/share/emacs/26.0.60/lisp/org/ob-emacs-lisp /home/rski/.emacs.d/elpa/org-20170906/ob-java hides /usr/local/share/emacs/26.0.60/lisp/org/ob-java /home/rski/.emacs.d/elpa/org-20170906/ob-table hides /usr/local/share/emacs/26.0.60/lisp/org/ob-table /home/rski/.emacs.d/elpa/org-20170906/ob-js hides /usr/local/share/emacs/26.0.60/lisp/org/ob-js /home/rski/.emacs.d/elpa/org-20170906/ob-shell hides /usr/local/share/emacs/26.0.60/lisp/org/ob-shell /home/rski/.emacs.d/elpa/org-20170906/ob-processing hides /usr/local/share/emacs/26.0.60/lisp/org/ob-processing /home/rski/.emacs.d/elpa/org-20170906/org-entities hides /usr/local/share/emacs/26.0.60/lisp/org/org-entities /home/rski/.emacs.d/elpa/org-20170906/org-w3m hides /usr/local/share/emacs/26.0.60/lisp/org/org-w3m /home/rski/.emacs.d/elpa/org-20170906/org-rmail hides /usr/local/share/emacs/26.0.60/lisp/org/org-rmail /home/rski/.emacs.d/elpa/org-20170906/ob-octave hides /usr/local/share/emacs/26.0.60/lisp/org/ob-octave /home/rski/.emacs.d/elpa/org-20170906/ob-latex hides /usr/local/share/emacs/26.0.60/lisp/org/ob-latex /home/rski/.emacs.d/elpa/org-20170906/ob-gnuplot hides /usr/local/share/emacs/26.0.60/lisp/org/ob-gnuplot /home/rski/.emacs.d/elpa/org-20170906/ob-keys hides /usr/local/share/emacs/26.0.60/lisp/org/ob-keys /home/rski/.emacs.d/elpa/org-20170906/ob-fortran hides /usr/local/share/emacs/26.0.60/lisp/org/ob-fortran /home/rski/.emacs.d/elpa/org-20170906/ob-matlab hides /usr/local/share/emacs/26.0.60/lisp/org/ob-matlab /home/rski/.emacs.d/elpa/org-20170906/ox-md hides /usr/local/share/emacs/26.0.60/lisp/org/ox-md /home/rski/.emacs.d/elpa/org-20170906/org-crypt hides /usr/local/share/emacs/26.0.60/lisp/org/org-crypt /home/rski/.emacs.d/elpa/org-20170906/ob-coq hides /usr/local/share/emacs/26.0.60/lisp/org/ob-coq /home/rski/.emacs.d/elpa/org-20170906/org-ctags hides /usr/local/share/emacs/26.0.60/lisp/org/org-ctags /home/rski/.emacs.d/elpa/org-20170906/org-clock hides /usr/local/share/emacs/26.0.60/lisp/org/org-clock /home/rski/.emacs.d/elpa/org-20170906/ob-groovy hides /usr/local/share/emacs/26.0.60/lisp/org/ob-groovy /home/rski/.emacs.d/elpa/org-20170906/ob hides /usr/local/share/emacs/26.0.60/lisp/org/ob /home/rski/.emacs.d/elpa/org-20170906/org-mhe hides /usr/local/share/emacs/26.0.60/lisp/org/org-mhe /home/rski/.emacs.d/elpa/org-20170906/org-habit hides /usr/local/share/emacs/26.0.60/lisp/org/org-habit /home/rski/.emacs.d/elpa/org-20170906/ob-comint hides /usr/local/share/emacs/26.0.60/lisp/org/ob-comint /home/rski/.emacs.d/elpa/org-20170906/ob-python hides /usr/local/share/emacs/26.0.60/lisp/org/ob-python /home/rski/.emacs.d/elpa/org-20170906/ob-shen hides /usr/local/share/emacs/26.0.60/lisp/org/ob-shen /home/rski/.emacs.d/elpa/org-20170906/org-docview hides /usr/local/share/emacs/26.0.60/lisp/org/org-docview /home/rski/.emacs.d/elpa/org-20170906/org-version hides /usr/local/share/emacs/26.0.60/lisp/org/org-version /home/rski/.emacs.d/elpa/org-20170906/org-macs hides /usr/local/share/emacs/26.0.60/lisp/org/org-macs /home/rski/.emacs.d/elpa/org-20170906/org-bibtex hides /usr/local/share/emacs/26.0.60/lisp/org/org-bibtex /home/rski/.emacs.d/elpa/org-20170906/ox-html hides /usr/local/share/emacs/26.0.60/lisp/org/ox-html /home/rski/.emacs.d/elpa/org-20170906/org-mouse hides /usr/local/share/emacs/26.0.60/lisp/org/org-mouse /home/rski/.emacs.d/elpa/org-20170906/org-compat hides /usr/local/share/emacs/26.0.60/lisp/org/org-compat /home/rski/.emacs.d/elpa/org-20170906/ob-sql hides /usr/local/share/emacs/26.0.60/lisp/org/ob-sql /home/rski/.emacs.d/elpa/org-20170906/org-pcomplete hides /usr/local/share/emacs/26.0.60/lisp/org/org-pcomplete /home/rski/.emacs.d/elpa/org-20170906/org-protocol hides /usr/local/share/emacs/26.0.60/lisp/org/org-protocol /home/rski/.emacs.d/elpa/org-20170906/ox-odt hides /usr/local/share/emacs/26.0.60/lisp/org/ox-odt /home/rski/.emacs.d/elpa/org-20170906/ob-lua hides /usr/local/share/emacs/26.0.60/lisp/org/ob-lua /home/rski/.emacs.d/elpa/org-20170906/ox-latex hides /usr/local/share/emacs/26.0.60/lisp/org/ox-latex /home/rski/.emacs.d/elpa/org-20170906/ob-css hides /usr/local/share/emacs/26.0.60/lisp/org/ob-css /home/rski/.emacs.d/elpa/org-20170906/ob-lob hides /usr/local/share/emacs/26.0.60/lisp/org/ob-lob /home/rski/.emacs.d/elpa/org-20170906/ob-perl hides /usr/local/share/emacs/26.0.60/lisp/org/ob-perl /home/rski/.emacs.d/elpa/org-20170906/org-table hides /usr/local/share/emacs/26.0.60/lisp/org/org-table /home/rski/.emacs.d/elpa/org-20170906/ob-asymptote hides /usr/local/share/emacs/26.0.60/lisp/org/ob-asymptote /home/rski/.emacs.d/elpa/org-20170906/ob-sass hides /usr/local/share/emacs/26.0.60/lisp/org/ob-sass /home/rski/.emacs.d/elpa/org-20170906/ob-core hides /usr/local/share/emacs/26.0.60/lisp/org/ob-core /home/rski/.emacs.d/elpa/org-20170906/ob-maxima hides /usr/local/share/emacs/26.0.60/lisp/org/ob-maxima /home/rski/.emacs.d/elpa/org-20170906/ob-ocaml hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ocaml /home/rski/.emacs.d/elpa/org-20170906/ob-ref hides /usr/local/share/emacs/26.0.60/lisp/org/ob-ref /home/rski/.emacs.d/elpa/org-20170906/ob-awk hides /usr/local/share/emacs/26.0.60/lisp/org/ob-awk Features: (shadow sort mail-extr emacsbug sendmail helm-command helm-elisp helm-eval edebug helm-info sh-script smie executable org-rmail org-mhe org-irc org-info org-gnus nnir org-docview doc-view org-bibtex bibtex org-bbdb org-w3m winner mm-archive flyspell ispell display-line-numbers smartparens-config smartparens-text smartparens-rust smartparens-python smartparens-lua smartparens-html smartparens company-oddmuse company-keywords company-etags company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-css company-nxml company-bbdb flycheck-ledger ledger-mode ledger-check ledger-texi ledger-test ledger-sort ledger-report ledger-reconcile ledger-occur ledger-fontify ledger-state ledger-fonts ledger-complete ledger-schedule ledger-init ledger-xact ledger-post ledger-exec ledger-navigate ledger-context ledger-commodities esh-var esh-io esh-cmd esh-opt esh-ext esh-proc esh-groups eshell esh-module esh-mode esh-arg esh-util cus-edit ledger-regex battery time helm-projectile projectile skeleton ibuf-macs ibuf-ext ibuffer ibuffer-loaddefs dumb-jump gnuplot info-look find-lisp htmlize ox-reveal ox-odt rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex ox-icalendar ox-html table ox-ascii ox-publish ox org-bullets monokai-theme hl-todo better-defaults paren saveplace ws-butler which-key cap-words superword subword hydra lv git-gutter racer flycheck-rust rust-mode protobuf-mode go-playground time-stamp gotest go-guru go-eldoc company-go company-template go-mode find-file etags xref project company-nixos-options nixos-options nix-mode yang-mode cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs company-c-headers emmet-mode web-mode disp-table lua-mode ensime ensime-sbt sbt-mode sbt-mode-rgrep grep sbt-mode-comint sbt-mode-buffer sbt-mode-project sbt-mode-vars ensime-http ensime-ui ensime-semantic-highlight ensime-doc ensime-search ensime-undo ensime-startup ensime-refactor diff-mode ensime-popup ensime-notes ensime-model ensime-mode ensime-inspector imenu ensime-goto-testfile ensime-editor popup ensime-debug gdb-mi bindat gud ensime-stacktrace ensime-inf ensime-completion-util scala-mode-syntax ensime-config ensime-util ensime-client ensime-vars flymake flymake-proc flymake-ui hideshow pp arc-mode archive-mode ensime-macros puppet-mode align company-anaconda anaconda-mode pythonic f s python tramp-sh yasnippet elec-pair company helm-mode helm-files image-dired image-mode dired-x dired-aux ffap thingatpt helm-buffers helm-tags helm-locate helm-grep helm-regexp helm-external helm-net browse-url xml helm-utils helm-help helm-types helm helm-source eieio-compat helm-multi-match helm-lib wdired helm-config helm-easymenu async-bytecomp async flycheck-pos-tip pos-tip flycheck cl-extra json map help-mode rx dash jka-compr compile let-alist try use-package diminish cl bind-key network-stream starttls url-http url-gw nsm url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap org-element avl-tree generator org org-macro org-footnote org-pcomplete org-list org-faces org-entities noutline outline org-version ob-emacs-lisp ob ob-tangle org-src easy-mmode ob-ref ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat org-macs pcase org-loaddefs find-func cal-menu calendar cal-loaddefs gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range message subr-x puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr wid-edit tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell pcomplete comint ansi-color ring parse-time format-spec advice cus-start cus-load finder-inf edmacro kmacro info package easymenu epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray 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 lcms2 dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 1352576 57186) (symbols 48 70356 14) (miscs 40 183 488) (strings 32 201896 4285) (string-bytes 1 7876708) (vectors 16 80891) (vector-slots 8 2061006 174113) (floats 8 361 385) (intervals 56 1278 157) (buffers 992 20))
Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) Content-Type: text/plain; charset=utf-8 X-Loop: help-debbugs@HIDDEN From: help-debbugs@HIDDEN (GNU bug Tracking System) To: Romanos Skiadas <rom.skiad@HIDDEN> Subject: bug#28533: Acknowledgement (26.0.60; Native line numbers move with show-paren-mode enabled) Message-ID: <handler.28533.B.150593977414268.ack <at> debbugs.gnu.org> References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> X-Gnu-PR-Message: ack 28533 X-Gnu-PR-Package: emacs Reply-To: 28533 <at> debbugs.gnu.org Date: Wed, 20 Sep 2017 20:37:01 +0000 Thank you for filing a new bug report with debbugs.gnu.org. This is an automatically generated reply to let you know your message has been received. Your message is being forwarded to the package maintainers and other interested parties for their attention; they will reply in due course. Your message has been sent to the package maintainer(s): bug-gnu-emacs@HIDDEN If you wish to submit further information on this problem, please send it to 28533 <at> debbugs.gnu.org. Please do not send mail to help-debbugs@HIDDEN unless you wish to report a problem with the Bug-tracking system. --=20 28533: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D28533 GNU Bug Tracking System Contact help-debbugs@HIDDEN with problems
X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Romanos Skiadas <rom.skiad@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Wed, 20 Sep 2017 20:43:02 +0000 Resent-Message-ID: <handler.28533.B28533.150594013714829 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28533 <at> debbugs.gnu.org Received: via spool by 28533-submit <at> debbugs.gnu.org id=B28533.150594013714829 (code B ref 28533); Wed, 20 Sep 2017 20:43:02 +0000 Received: (at 28533) by debbugs.gnu.org; 20 Sep 2017 20:42:17 +0000 Received: from localhost ([127.0.0.1]:50603 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dulp1-0003r6-Kb for submit <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:42:17 -0400 Received: from mail-wm0-f49.google.com ([74.125.82.49]:50662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rom.skiad@HIDDEN>) id 1duloy-0003qn-Jg for 28533 <at> debbugs.gnu.org; Wed, 20 Sep 2017 16:42:13 -0400 Received: by mail-wm0-f49.google.com with SMTP id v142so10405656wmv.5 for <28533 <at> debbugs.gnu.org>; Wed, 20 Sep 2017 13:42:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:from:to:references:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=KnqPvG3Y0UFS5OkvGTQNRLCcpHvF3WyiPwDPL1CRbnw=; b=HDlQn8d1xaQao6YpqXkCJPONNAAGtQpp0PBE3GGCi+k32nm7s5I3cfGwbAQDaUhwPS GZFeh+7si5qZwsVigrIARkZFRMAdTc/BU3OsnAD9PCUU38NrIozYQVTXp/xDgUt8KXW2 N0ceo0kg2DYjUdvT3fJxIsA1F1QiikHbfp8ku+yDg6JcaXt29q2IldHB36afBOPJahAD R2pC/lI0Ir+EcpXEnnjmj7Z0Yj7M1kvqS+eSOAoRKgmIFKbjTMB2lVuhdYJCJFzvseYm 9jqPyqmMutTAIv5QGNYrK/sui7OSQhCcj7Qh1mKea3jOJ45unuFWwc8NAb6cCu1d72wP o6Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=KnqPvG3Y0UFS5OkvGTQNRLCcpHvF3WyiPwDPL1CRbnw=; b=asO0FpH6q17snIDvltEeinAcSyIzPRlTcICU1EOEVRi/n399+th62zAquiUXyxyY++ 9m7p7UVcj8uB4arCbjHegt45QK8XeuBl+b51Uou2gb9dg2nYXWOl+DOODAhk2oJGUOW8 2YqyI29u7/GlB0WcXhCF42yYCCYm8EQLgcgpi3ya8MU+cUJfSxM3lxrcD72PwGcxkOkF ATb89d+e3o+6/V3fzXLlD/tsAcm1QGVWIuUNz54iLJG/U7T5gSamh3zIrxw0CGJd/tgp EU4WX8flIIjGc3VgQOtjRs3ipjl1Imp+lZzzzDHKruoKWJ/kdHFwz5370P+KpjUfd++S vcqg== X-Gm-Message-State: AHPjjUhRmTT5+P9lvQuyMxgMV8DN6qcDir8gTmD+A0ZN7Tf2/mGy7QDJ EsEv/aNgXiT+qZ6CYOp5GVm3wQWQ X-Google-Smtp-Source: AOwi7QBOb9capRvHG+pYrcNY0g04k32plHC05igKtIrynDgSM73wmoOJffArQtXczEuT5jPus8Avrw== X-Received: by 10.80.212.40 with SMTP id t40mr5800658edh.67.1505940126008; Wed, 20 Sep 2017 13:42:06 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.41]) by smtp.gmail.com with ESMTPSA id h33sm34571edh.70.2017.09.20.13.42.04 for <28533 <at> debbugs.gnu.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2017 13:42:05 -0700 (PDT) From: Romanos Skiadas <rom.skiad@HIDDEN> References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> Message-ID: <8d754057-122d-5189-ede3-0400a02b91f6@HIDDEN> Date: Wed, 20 Sep 2017 21:42:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) Oh no,the whitespace showing the problem disappeared. Treating undescores as space: __1 * Foo... 123 |() _123 (|) 123 ()| - Romanos On 20/09/17 21:14, Romanos Skiadas wrote: > Message-ID: <87bmm53zbd.fsf@HIDDEN> > --text follows this line-- > > As the subjects says, native line numbers move forward a bit with show > paren mode enabled. > To reproduce this behaviour: > > - Start emacs > ./src/emacs -Q --eval "(add-hook 'text-mode-hook (lambda () > (display-line-numbers-mode)))" --eval "(show-paren-mode 1)" /tmp/test.org > > - Write about 100 lines or so and fold the org header. Something like > 1 * Foo...[100 lines folded here] > > - Enter a pair of parens under the folded header: > 1 * Foo... > 123 () > > - Move the point from left to right with C-f and the line number moves: > 1 * Foo... > 123 |() > 123 (|) > 123 ()| > > As far as I could tell, without the folded lines or show-paren-mode this > does not happen. It can also be replicated in modes other than org by > using set-selective-display. > > In GNU Emacs 26.0.60 (build 4, x86_64-pc-linux-gnu, GTK+ Version 3.22.11) > of 2017-09-20 built on rski-ThinkPad-T470 > Repository revision: 047f02f00f602b9aef63ae8938e12f3f0ab481eb > Windowing system distributor 'The X.Org Foundation', version > 11.0.11903000 > System Description: Ubuntu 17.04 > > Recent messages: > Loading /home/rski/.emacs.d/config.el (source)...done > Loaded ~/.emacs.d/config.el > Starting new Ispell process /usr/bin/aspell with default dictionary... > For information about GNU Emacs and the GNU system, type C-h C-a. > Setting up indent for shell type zsh > Indentation variables are now local. > Indentation setup for shell type zsh > Package refresh done > Mark set > ../.emacs.d/elpa/helm-20170906.426/helm-elisp.el: ‘dont-compile’ is an > obsolete macro (as of 24.4). > > Configured features: > XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS NOTIFY > ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB > TOOLKIT_SCROLL_BARS GTK3 X11 LCMS2 > > Important settings: > value of $LANG: en_IE.UTF-8 > locale-coding-system: utf-8-unix > > Major mode: Org > > Minor modes in effect: > flyspell-mode: t > display-line-numbers-mode: t > smartparens-mode: t > display-battery-mode: t > display-time-mode: t > projectile-mode: t > dumb-jump-mode: t > org-bullets-mode: t > global-hl-todo-mode: t > show-paren-mode: t > save-place-mode: t > ws-butler-mode: t > which-key-mode: t > global-subword-mode: t > subword-mode: t > global-git-gutter-mode: t > diff-auto-refine-mode: t > yas-global-mode: t > yas-minor-mode: t > global-company-mode: t > company-mode: t > helm-mode: t > async-bytecomp-package-mode: t > flycheck-pos-tip-mode: t > global-flycheck-mode: t > flycheck-mode: t > override-global-mode: t > shell-dirtrack-mode: t > tooltip-mode: t > global-eldoc-mode: t > electric-indent-mode: t > mouse-wheel-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 > column-number-mode: 1 > line-number-mode: t > transient-mark-mode: t > > Load-path shadows: > /home/rski/.emacs.d/elpa/org-20170906/org-lint hides > /usr/local/share/emacs/26.0.60/lisp/org/org-lint > /home/rski/.emacs.d/elpa/org-20170906/ob-ebnf hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ebnf > /home/rski/.emacs.d/elpa/org-20170906/ob-abc hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-abc > /home/rski/.emacs.d/elpa/org-20170906/ob-eval hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-eval > /home/rski/.emacs.d/elpa/org-20170906/org-capture hides > /usr/local/share/emacs/26.0.60/lisp/org/org-capture > /home/rski/.emacs.d/elpa/org-20170906/ob-org hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-org > /home/rski/.emacs.d/elpa/org-20170906/ob-screen hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-screen > /home/rski/.emacs.d/elpa/org-20170906/ob-ledger hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ledger > /home/rski/.emacs.d/elpa/org-20170906/ox-beamer hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-beamer > /home/rski/.emacs.d/elpa/org-20170906/org-agenda hides > /usr/local/share/emacs/26.0.60/lisp/org/org-agenda > /home/rski/.emacs.d/elpa/org-20170906/ox-ascii hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-ascii > /home/rski/.emacs.d/elpa/org-20170906/ob-calc hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-calc > /home/rski/.emacs.d/elpa/org-20170906/ob-haskell hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-haskell > /home/rski/.emacs.d/elpa/org-20170906/org-plot hides > /usr/local/share/emacs/26.0.60/lisp/org/org-plot > /home/rski/.emacs.d/elpa/org-20170906/ob-picolisp hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-picolisp > /home/rski/.emacs.d/elpa/org-20170906/ob-dot hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-dot > /home/rski/.emacs.d/elpa/org-20170906/ob-plantuml hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-plantuml > /home/rski/.emacs.d/elpa/org-20170906/ox-publish hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-publish > /home/rski/.emacs.d/elpa/org-20170906/org-gnus hides > /usr/local/share/emacs/26.0.60/lisp/org/org-gnus > /home/rski/.emacs.d/elpa/org-20170906/org-archive hides > /usr/local/share/emacs/26.0.60/lisp/org/org-archive > /home/rski/.emacs.d/elpa/org-20170906/org-datetree hides > /usr/local/share/emacs/26.0.60/lisp/org/org-datetree > /home/rski/.emacs.d/elpa/org-20170906/org-list hides > /usr/local/share/emacs/26.0.60/lisp/org/org-list > /home/rski/.emacs.d/elpa/org-20170906/ob-makefile hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-makefile > /home/rski/.emacs.d/elpa/org-20170906/org-inlinetask hides > /usr/local/share/emacs/26.0.60/lisp/org/org-inlinetask > /home/rski/.emacs.d/elpa/org-20170906/ob-J hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-J > /home/rski/.emacs.d/elpa/org-20170906/ob-stan hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-stan > /home/rski/.emacs.d/elpa/org-20170906/org-element hides > /usr/local/share/emacs/26.0.60/lisp/org/org-element > /home/rski/.emacs.d/elpa/org-20170906/ob-scheme hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-scheme > /home/rski/.emacs.d/elpa/org-20170906/ob-exp hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-exp > /home/rski/.emacs.d/elpa/org-20170906/ob-ditaa hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ditaa > /home/rski/.emacs.d/elpa/org-20170906/ox-icalendar hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-icalendar > /home/rski/.emacs.d/elpa/org-20170906/org-macro hides > /usr/local/share/emacs/26.0.60/lisp/org/org-macro > /home/rski/.emacs.d/elpa/org-20170906/org-eww hides > /usr/local/share/emacs/26.0.60/lisp/org/org-eww > /home/rski/.emacs.d/elpa/org-20170906/org-loaddefs hides > /usr/local/share/emacs/26.0.60/lisp/org/org-loaddefs > /home/rski/.emacs.d/elpa/org-20170906/org-eshell hides > /usr/local/share/emacs/26.0.60/lisp/org/org-eshell > /home/rski/.emacs.d/elpa/org-20170906/ob-io hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-io > /home/rski/.emacs.d/elpa/org-20170906/ob-sed hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-sed > /home/rski/.emacs.d/elpa/org-20170906/org-feed hides > /usr/local/share/emacs/26.0.60/lisp/org/org-feed > /home/rski/.emacs.d/elpa/org-20170906/ox-org hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-org > /home/rski/.emacs.d/elpa/org-20170906/org-id hides > /usr/local/share/emacs/26.0.60/lisp/org/org-id > /home/rski/.emacs.d/elpa/org-20170906/ob-clojure hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-clojure > /home/rski/.emacs.d/elpa/org-20170906/ox hides > /usr/local/share/emacs/26.0.60/lisp/org/ox > /home/rski/.emacs.d/elpa/org-20170906/org-info hides > /usr/local/share/emacs/26.0.60/lisp/org/org-info > /home/rski/.emacs.d/elpa/scala-mode-20170802.432/ob-scala hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-scala > /home/rski/.emacs.d/elpa/org-20170906/ob-forth hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-forth > /home/rski/.emacs.d/elpa/org-20170906/ob-lisp hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-lisp > /home/rski/.emacs.d/elpa/org-20170906/org-footnote hides > /usr/local/share/emacs/26.0.60/lisp/org/org-footnote > /home/rski/.emacs.d/elpa/org-20170906/ox-texinfo hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-texinfo > /home/rski/.emacs.d/elpa/org-20170906/org-indent hides > /usr/local/share/emacs/26.0.60/lisp/org/org-indent > /home/rski/.emacs.d/elpa/org-20170906/org-colview hides > /usr/local/share/emacs/26.0.60/lisp/org/org-colview > /home/rski/.emacs.d/elpa/org-20170906/org hides > /usr/local/share/emacs/26.0.60/lisp/org/org > /home/rski/.emacs.d/elpa/org-20170906/ob-sqlite hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-sqlite > /home/rski/.emacs.d/elpa/org-20170906/ob-C hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-C > /home/rski/.emacs.d/elpa/org-20170906/ob-lilypond hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-lilypond > /home/rski/.emacs.d/elpa/org-20170906/org-irc hides > /usr/local/share/emacs/26.0.60/lisp/org/org-irc > /home/rski/.emacs.d/elpa/org-20170906/org-mobile hides > /usr/local/share/emacs/26.0.60/lisp/org/org-mobile > /home/rski/.emacs.d/elpa/org-20170906/ob-R hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-R > /home/rski/.emacs.d/elpa/org-20170906/org-faces hides > /usr/local/share/emacs/26.0.60/lisp/org/org-faces > /home/rski/.emacs.d/elpa/org-20170906/org-attach hides > /usr/local/share/emacs/26.0.60/lisp/org/org-attach > /home/rski/.emacs.d/elpa/org-20170906/ob-tangle hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-tangle > /home/rski/.emacs.d/elpa/org-20170906/org-bbdb hides > /usr/local/share/emacs/26.0.60/lisp/org/org-bbdb > /home/rski/.emacs.d/elpa/org-20170906/org-timer hides > /usr/local/share/emacs/26.0.60/lisp/org/org-timer > /home/rski/.emacs.d/elpa/org-20170906/ox-man hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-man > /home/rski/.emacs.d/elpa/org-20170906/ob-ruby hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ruby > /home/rski/.emacs.d/elpa/org-20170906/ob-mscgen hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-mscgen > /home/rski/.emacs.d/elpa/org-20170906/org-src hides > /usr/local/share/emacs/26.0.60/lisp/org/org-src > /home/rski/.emacs.d/elpa/org-20170906/org-install hides > /usr/local/share/emacs/26.0.60/lisp/org/org-install > /home/rski/.emacs.d/elpa/org-20170906/ob-emacs-lisp hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-emacs-lisp > /home/rski/.emacs.d/elpa/org-20170906/ob-java hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-java > /home/rski/.emacs.d/elpa/org-20170906/ob-table hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-table > /home/rski/.emacs.d/elpa/org-20170906/ob-js hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-js > /home/rski/.emacs.d/elpa/org-20170906/ob-shell hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-shell > /home/rski/.emacs.d/elpa/org-20170906/ob-processing hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-processing > /home/rski/.emacs.d/elpa/org-20170906/org-entities hides > /usr/local/share/emacs/26.0.60/lisp/org/org-entities > /home/rski/.emacs.d/elpa/org-20170906/org-w3m hides > /usr/local/share/emacs/26.0.60/lisp/org/org-w3m > /home/rski/.emacs.d/elpa/org-20170906/org-rmail hides > /usr/local/share/emacs/26.0.60/lisp/org/org-rmail > /home/rski/.emacs.d/elpa/org-20170906/ob-octave hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-octave > /home/rski/.emacs.d/elpa/org-20170906/ob-latex hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-latex > /home/rski/.emacs.d/elpa/org-20170906/ob-gnuplot hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-gnuplot > /home/rski/.emacs.d/elpa/org-20170906/ob-keys hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-keys > /home/rski/.emacs.d/elpa/org-20170906/ob-fortran hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-fortran > /home/rski/.emacs.d/elpa/org-20170906/ob-matlab hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-matlab > /home/rski/.emacs.d/elpa/org-20170906/ox-md hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-md > /home/rski/.emacs.d/elpa/org-20170906/org-crypt hides > /usr/local/share/emacs/26.0.60/lisp/org/org-crypt > /home/rski/.emacs.d/elpa/org-20170906/ob-coq hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-coq > /home/rski/.emacs.d/elpa/org-20170906/org-ctags hides > /usr/local/share/emacs/26.0.60/lisp/org/org-ctags > /home/rski/.emacs.d/elpa/org-20170906/org-clock hides > /usr/local/share/emacs/26.0.60/lisp/org/org-clock > /home/rski/.emacs.d/elpa/org-20170906/ob-groovy hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-groovy > /home/rski/.emacs.d/elpa/org-20170906/ob hides > /usr/local/share/emacs/26.0.60/lisp/org/ob > /home/rski/.emacs.d/elpa/org-20170906/org-mhe hides > /usr/local/share/emacs/26.0.60/lisp/org/org-mhe > /home/rski/.emacs.d/elpa/org-20170906/org-habit hides > /usr/local/share/emacs/26.0.60/lisp/org/org-habit > /home/rski/.emacs.d/elpa/org-20170906/ob-comint hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-comint > /home/rski/.emacs.d/elpa/org-20170906/ob-python hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-python > /home/rski/.emacs.d/elpa/org-20170906/ob-shen hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-shen > /home/rski/.emacs.d/elpa/org-20170906/org-docview hides > /usr/local/share/emacs/26.0.60/lisp/org/org-docview > /home/rski/.emacs.d/elpa/org-20170906/org-version hides > /usr/local/share/emacs/26.0.60/lisp/org/org-version > /home/rski/.emacs.d/elpa/org-20170906/org-macs hides > /usr/local/share/emacs/26.0.60/lisp/org/org-macs > /home/rski/.emacs.d/elpa/org-20170906/org-bibtex hides > /usr/local/share/emacs/26.0.60/lisp/org/org-bibtex > /home/rski/.emacs.d/elpa/org-20170906/ox-html hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-html > /home/rski/.emacs.d/elpa/org-20170906/org-mouse hides > /usr/local/share/emacs/26.0.60/lisp/org/org-mouse > /home/rski/.emacs.d/elpa/org-20170906/org-compat hides > /usr/local/share/emacs/26.0.60/lisp/org/org-compat > /home/rski/.emacs.d/elpa/org-20170906/ob-sql hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-sql > /home/rski/.emacs.d/elpa/org-20170906/org-pcomplete hides > /usr/local/share/emacs/26.0.60/lisp/org/org-pcomplete > /home/rski/.emacs.d/elpa/org-20170906/org-protocol hides > /usr/local/share/emacs/26.0.60/lisp/org/org-protocol > /home/rski/.emacs.d/elpa/org-20170906/ox-odt hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-odt > /home/rski/.emacs.d/elpa/org-20170906/ob-lua hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-lua > /home/rski/.emacs.d/elpa/org-20170906/ox-latex hides > /usr/local/share/emacs/26.0.60/lisp/org/ox-latex > /home/rski/.emacs.d/elpa/org-20170906/ob-css hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-css > /home/rski/.emacs.d/elpa/org-20170906/ob-lob hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-lob > /home/rski/.emacs.d/elpa/org-20170906/ob-perl hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-perl > /home/rski/.emacs.d/elpa/org-20170906/org-table hides > /usr/local/share/emacs/26.0.60/lisp/org/org-table > /home/rski/.emacs.d/elpa/org-20170906/ob-asymptote hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-asymptote > /home/rski/.emacs.d/elpa/org-20170906/ob-sass hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-sass > /home/rski/.emacs.d/elpa/org-20170906/ob-core hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-core > /home/rski/.emacs.d/elpa/org-20170906/ob-maxima hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-maxima > /home/rski/.emacs.d/elpa/org-20170906/ob-ocaml hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ocaml > /home/rski/.emacs.d/elpa/org-20170906/ob-ref hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-ref > /home/rski/.emacs.d/elpa/org-20170906/ob-awk hides > /usr/local/share/emacs/26.0.60/lisp/org/ob-awk > > Features: > (shadow sort mail-extr emacsbug sendmail helm-command helm-elisp > helm-eval edebug helm-info sh-script smie executable org-rmail org-mhe > org-irc org-info org-gnus nnir org-docview doc-view org-bibtex bibtex > org-bbdb org-w3m winner mm-archive flyspell ispell display-line-numbers > smartparens-config smartparens-text smartparens-rust smartparens-python > smartparens-lua smartparens-html smartparens company-oddmuse > company-keywords company-etags company-gtags company-dabbrev-code > company-dabbrev company-files company-capf company-cmake company-xcode > company-clang company-semantic company-eclim company-css company-nxml > company-bbdb flycheck-ledger ledger-mode ledger-check ledger-texi > ledger-test ledger-sort ledger-report ledger-reconcile ledger-occur > ledger-fontify ledger-state ledger-fonts ledger-complete ledger-schedule > ledger-init ledger-xact ledger-post ledger-exec ledger-navigate > ledger-context ledger-commodities esh-var esh-io esh-cmd esh-opt esh-ext > esh-proc esh-groups eshell esh-module esh-mode esh-arg esh-util cus-edit > ledger-regex battery time helm-projectile projectile skeleton ibuf-macs > ibuf-ext ibuffer ibuffer-loaddefs dumb-jump gnuplot info-look find-lisp > htmlize ox-reveal ox-odt rng-loc rng-uri rng-parse rng-match rng-dt > rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util ox-latex > ox-icalendar ox-html table ox-ascii ox-publish ox org-bullets > monokai-theme hl-todo better-defaults paren saveplace ws-butler > which-key cap-words superword subword hydra lv git-gutter racer > flycheck-rust rust-mode protobuf-mode go-playground time-stamp gotest > go-guru go-eldoc company-go company-template go-mode find-file etags > xref project company-nixos-options nixos-options nix-mode yang-mode > cc-langs cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align > cc-engine cc-vars cc-defs company-c-headers emmet-mode web-mode > disp-table lua-mode ensime ensime-sbt sbt-mode sbt-mode-rgrep grep > sbt-mode-comint sbt-mode-buffer sbt-mode-project sbt-mode-vars > ensime-http ensime-ui ensime-semantic-highlight ensime-doc ensime-search > ensime-undo ensime-startup ensime-refactor diff-mode ensime-popup > ensime-notes ensime-model ensime-mode ensime-inspector imenu > ensime-goto-testfile ensime-editor popup ensime-debug gdb-mi bindat gud > ensime-stacktrace ensime-inf ensime-completion-util scala-mode-syntax > ensime-config ensime-util ensime-client ensime-vars flymake flymake-proc > flymake-ui hideshow pp arc-mode archive-mode ensime-macros puppet-mode > align company-anaconda anaconda-mode pythonic f s python tramp-sh > yasnippet elec-pair company helm-mode helm-files image-dired image-mode > dired-x dired-aux ffap thingatpt helm-buffers helm-tags helm-locate > helm-grep helm-regexp helm-external helm-net browse-url xml helm-utils > helm-help helm-types helm helm-source eieio-compat helm-multi-match > helm-lib wdired helm-config helm-easymenu async-bytecomp async > flycheck-pos-tip pos-tip flycheck cl-extra json map help-mode rx dash > jka-compr compile let-alist try use-package diminish cl bind-key > network-stream starttls url-http url-gw nsm url-cache url-auth url > url-proxy url-privacy url-expand url-methods url-history url-cookie > url-domsuf url-util mailcap org-element avl-tree generator org org-macro > org-footnote org-pcomplete org-list org-faces org-entities noutline > outline org-version ob-emacs-lisp ob ob-tangle org-src easy-mmode ob-ref > ob-lob ob-table ob-keys ob-exp ob-comint ob-core ob-eval org-compat > org-macs pcase org-loaddefs find-func cal-menu calendar cal-loaddefs > gnus-sum gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail > mail-source tls gnutls utf7 netrc nnoo gnus-spec gnus-int gnus-range > message subr-x puny dired dired-loaddefs rfc822 mml mml-sec epa derived > epg mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev > gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail > rmail-loaddefs rfc2047 rfc2045 ietf-drums mail-utils mm-util mail-prsvr > wid-edit tramp tramp-compat tramp-loaddefs trampver ucs-normalize shell > pcomplete comint ansi-color ring parse-time format-spec advice cus-start > cus-load finder-inf edmacro kmacro info package easymenu epg-config > url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs > eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp > byte-compile cconv cl-loaddefs cl-lib time-date mule-util tooltip eldoc > electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win > x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe > tabulated-list replace newcomment text-mode elisp-mode lisp-mode > prog-mode register page menu-bar rfn-eshadow isearch timer select > scroll-bar mouse jit-lock font-lock syntax facemenu font-core > term/tty-colors 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 composite charscript charprop case-table epa-hook jka-cmpr-hook > help simple abbrev obarray 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 lcms2 dynamic-setting system-font-setting > font-render-setting move-toolbar gtk x-toolkit x multi-tty > make-network-process emacs) > > Memory information: > ((conses 16 1352576 57186) > (symbols 48 70356 14) > (miscs 40 183 488) > (strings 32 201896 4285) > (string-bytes 1 7876708) > (vectors 16 80891) > (vector-slots 8 2061006 174113) > (floats 8 361 385) > (intervals 56 1278 157) > (buffers 992 20)) > > >
X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 21 Sep 2017 09:13:02 +0000 Resent-Message-ID: <handler.28533.B28533.15059851258773 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas <rom.skiad@HIDDEN> Cc: 28533 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 28533-submit <at> debbugs.gnu.org id=B28533.15059851258773 (code B ref 28533); Thu, 21 Sep 2017 09:13:02 +0000 Received: (at 28533) by debbugs.gnu.org; 21 Sep 2017 09:12:05 +0000 Received: from localhost ([127.0.0.1]:50875 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1duxWd-0002HP-Dt for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 05:12:03 -0400 Received: from eggs.gnu.org ([208.118.235.92]:35037) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1duxWb-0002Gu-3O for 28533 <at> debbugs.gnu.org; Thu, 21 Sep 2017 05:12:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1duxWS-0005qZ-Mv for 28533 <at> debbugs.gnu.org; Thu, 21 Sep 2017 05:11:55 -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,RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59058) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1duxWS-0005qQ-JV; Thu, 21 Sep 2017 05:11:52 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4256 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1duxWR-0002ZQ-4C; Thu, 21 Sep 2017 05:11:52 -0400 Date: Thu, 21 Sep 2017 12:11:42 +0300 Message-Id: <83wp4se7qp.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> (message from Romanos Skiadas on Wed, 20 Sep 2017 21:14:02 +0100) References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> 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.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > From: Romanos Skiadas <rom.skiad@HIDDEN> > Date: Wed, 20 Sep 2017 21:14:02 +0100 > > - Start emacs > ./src/emacs -Q --eval "(add-hook 'text-mode-hook (lambda () > (display-line-numbers-mode)))" --eval "(show-paren-mode 1)" /tmp/test.org > > - Write about 100 lines or so and fold the org header. Something like > 1 * Foo...[100 lines folded here] > > - Enter a pair of parens under the folded header: > 1 * Foo... > 123 () > > - Move the point from left to right with C-f and the line number moves: > 1 * Foo... > 123 |() > 123 (|) > 123 ()| > > As far as I could tell, without the folded lines or show-paren-mode this > does not happen. It can also be replicated in modes other than org by > using set-selective-display. In modes that hide many lines from display, you should customize display-line-numbers-width-start to a non-nil value, or manually set display-line-numbers-width to a value large enough to accommodate the last physical line of the file (e.g., in file-local variables). Otherwise the default calculation of the width required for line numbers will come up with a value that is lower than necessary, and you will frequently see that some lines displayed in the window are shifted to the right due to this miscalculation. This issue is part of that more general problem. What happens here is that the original calculation of the width of line-number display is incorrect, and the additional redisplay cycle caused by moving the show-parent overlay "corrects" it. Note that this effect is only seen on the last line of the file, and AFAICS only as long as you don't save the buffer. Based on the fact that having line numbers in buffers under selective-display requires customization of the provided options, which then makes this problem go away, I don't think any fix is required for this use case. If you agree, I will close this bug. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Romanos Skiadas <rom.skiad@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Thu, 21 Sep 2017 21:12:02 +0000 Resent-Message-ID: <handler.28533.B28533.15060283188734 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii <eliz@HIDDEN> Cc: 28533 <at> debbugs.gnu.org Received: via spool by 28533-submit <at> debbugs.gnu.org id=B28533.15060283188734 (code B ref 28533); Thu, 21 Sep 2017 21:12:02 +0000 Received: (at 28533) by debbugs.gnu.org; 21 Sep 2017 21:11:58 +0000 Received: from localhost ([127.0.0.1]:51925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dv8lK-0002Go-Ie for submit <at> debbugs.gnu.org; Thu, 21 Sep 2017 17:11:58 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:34409) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rom.skiad@HIDDEN>) id 1dv8lI-0002GX-LS for 28533 <at> debbugs.gnu.org; Thu, 21 Sep 2017 17:11:57 -0400 Received: by mail-wm0-f66.google.com with SMTP id i131so6259474wma.1 for <28533 <at> debbugs.gnu.org>; Thu, 21 Sep 2017 14:11:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=M13n9kcWnwpJ2oK4OTI+dv0iE+v5/TQKDqfn/m+QRII=; b=ZdgNtXBKuL1E/pD9AQQC2e6+7dwfU6gR2xjiYVxXMVEeUZ4wr2X5R30W9GmMPgPQeK VUTvoUNhk2PfBLTsA7qv0PMnxjLXipxiKxezdhYC8QdLRrA9kCAzicloxFL5AKrgqmHV vy9EJYdJkZzv3yimJEsQwC/bu3wdayk80IlKg9WA+18/BnjT7pimqG6bP0abBuFq52yQ Cn39IKA0FcIhF6kpb1WC2n8AfaySuV8GFnOI6eRChUfDY6iJm6w+sqbErj26OtGNPxKC xQ5TdubRHYsBDWmjC34Cp1mFMEqwTjqPBXkeUGyTI8GHiKIxirDdS7Q1J/YLEo0ohNkb LY+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=M13n9kcWnwpJ2oK4OTI+dv0iE+v5/TQKDqfn/m+QRII=; b=k77QCmJsBtoN9k+KuSyK12BkoWitZpSadV/JdLghBQhkoTRwznOfzXwSrB2d03BU0O /oqW/oC9bMM5ifhY0bwS2MHp54ZGCPWg0ZFFUBuxDgKPUG6q/YmG5bXopRcEI7CO1dp5 PvQqxd2HTun+ON7DpwMO7BwVgKQZCGNHrld3Jg/dMuEab9+fzpBy5HMvfnxeAFz9GFiB 8IW+IjphwMye4Bq3HKxlVx7Gelwl7JQ5j5TSuKwcumemj/9XC3gkMbZVpEvtm8MRfFEc iQsGaUKKPqDiuIdceOQzUlnnLFGTLyQdo2wBB9nXDwRWKy1R65PanxTPvS5qsiM9RRSf lw8A== X-Gm-Message-State: AHPjjUhRQVFYvakEgep1OrM1Wx5c0/BOM5fgN3VQa1TWfsS3dvaXxZF1 xLT3Cw/dlAbJFordh/voA8WCxRxh X-Google-Smtp-Source: AOwi7QDKjh4E2NPRbOrGpREO3H9oUSfVPKv8VCJYoW4omew/kSHuS4M0GhmA9gsfxOAjWjvKAQUWUw== X-Received: by 10.80.212.150 with SMTP id s22mr2580016edi.286.1506028310752; Thu, 21 Sep 2017 14:11:50 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.6]) by smtp.gmail.com with ESMTPSA id e12sm1351028edj.88.2017.09.21.14.11.49 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Sep 2017 14:11:50 -0700 (PDT) References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> <83wp4se7qp.fsf@HIDDEN> From: Romanos Skiadas <rom.skiad@HIDDEN> Message-ID: <70f5d04e-48d5-bf0d-fff7-8e7107878d9a@HIDDEN> Date: Thu, 21 Sep 2017 22:11:48 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <83wp4se7qp.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) Hi Eli, Thanks for your very detailed reply. I kind of get what you mean, although I am not very (read: not at all) familiar with redisplay code so my understanding of why this is happening might be wrong. In any case, I would expect line numbers not to move regardless of whatever reasonable condition the buffer is in, hence I still think that this bug should remain open. If you think it is a WONTFIX kind of deal, I'm ok with closing it. As far as I can tell the customizations you suggested are not somewhere in the docs. Should they added in NEWS and in any other relevant documentation? > Note that this effect is only seen on the last line of the file, I can see it in a setup as described in the bug report in a buffer like (substitute _ with space): __ 1* foo...[100 lines] 121()| ____\n 123() Pressing space makes the numbers move forward: __ 1* foo...[100 lines] _121()_| ____\n 123() >and AFAICS only as long as you don't save the buffer. I can reproduce this in *scratch* which is not visiting any file with M-x org-mode RET and following the previous steps. >In modes that hide many lines from display, you should customize display-line-numbers-width-start to a non-nil value This only fixes the problem is the lines are already in the buffer. If you write and fold 100 lines in an empty buffer, the issue still shows up. >or manually set display-line-numbers-width to a value large enough to accommodate the last physical line of the file (e.g., in file-local variables). This works, but I expect Emacs to be able to calculate this correctly out of the box without any kind of intervention. Note that when I say expect I don't mean "I expect you to fix it now!" but rather "This is what is happening vs what I implicitly expected and this is confusing me". Thanks for all your work in Emacs. Best, Romanos
X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Eli Zaretskii <eliz@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Fri, 22 Sep 2017 07:23:01 +0000 Resent-Message-ID: <handler.28533.B28533.150606497923848 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Romanos Skiadas <rom.skiad@HIDDEN> Cc: 28533 <at> debbugs.gnu.org Reply-To: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 28533-submit <at> debbugs.gnu.org id=B28533.150606497923848 (code B ref 28533); Fri, 22 Sep 2017 07:23:01 +0000 Received: (at 28533) by debbugs.gnu.org; 22 Sep 2017 07:22:59 +0000 Received: from localhost ([127.0.0.1]:52155 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dvIIc-0006Ca-RW for submit <at> debbugs.gnu.org; Fri, 22 Sep 2017 03:22:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40473) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1dvIIZ-0006CK-MS for 28533 <at> debbugs.gnu.org; Fri, 22 Sep 2017 03:22:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1dvIIR-0003Kf-Bh for 28533 <at> debbugs.gnu.org; Fri, 22 Sep 2017 03:22:50 -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.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:49976) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from <eliz@HIDDEN>) id 1dvIIR-0003Kb-8v; Fri, 22 Sep 2017 03:22:47 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:3479 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from <eliz@HIDDEN>) id 1dvIIQ-0001QJ-O3; Fri, 22 Sep 2017 03:22:47 -0400 Date: Fri, 22 Sep 2017 10:22:41 +0300 Message-Id: <83shffci4e.fsf@HIDDEN> From: Eli Zaretskii <eliz@HIDDEN> In-reply-to: <70f5d04e-48d5-bf0d-fff7-8e7107878d9a@HIDDEN> (message from Romanos Skiadas on Thu, 21 Sep 2017 22:11:48 +0100) References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> <83wp4se7qp.fsf@HIDDEN> <70f5d04e-48d5-bf0d-fff7-8e7107878d9a@HIDDEN> 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.0 (-----) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -5.0 (-----) > Cc: 28533 <at> debbugs.gnu.org > From: Romanos Skiadas <rom.skiad@HIDDEN> > Date: Thu, 21 Sep 2017 22:11:48 +0100 > > In any case, I would expect line numbers not to move regardless of > whatever reasonable condition the buffer is in, hence I still think that > this bug should remain open. Fine with me. > If you think it is a WONTFIX kind of deal, I'm ok with closing it. As > far as I can tell the customizations you suggested are not somewhere in > the docs. Should they added in NEWS and in any other relevant documentation? Not sure what you mean: the variables I mentioned are AFAIK documented in the Emacs manual. > >In modes that hide many lines from display, you should customize > display-line-numbers-width-start to a non-nil value > > This only fixes the problem is the lines are already in the buffer. If > you write and fold 100 lines in an empty buffer, the issue still shows up. > > >or manually set display-line-numbers-width to a value large enough to > accommodate the last physical line of the file (e.g., in file-local > variables). > > This works, but I expect Emacs to be able to calculate this correctly > out of the box without any kind of intervention. IMO, this should be brought up to the attention of the Org developers. Org mode has special needs when non-relative line numbers are displayed, and the solution should IMO be in Org, not in Emacs core, because solving that in core would mean significant run-time penalties for everyone who uses line-number display. I'm sure that these issues can be quite easily fixed on the Lisp level by Org mode itself. Thanks.
X-Loop: help-debbugs@HIDDEN Subject: bug#28533: 26.0.60; Native line numbers move with show-paren-mode enabled Resent-From: Romanos Skiadas <rom.skiad@HIDDEN> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> Resent-CC: bug-gnu-emacs@HIDDEN Resent-Date: Sat, 23 Sep 2017 08:50:02 +0000 Resent-Message-ID: <handler.28533.B28533.150615655332197 <at> debbugs.gnu.org> Resent-Sender: help-debbugs@HIDDEN X-GNU-PR-Message: followup 28533 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28533 <at> debbugs.gnu.org Cc: Eli Zaretskii <eliz@HIDDEN> Received: via spool by 28533-submit <at> debbugs.gnu.org id=B28533.150615655332197 (code B ref 28533); Sat, 23 Sep 2017 08:50:02 +0000 Received: (at 28533) by debbugs.gnu.org; 23 Sep 2017 08:49:13 +0000 Received: from localhost ([127.0.0.1]:53490 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1dvg7d-0008NE-EI for submit <at> debbugs.gnu.org; Sat, 23 Sep 2017 04:49:13 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:48028) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <rom.skiad@HIDDEN>) id 1dvg7b-0008N0-Nj for 28533 <at> debbugs.gnu.org; Sat, 23 Sep 2017 04:49:12 -0400 Received: by mail-wm0-f46.google.com with SMTP id r136so8805779wmf.2 for <28533 <at> debbugs.gnu.org>; Sat, 23 Sep 2017 01:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=TkngqqjowhRXJGzjm5RK9WfxXt9IThv6xcTlil+kE8o=; b=KhwUuJqIQUSMrw/uRANw3xjJMVx+IB3XvhSMl+WTqwq/xI/r3hDfoGP4YCMhzyq6OB 70hmT9Be9oBJ4bYAyca2Jp1beyLMdxx+ZEaGqRXeRejDRYQZ7EkX4xr3glbuGCeLpVuY TQXyeHnj87izn+MWKRz/kI+UZFNORL4C5NSlgOMXAldT5P0nHIpC1KNHe7BJivwf557s l/hp29gf0V0Y1/PzSs4XRgccAkdUPa9bNGG7Hu0GsC5Nrs5t6QszSsrq8RN5qCOEB7u6 6LvcCeS4WnhiQ7NVk2GU2bQQHD3ZWWQY6BMCplbI0YBo7rUBgjBqNSsJGK/26cZ0WDrk 0yIQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=TkngqqjowhRXJGzjm5RK9WfxXt9IThv6xcTlil+kE8o=; b=PqmLJMWNGN4ulYHwazKPeKE/qpgpAyfx19zOIHQSxxhhMX2Pthqzlefu9P7+6wE167 fXuPSHnLSDoHoHnBi7huFsFTce4K0uvSYz6i4C5Ao9MzIPdNbSOgB8YS7zakRkpuzfj9 gErb+NePiupxmtzOUHENvtf3+LBpR4vJhNCaSmLSPVntxPkVa6ocBPcqOSyOzgj6z4Q6 kvOx2Z2KQRSTotOA9C6rTMgg7MotCBhkEdz7zNIt8ANcaaRIL/uJfUR9Cyd2kPBv3WXh JgfvVxqEiDUAZNU/2rHI2HPY9BEw9P+vAnLNEraFYjhP8HBwdcCHgfBx0vRxBLJiwyc/ QD9Q== X-Gm-Message-State: AHPjjUjTSXIJj3bg2ZUId/30BFD7l6lHyKgrJzGMQjfbI1saDFxfJ8uK U8KJC5BIF/dwLX6xtrqAjr9Isrup X-Google-Smtp-Source: AOwi7QCUVo6F396uqDO2dwEw+AFRhGzCJL48B7EOGzQYIfPGPMXGC52cuhT7LLX+4/BIlUTPRxxRcw== X-Received: by 10.80.141.133 with SMTP id r5mr7359784edh.107.1506156545662; Sat, 23 Sep 2017 01:49:05 -0700 (PDT) Received: from [192.168.43.184] ([83.136.43.213]) by smtp.gmail.com with ESMTPSA id j18sm933602edh.93.2017.09.23.01.49.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 Sep 2017 01:49:05 -0700 (PDT) References: <821a99c1-2f86-a13b-31bb-06d7898fe9c3@HIDDEN> <83wp4se7qp.fsf@HIDDEN> <70f5d04e-48d5-bf0d-fff7-8e7107878d9a@HIDDEN> <83shffci4e.fsf@HIDDEN> <985db77a-8f22-34c8-a60c-45fe2c2999ea@HIDDEN> <83h8vtc3jf.fsf@HIDDEN> From: Romanos Skiadas <rom.skiad@HIDDEN> Message-ID: <429d60e7-7b38-aa85-679f-3aaff4424756@HIDDEN> Date: Sat, 23 Sep 2017 09:49:03 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.3.0 MIME-Version: 1.0 In-Reply-To: <83h8vtc3jf.fsf@HIDDEN> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-Spam-Score: 0.5 (/) X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: 0.5 (/) > But why in private email? Because I keep accidentally pressing C-r on thunderbird instead of C-R. This is the third time this week I've done this that I know of, sorry. Thanks for taking the time to explain all these things to me. Feel free to close the bug now if you haven't already. >>>> If you think it is a WONTFIX kind of deal, I'm ok with closing it. As >>>> far as I can tell the customizations you suggested are not somewhere in >>>> the docs. Should they added in NEWS and in any other relevant documentation? >>> Not sure what you mean: the variables I mentioned are AFAIK documented >>> in the Emacs manual. >> They are documented, but using them in a way to circumvent this problem >> is not. I might be wrong, so if that is the case let me know. A mention >> in the display-numbers-mode docstring along the lines of "if you fold >> lines in the buffer set such and such variable to X value" would be useful. > I added that now to the Emacs manual. Thanks, I saw that. > >>> Org mode has special needs when non-relative line numbers are >>> displayed, and the solution should IMO be in Org, not in Emacs core, >> There are other ways to hide line numbers, such as >> set-selective-display, which can be used in any mode. There other are >> minor modes that do that too like evil & origami. > they should all adapt, if their users use line-number display a lot. > >>> because solving that in core would mean significant run-time penalties >> How significant? > Very significant: they would require doing each redisplay cycle twice. > > You must understand the problem to see the difficulty: the display > engine calculates the space needed for line-number display just once, > at the beginning, when it is about to display the first line, and then > reuses the result of that calculation for all the subsequent lines. > It estimates the maximum number of lines that can be visible in the > window to do that, but it cannot know in advance how many lines will > be hidden from display without displaying them first. So it would > need to display twice. This is what linum-mode did, and that's the > reason why it was so slow. I don't think it's right to bring that > slowdown back, when reasonable solutions exist on the Lisp level. I see. Thanks for explaining. > , that is good. > >> on the other hand, solving it in core means that every >> mode that folds buffers won't have to solve it themselves or ask their >> users to solve it. > Yes, and why is that a problem? Many modes already have > accommodations for popular minor modes, including linum-mode. Why > cannot they accommodate this new feature as well? > > Solving everything in the core has a price, and good engineering > doesn't punish everyone on behalf of the needs of a few. Let those > few pay the price in adapting. Fair point. > >> Also, on the point of what Emacs calculates as the minimum width, I >> checked with other editors (gedit, the one that starts with V and ends >> with IM) and they calculate the size of the width to be the one of the >> last line in their buffers. > That's what display-line-numbers-width-start does in Emacs. But it > does that once, when the buffer is first created. Counting all the > lines in the buffer upon each redisplay cycle would be prohibitively > slow in large buffers, so Emacs doesn't do that. However, if you > customize display-line-numbers-grow-only as well, you will have the > best of all worlds. > >> So if the last line is 1234 the width is 4 regardless of where you >> are in the buffer. The problem wouldn't show up if Emacs calculated >> the width this way, would it? This way of calculating things has the >> added benefit that if you scroll up the buffer when line ~100 is at >> the bottom the text doesn't suddenly shift right by one, which I >> find really annoying. > If this annoys you, you should set display-line-numbers-grow-only > non-nil. Ah, thanks.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.