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 12:26:10 +0100 Message-ID: <20190215112610.hgsx6dwg4sq2f2ht@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="239670"; 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:37:28 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 1gudgG-0010Fv-C7 for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 14:37:28 +0100 Original-Received: from localhost ([127.0.0.1]:40036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gudgF-0001dD-9H for geh-help-gnu-emacs@m.gmane.org; Fri, 15 Feb 2019 08:37:27 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:47749) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gubdf-0000z1-SM for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 06:26:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gubdY-0000BJ-LW for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 06:26:34 -0500 Original-Received: from sonic305-19.consmr.mail.ir2.yahoo.com ([77.238.177.81]:42076) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gubdO-0008Ni-94 for help-gnu-emacs@gnu.org; Fri, 15 Feb 2019 06:26:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1550229978; bh=DYbEwJvFyNivuJJ/WNqatzMOkj/eXirUBAIqOD9eR6g=; h=Date:From:To:Subject:From:Subject; b=VkrCV9fEGgMY4hNuBTtY1bqmxP6cnv3eflTrMIdY6itGWJocdd44UNnRCyxVF0CszNN/z7uQ67A6rSPtaudNkwrtmnrBovdI6zGzqYbg5B+90cGlR9GMoHwVKeGjkJkzU1FPvclG2iJzYc/eml0ZhOiQbWfTV2xcjUSD8RoGGU77HYqGkz3rKPZZlTD99fCRVkM2gqeX9LbTnPGSIZvUDc5ZbRYatA9Z2fktkQCs1H0W2spXqBlCEiKhkMhezBvIRjbYvXro8X2Je2kAQ9IAjGuWcOgHTMOm8rsmAg5xipBiTcjlT8zqEXLwcaP/7mgBhF3Ow7w9DZETdNQIC1gAVg== X-YMail-OSG: qzee8LwVM1kNxi54oSo74ppoH.vqOKj5FjKBKgzzWvuBRuzyiiRzqOKMyx1VoUs ArpVXm0nJVajfwq4_aRaaKBFZZX0utuatrrmWSB6ZhyJ5gqvImsMans_jiVh_rGUorGEb3RG3uog SmA1_74KrIuz0_ErMVlJZZPbX8I6IQXsHuoS0zUSRFZnoRSswmD0vfcuTOnxq8GxtJKlAY3CUiiY z39yZxAWBpbBtWZu3_oLLS8.vs7q8KUqM1tbLnPV1cIRNpcp.CBRxSaY4KeTQdJPqT.6uImNQuRI nZ2_oSLZOdEa34HtDkYFevKuvLal1M_i0IZXiU5QoS_3KEKJnSM0R43kkHIGA06TVlwLPcvLIc80 _be0zq51jahaP.JlJzj9MwSdtwbZdWRWfM7rEEQDHAuOdDQ_986g92_R1XBx46C8F7Mxta2fKzcd 1uV4VWXQb1V1s0oyV6M0Vg1iH7asGvV29wia5oYhw1_KGw68diveVR27s14pSlgSn.fXHiYAsPZ2 ovc7g6tkbeOMjDmgDSMeAVkXfjY5aFncYk3.IvskM7nG2Fu45a_1aHvn25a80QKy6IzOzunXTz3u zOp9W5UY6bvI1kzrjexhvJeLbfH2IbJhELQ6ZQ0o717_nIJ0k8971FZYS95WdmTjfzmxJJI8LFNX TD0XeW2Orf54gwyvVvb0WB_SigI1VxmvDlp87_xiWEfaj2cTYKbJx5w80av4SMXToVTxDX8unBSB EEzJQRH80REQ.kH96UT_ayP0F7Xfmedd2.UcgnxQPx36YpHCngztTMK6QelN3xEuXKL3jm2.oFND shDKM6Bjf5CIcaUzPSKEhuGWXEeqhwLUZ4RhXwxeK7 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic305.consmr.mail.ir2.yahoo.com with HTTP; Fri, 15 Feb 2019 11:26:18 +0000 Original-Received: from 84.88.50.33 (EHLO Ergus) ([84.88.50.33]) by smtp408.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 086915d58d9281595251f828db23b140 for ; Fri, 15 Feb 2019 11:26:14 +0000 (UTC) Content-Disposition: inline X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 77.238.177.81 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:119420 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 line numbers. The lines are broken because "tput cols" reports the total with of the window, but does not take into account the 3/4 (or more) chars taken by the line number. The problem is worst when trying to use for example moc. 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