From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20674: linum-mode overwrites existing margin width Date: Wed, 27 May 2015 18:50:02 +0300 Message-ID: <83vbfexbo5.fsf@gnu.org> References: <1432713363.1473906.279104713.451ED6BC@webmail.messagingengine.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1432741883 15919 80.91.229.3 (27 May 2015 15:51:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 27 May 2015 15:51:23 +0000 (UTC) Cc: 20674@debbugs.gnu.org To: "Paul W. Rankin" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 27 17:51:14 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yxdbs-0002D7-4D for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 17:51:12 +0200 Original-Received: from localhost ([::1]:54463 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxdbr-0000mg-Mx for geb-bug-gnu-emacs@m.gmane.org; Wed, 27 May 2015 11:51:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxdbm-0000jj-Km for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 11:51:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yxdbj-0005n7-EL for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 11:51:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yxdbj-0005n3-BX for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 11:51:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yxdbj-0003H3-17 for bug-gnu-emacs@gnu.org; Wed, 27 May 2015 11:51:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 27 May 2015 15:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20674-submit@debbugs.gnu.org id=B20674.143274182012535 (code B ref 20674); Wed, 27 May 2015 15:51:02 +0000 Original-Received: (at 20674) by debbugs.gnu.org; 27 May 2015 15:50:20 +0000 Original-Received: from localhost ([127.0.0.1]:58539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxdb1-0003G6-5F for submit@debbugs.gnu.org; Wed, 27 May 2015 11:50:19 -0400 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:40622) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yxday-0003Fn-0Y for 20674@debbugs.gnu.org; Wed, 27 May 2015 11:50:16 -0400 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NP000C00MGT3Y00@a-mtaout20.012.net.il> for 20674@debbugs.gnu.org; Wed, 27 May 2015 18:50:10 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NP000B42MNLWT70@a-mtaout20.012.net.il>; Wed, 27 May 2015 18:50:10 +0300 (IDT) In-reply-to: <1432713363.1473906.279104713.451ED6BC@webmail.messagingengine.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.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-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:103226 Archived-At: > From: "Paul W. Rankin" > Date: Wed, 27 May 2015 17:56:03 +1000 > > I set the window left margin to 25 columns, then activated linum-mode, > which sets the left margin to 3 columns (to accommodate the number of > figures in the total line numbers). > > Expected behaviour: > > linum-mode should only expand left margin as needed, not > overwrite/shrink it. I think linum-mode is incompatible with any other means of putting anything inside the display margins, because it actually writes there. The width of the margin is just the tip of the iceberg, because at best you will have margins whose contents are overwritten by linum-mode.