From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24169: 25.1.50; Line numbers disappear when horizontally scrolled Date: Sat, 06 Aug 2016 20:47:57 +0300 Message-ID: <83a8gpkcvm.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1470505760 16098 195.159.176.226 (6 Aug 2016 17:49:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 17:49:20 +0000 (UTC) Cc: 24169@debbugs.gnu.org To: ivan Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 19:49:16 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW5il-0003Pz-RI for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2016 19:49:15 +0200 Original-Received: from localhost ([::1]:50162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5ii-0005S0-8E for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2016 13:49:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48817) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5ic-0005Rs-Vv for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 13:49:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW5iY-0001eS-QG for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 13:49:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60834) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5iY-0001eO-MX for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 13:49:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bW5iY-0004Jw-Cn for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 13:49:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2016 17:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24169 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24169-submit@debbugs.gnu.org id=B24169.147050570616559 (code B ref 24169); Sat, 06 Aug 2016 17:49:02 +0000 Original-Received: (at 24169) by debbugs.gnu.org; 6 Aug 2016 17:48:26 +0000 Original-Received: from localhost ([127.0.0.1]:58131 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW5hy-0004J1-MM for submit@debbugs.gnu.org; Sat, 06 Aug 2016 13:48:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57745) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW5hx-0004Iq-O7 for 24169@debbugs.gnu.org; Sat, 06 Aug 2016 13:48:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW5hp-0001WV-GZ for 24169@debbugs.gnu.org; Sat, 06 Aug 2016 13:48:20 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37471) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW5hp-0001WR-Cz; Sat, 06 Aug 2016 13:48:17 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2735 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bW5hl-0007h0-Kj; Sat, 06 Aug 2016 13:48:16 -0400 In-reply-to: (message from ivan on Sat, 6 Aug 2016 12:02:09 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:121913 Archived-At: > From: ivan > Date: Sat, 6 Aug 2016 12:02:09 -0400 > > Using linum-mode displays line numbers to the left of the left fringe. I would expect them to remain visible > regardless of any horizontal scrolling, since that's how the left fringe behaves (not to mention numerous other > editors and applications). However, when using line-truncation, the line numbers disappear when the text is > horizontally scrolled. I think this is worth fixing, because it would be more useful and look better (the dead > space takes up screen real-estate and makes me sad). It's a bug in the design of linum-mode: it puts the overlay that displays the line numbers on the first character of each line. So when that first character is not displayed, the overlay is not shown either. A possible fix would be to move the overlay to the first visible character after the horizontal scroll. Patches welcome. Thanks.