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.help Subject: Re: width of line numbers Date: Tue, 22 Dec 2020 11:45:01 +0100 Message-ID: <878s9qqfsz.fsf@fastmail.fm> References: <87eejip4ju.fsf@fastmail.fm> <87r1ni9mkh.fsf@gmx.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31946"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.7; emacs 27.1.50 Cc: help-gnu-emacs@gnu.org, gnu-emacs-help@gnu.org To: Stephen Berman Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Dec 22 11:51:54 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1krfGk-0008BJ-3x for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 11:51:54 +0100 Original-Received: from localhost ([::1]:39504 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1krfGj-0004Pm-2Y for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 22 Dec 2020 05:51:53 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krfBU-0006aZ-Eb for help-gnu-emacs@gnu.org; Tue, 22 Dec 2020 05:46:28 -0500 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:39907) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1krfBS-0007ao-JB; Tue, 22 Dec 2020 05:46:28 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 59E6A60C; Tue, 22 Dec 2020 05:46:24 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Tue, 22 Dec 2020 05:46:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:cc:subject:date:in-reply-to:message-id :mime-version:content-type; s=fm2; bh=rlZYpTc5fjvw0quO6ZEdfmWeX1 BfLCsDejHW36G5Vlw=; b=o4k+zOROYvpx2/mG9miTeTkA0wELwCJdR3fCb5tZsu AdyZHV5gIoReZG+oiod5/WhGyyFOkBtJJ6vGOzIkB4eFm/K6+iJ3K6JzWOmNvbzi Re3FPrUHCMl8i8yE5xkwSTYV4XzZtXv7hMyiVOnyUp0HzYzpGBfPCNrMKaApl0O2 YYHOJpLyMl212dUBB4D10f7rWFHCwhW7fJW49PT6WmpU1Sp4QqE5PcG+2qf/C7u3 4BgEml7SUK33HO34xCoA54MGsURKnahJYj3PN675TGodVuh8HhZ310KjCYlyx5At Ho0Q577aylHV4YnUYYwtf45/EdaC/YVLfjAY//dvmZZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=rlZYpT c5fjvw0quO6ZEdfmWeX1BfLCsDejHW36G5Vlw=; b=gI/lSwU0EAuhNbJMQdEO/k eaNhcJzcZ2rwOTytEZxrppMZkjAzkXxH3tItTr45IdAkye35QVmIuRxrN2VsvU+2 TeqZQ7vahe+51xgv4I1/HHAqjN2iV2qX++5iNNTa54UVbWWBaecwR7SFCEefJGPf rnFJAoJe4qKDH6rFHK/ebjN9xKWkT0nYZJpnEUjssKU86bGGB8/J5szzEX6dgO7B MJKjyJ0BHpPxV/5Xmp6kSqyUNO5WEktpIffhI8dsstdVUkeEBkfGVfypYKZrwV0F JVaGEN49HhFBCrTEjkchcE+b4Aw9OVPaRsWhkMtWSgiNzG9Xi8YrSxftwfpru0ng == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrvddtgedgudelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfhgfhffvufffjgfkgggtsehttdertddtredtnecuhfhrohhmpeflohhoshht ucfmrhgvmhgvrhhsuceojhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhmqe enucggtffrrghtthgvrhhnpedviefhteeuveekudetheduieehvdelgfeijeehvdetfeeg leelhefhjeduieejveenucfkphepleehrdeltddrvddvgedrvdegieenucevlhhushhtvg hrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehjohhoshhtkhhrvghmvghr shesfhgrshhtmhgrihhlrdhfmh X-ME-Proxy: Original-Received: from Lenovo.fastmail.com (ip5f5ae0f6.dynamic.kabel-deutschland.de [95.90.224.246]) by mail.messagingengine.com (Postfix) with ESMTPA id F04AF24005E; Tue, 22 Dec 2020 05:46:22 -0500 (EST) In-reply-to: <87r1ni9mkh.fsf@gmx.net> Received-SPF: pass client-ip=64.147.123.21; envelope-from=joostkremers@fastmail.fm; helo=wout5-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, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:126669 Archived-At: On Tue, Dec 22 2020, Stephen Berman wrote: > On Tue, 22 Dec 2020 10:23:26 +0100 Joost Kremers wrote: > >> Hi all, >> >> I was wondering if there's a way to find out the width of the current line >> number display (with `display-line-number-mode`, not `linum-mode`). > > (line-number-display-width) Oh boy, this topic was covered extensively a while ago... I searched for functions starting with `display-line-numbers`... Thanks! -- Joost Kremers Life has its moments