From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#743: 23.0.60; linum-mode margin display wrong Date: Wed, 20 Aug 2008 18:27:40 -0400 Message-ID: <87ej4js4o3.fsf@cyd.mit.edu> Reply-To: Chong Yidong , 743@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1219272992 1957 80.91.229.12 (20 Aug 2008 22:56:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 20 Aug 2008 22:56:32 +0000 (UTC) Cc: 743@emacsbugs.donarmstrong.com To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Aug 21 00:57:24 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KVwc8-0007uq-Ed for geb-bug-gnu-emacs@m.gmane.org; Thu, 21 Aug 2008 00:57:16 +0200 Original-Received: from localhost ([127.0.0.1]:53379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVwbB-0003mo-2F for geb-bug-gnu-emacs@m.gmane.org; Wed, 20 Aug 2008 18:56:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KVwSi-0005XU-In for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 18:47:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KVwSh-0005Wb-11 for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 18:47:32 -0400 Original-Received: from [199.232.76.173] (port=54372 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KVwSg-0005WN-NZ for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 18:47:30 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55440) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KVwSg-0005ji-20 for bug-gnu-emacs@gnu.org; Wed, 20 Aug 2008 18:47:30 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7KMlRvb011657; Wed, 20 Aug 2008 15:47:27 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m7KMZ3iJ007393; Wed, 20 Aug 2008 15:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Chong Yidong Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Wed, 20 Aug 2008 22:35:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 743 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 743-submit@emacsbugs.donarmstrong.com id=B743.12192711895488 (code B ref 743); Wed, 20 Aug 2008 22:35:03 +0000 Original-Received: (at 743) by emacsbugs.donarmstrong.com; 20 Aug 2008 22:26:29 +0000 Original-Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m7KMQQYi005482 for <743@emacsbugs.donarmstrong.com>; Wed, 20 Aug 2008 15:26:27 -0700 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id 1643457E32F; Wed, 20 Aug 2008 18:27:40 -0400 (EDT) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Wed, 20 Aug 2008 18:47:32 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:19577 Archived-At: Hi Markus, Could you try to debug this? I'm not sure if it's a linum.el bug or a redisplay bug. > $ emacs -Q -eval '(progn (linum-mode 1) (insert-char ?\n 100) (goto-line 12) (redisplay) (kill-line 10))' > > The numbering in the margin of the first lines looks like: > > | > | > | > | > | > | > | > | > | > 1| > 1| > 1| > 13| > 14| > ... > > The first 12 lines have a display margin string that is 3 characters > long (space padded), but the margin is only 2 columns wide, so the last > digit is lost.