From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Ergus via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#34513: display-line-numbers in term mode Date: Mon, 21 Oct 2019 23:44:11 +0200 Message-ID: <20191021214411.mxmsoptcdppamhlf@Ergus> References: <20191020225446.xv2abiyah3dw7q4y@Ergus> <838spe4mm4.fsf@gnu.org> Reply-To: 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="141711"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: NeoMutt/20180716 Cc: 34513@debbugs.gnu.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 23:45:50 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iMfUs-000afm-6D for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 23:45:50 +0200 Original-Received: from localhost ([::1]:48270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMfUp-0000LP-Ky for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2019 17:45:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:47463) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iMfU7-0008Jy-67 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 17:45:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iMfU6-0004Cr-66 for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 17:45:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49207) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iMfU6-0004Cl-2G for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 17:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iMfU5-0006I2-TO for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2019 17:45:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 21 Oct 2019 21:45:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 34513 X-GNU-PR-Package: emacs Original-Received: via spool by 34513-submit@debbugs.gnu.org id=B34513.157169427524127 (code B ref 34513); Mon, 21 Oct 2019 21:45:01 +0000 Original-Received: (at 34513) by debbugs.gnu.org; 21 Oct 2019 21:44:35 +0000 Original-Received: from localhost ([127.0.0.1]:58028 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMfTe-0006H4-P6 for submit@debbugs.gnu.org; Mon, 21 Oct 2019 17:44:35 -0400 Original-Received: from sonic302-21.consmr.mail.ir2.yahoo.com ([87.248.110.84]:36558) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMfTb-0006Gp-JT for 34513@debbugs.gnu.org; Mon, 21 Oct 2019 17:44:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1571694265; bh=Ju3534FR9AOKdHMEoTdNsghwcv9kCksucBE5uzQ+2SY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=n/DWQRQU3puggxKUO3lIaSe4+UYzhRpyw3goiPESmXthIzVx4DCC6Pg2IgaWXUCYbotdYHc/xieShVtBCCYaI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job vHV8Zejq5avvl2k8K.W0W8GPGPaMY0WdPKmgOvWOgH Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic302.consmr.mail.ir2.yahoo.com with HTTP; Mon, 21 Oct 2019 21:44:25 +0000 Original-Received: by smtp420.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 3e7708e5e20a36a398379f478236de73; Mon, 21 Oct 2019 21:44:25 +0000 (UTC) Content-Disposition: inline In-Reply-To: <838spe4mm4.fsf@gnu.org> 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: 209.51.188.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:169956 Archived-At: On Mon, Oct 21, 2019 at 09:51:47AM +0300, Eli Zaretskii wrote: >> Date: Mon, 21 Oct 2019 00:54:46 +0200 >> From: Ergus >> Cc: Eli Zaretskii , Stefan Monnier >> >> I have tried the quick solution Stefan proposed to this but there are >> still limitations when the number column width change and some >> others when resizing the window. Does anyone has a way to improve >> this? > >You can see the various solutions in tabulated-list.el. I wrote them >because features like package.el need to react to the changing width >of the line numbers. > >In addition to the change in the line numbers display width due to >scrolling, there are changes due to resizing the default font. > Hi Eli: I see that, but what about when the window width changes? Are there any hook we ca use? >> On the other hand I wanted to ask if new changes like dfci must be >> disabled in term-mode by default or we let that configuration to the >> user? > >This is a different issue, unrelated to this bug report. Let's >discuss it separately, probably on emacs-devel. > >Thanks.