From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.devel Subject: Re: csv-mode: header does not align when line numbers are displayed Date: Thu, 12 May 2022 17:40:30 +0200 Message-ID: <878rr67o46.fsf@fastmail.fm> References: <64bbe68b-f2b9-4cb5-93b8-07e5720e74fa@www.fastmail.com> <8335hwb2az.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16010"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.10; emacs 28.1.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu May 12 18:10:50 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1npBOq-0003wi-R3 for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 18:10:49 +0200 Original-Received: from localhost ([::1]:35648 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1npBOp-00086i-NK for ged-emacs-devel@m.gmane-mx.org; Thu, 12 May 2022 12:10:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41958) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npAyg-0006Jm-9c for emacs-devel@gnu.org; Thu, 12 May 2022 11:43:47 -0400 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]:39273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1npAye-0005Jb-Nb; Thu, 12 May 2022 11:43:46 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id B10FA320091A; Thu, 12 May 2022 11:43:41 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Thu, 12 May 2022 11:43:41 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= cc:cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1652370221; x=1652456621; bh=LUKAmnpFmR vkbGg7YsfvYzKcc7OvDb+02ypjmgwh7I4=; b=SKfxzY9BrwvpXVmeux3ftyPMMb hvrgnfpqqPoqn5KMMrgJjnZUWR9T162HzvZWvIM80Vpj1c/d+fgynht0s8BIzyDE cf9bYms1Jk9a40kmn29uSNwN8YG6YWLSTfVZUX9Vy0u3yLyx00InWjYdE7N3gQKY FIOjk/HB5wgvIUchXB2dHnx+G50lC5T22nkUXv4vnqpcn5rJ2uJ/haWPFQOVeVrH 9x+o31SkP3wv6dxVzKu6iCgfqDU7mNbDRpx63VWyWbeIUUQMQr7RBeMYp3SaIF6O dIOJYwbjUMIXIujzlgJ4731RerzgI+iABiSV3pWbAZrz7LnAjhEbCvVXIpGg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1652370221; x= 1652456621; bh=LUKAmnpFmRvkbGg7YsfvYzKcc7OvDb+02ypjmgwh7I4=; b=I qjNswc2Z0Y1WM5W8zRrB2HYjsZeyNe1qYYLm/nfMqb3tUON2dqH5kk3WUTiPlhR7 lOaJzyLglX0VGgiNjkVgBMBAhNZ+mQd7tTPkI7f4LHNAE4/z6Bss3jAK39Ock7Na VHKbdcQx7a0KdHb8cXjG8c6ubCA7pEeZ5p+3sDGzKrT+asRQAVTE2uKI0mTwn91K PL/YAhsewThs5ijM2Vyzg7TscCOsHw7acfdlw+VMag5VxIdMkmP8a2z3JFFE71Qr AcHNSqlSx6tHBc2SI/fWoO8mAQ3RsWhPkmkDSQoE1gKObQKD4P/cEnw7sCf0SsE2 Cf/fuHTL4sRowVGOr3NlA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrgeejgdeklecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvfevufffjgfkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpefgiefhuddtteeljeehveekjedtffeuheffhffffeetieet feehtdektdeitdekffenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehjohhoshhtkhhrvghmvghrshesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 12 May 2022 11:43:40 -0400 (EDT) In-reply-to: <8335hwb2az.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.25; envelope-from=joostkremers@fastmail.fm; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:289700 Archived-At: On Fri, Apr 29 2022, Eli Zaretskii wrote: >> Date: Fri, 29 Apr 2022 09:47:08 +0200 >> From: Joost >> Though it doesn't automatically adjust the header line when >> `display-line-numbers-mode` is toggled or if `display-line-number-width` >> changes, so it's probably not the ideal solution. > > Indeed. I think tabulated-list.el shows how to cause the adjustment > when the variable is toggled. Can you use those ideas to submit a > better solution? Not sure. It's difficult to estimate how much time I'd need (not being familiar with the code for tabulated-list-mode) and when I'd have that time. I sent a bug report to make sure it's not forgotten. If I don't come up with a solution, perhaps someone else with a little time on their hands will. -- Joost Kremers Life has its moments