From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.help Subject: display-line-number in term Date: Fri, 15 Feb 2019 11:09:11 +0100 Message-ID: <20190215100911.gmgvbe3v3upa6kbr@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="231981"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Feb 15 14:36:01 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1guder-000yAc-61 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 14:36:01 +0100 Original-Received: from localhost ([127.0.0.1]:40021 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gudeq-0000PR-1T for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 08:36:00 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55563) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1guaR9-000489-Fr for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 05:09:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1guaR6-00043M-Rl for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 05:09:37 -0500 Original-Received: from sonic311-30.consmr.mail.ir2.yahoo.com ([77.238.176.162]:43341) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1guaR2-0003kk-U1 for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 05:09:36 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1550225360; bh=9nA1dA1saURHAwvmAWw+MAn7p4HuUhnUPeBdpEropG0=; h=Date:From:To:Subject:From:Subject; b=AfmW0YCfUVeGXdXh99iSmVKYI62dTPQN3AOxOA99WOL3z/nk9kVWxLHERtAOnO2rSltt20Qly5w1Y0plZwMMcpFkLhWP8El2180Nnvdv++8T9wcfnMaAriglpuu3ub7BeCzrKuR4ya+fSXHQRq2wlDp/+zRvvDgF/SPRuDwsrDRH79FIzGtVo/61fT1yCmYy4/p6cz9ArpOLhMs4qAaRulcw0XUP22qLoUitwgZiP7FIddvTvyivULpH5MTYorHua1Z8eVZ9aY1xJNJgdCAY9rC63ER4qKWcHozqJ7XITmbHJlcp6pbNdaCftkaxKjuh0QzPjlryHwrBv2dBffMMVA== X-YMail-OSG: DEQTglUVM1mzlhmfUi5ySTYxG2LJvJhv8DOTUwP6o0tmc1vI.pOvDPNVAXHRHDC 3q9DtcXaRoOClu64onvi9oKZmOFgJB0AmCt2YZvFKrUHIPhJGV1ZWmrO.VXfqc.w56XDrEVyGJfL lgutLXGw1zWxVZG_1pAd.aX7PXjfIENXLZ8KSZSGis8R.r_WN8enkFEde9UcWpoqViBYNHBMfCSQ fZruluN2_4uZYtf7zhn_fgWZImOcxWzpaNJFKJQ7RvILZ2zF5cFv3OIbpyly3B.ZPOgam7Rt3_H4 DeVIdvQR9A37E15gBvMxjTyUNA8wSriBAAHwiF1qMwlfFepVqpat_5qoHLs7V5riXXlis6T.Pghk TnwgTG9YPSQaxthf3t67thx.54rRS.yWedJNyZ0Ly_joM06.CoEzA_HEJcjUNhDe03K8lCNCxG37 dxJIvwZdWFaVajWrXUDQJpqHGI7djsr0zj0Pb2nVb7Nhw6Pdu2ibGA.lGgCYc7amVRMxp0bJTZYP R3lP6sd4NlI.KpUbYuFRXiGquXwXQ9idv8A1fAKNrK6Sxodrg9Xx6_MltTuFK6qwxLqgpAxVrUYg dpg5N9O1pwbTeyFziBObhkKnhtMUsls_V0nGPG2kvUm6_2ygTQ6V6vlGs.6VxKFvm3jW.XITqPP6 _A7cLQPWb12zZr70Uw.EGLlGtzl6LUzcBOwbCYBCYJwKXJOb5aE8lNKyC62nzsnzPNQSoP8KU45T 6moz5_WbO3S364iIctw1E71ETi0vZ67rVGK0haqQh_4T6TLKvubu1K5PYj2rM8bFmxhW2OTvti6A dYqK4EkPo3KqwHH37B7TVDZOx8kJApHKOYf.4NmZXg Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Fri, 15 Feb 2019 10:09:20 +0000 Original-Received: from 84.88.50.33 (EHLO Ergus) ([84.88.50.33]) by smtp407.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 95083c2570c8df0f8074590b2f29ba67 for ; Fri, 15 Feb 2019 10:09:16 +0000 (UTC) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.176.162 X-Mailman-Approved-At: Fri, 15 Feb 2019 08:31:18 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:119419 Archived-At: Hi Guys, I have a general question and maybe someone faced it already. When I use global-display-line-numbers I have some issues when I open a terminal because of the number of colors. The lines are broken because "tput cols" reports the total with of the window, but does not take into account the 3/4 chars taken by the line number. A possible solution could be to disable the numbers in term-mode, but maybe there is a better/more elegant solution. Any idea? Thanks in advance