GNU bug report logs - #71323
28.2; global-display-line-numbers-mode in org file do strange identation when headers are folded

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Mikhail Efremov <jakutenshi@HIDDEN>; Keywords: notabug; Done: Stefan Kangas <stefankangas@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 71323-done <at> debbugs.gnu.org:


Received: (at 71323-done) by debbugs.gnu.org; 30 Jun 2024 06:11:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 30 02:11:20 2024
Received: from localhost ([127.0.0.1]:54686 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sNnmR-0002bf-VZ
	for submit <at> debbugs.gnu.org; Sun, 30 Jun 2024 02:11:20 -0400
Received: from mail-ed1-f52.google.com ([209.85.208.52]:45345)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <stefankangas@HIDDEN>) id 1sNnmQ-0002bX-DW
 for 71323-done <at> debbugs.gnu.org; Sun, 30 Jun 2024 02:11:18 -0400
Received: by mail-ed1-f52.google.com with SMTP id
 4fb4d7f45d1cf-57d15b85a34so2112041a12.3
 for <71323-done <at> debbugs.gnu.org>; Sat, 29 Jun 2024 23:11:18 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1719727818; x=1720332618; darn=debbugs.gnu.org;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:from:to:cc:subject:date:message-id:reply-to;
 bh=N55AU8pckNmG3l8cnSxPqLqRz5xbrJ9oEfwQ1hnsTl0=;
 b=QMFyxEzWBgRIOWrRQf//6kLkHKbbmLdSzvnjZSZaarQTsANTVHqixFmzPiILEhEIap
 aHp8nGMuUsvIA9rE93/4+S9JLBQUThwn7m/7YqE9kv01t1waa2WhC3UkC8rFy/+tPlZi
 pBU3ZyqG5/CBOrYaPP8LF81xgVFGBov78XKtHw0PN0KoAy7PHVXHGtNV8wXLoCEFM6bC
 AbWw+P911Jup9K8qhH7zL7xLUtiMMbhruXJ0FyWyYA2L8KX36PVy15BajKAavTFUUDF9
 1eCHW1ejVsnx1RinGfeDiEET0y1Cub35zi20QBod8ECHObx6vyOqDgkcZpwCmVIT+tTe
 5j1Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1719727818; x=1720332618;
 h=cc:to:subject:message-id:date:mime-version:references:in-reply-to
 :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to;
 bh=N55AU8pckNmG3l8cnSxPqLqRz5xbrJ9oEfwQ1hnsTl0=;
 b=BlqGEKprnqpOKFwdNNNKnYy2hnGcVsCzrCbOFUPlTiB16yghJOzNWtfDaUCfjwYUqy
 PLgS9MRSEbuyVj9sd4e9Zg6+JttAtZWba6z4xajEPAbf0gbFYwtgC3cnXVGmJ3teDJu9
 nX8UMHNdQB/BCSWxO/m3YK3Sde/39vqyE8SV7nuD30bKuXxsyJLotUG5Be6L+7p62Vlp
 +g7mQqaG/TNlGbcvwoK5KysaycvEhBv2kvwMkou1UoryRcVcbFREPwTrpSqjhI1VDftJ
 sbCBoBEKFwIacU2xg8y8tiY2cL0wo3tfBVGZLaG8cJiMqz9/e2CbqgI33GkSNeQfbG7x
 0sCw==
X-Forwarded-Encrypted: i=1;
 AJvYcCUuszORFhDvtKzvfkmMgPmClj888wGZQa/ZmMWdUutxxMXeIrUTMkj8jdc1BVElepxIkGyZNxK0EtyOAfKdaxrQHiVkpqCQhkn62Q==
X-Gm-Message-State: AOJu0Yyu+rBdeNgkrabXmRB+AIEKfb+wQ8Bmlo6w4fVY+U3RvNSs3euI
 PuE7WK1Mi1cq65rR1G8lVJzdRmrJJwKEQmt2y8lAktTALcY1bHCFIdHBk63rSCLtL9r0XRiNFxm
 KSgOJR4LDhdeoeIWu82tdeWRFfMY=
X-Google-Smtp-Source: AGHT+IEO1o+aHxOM9NF0eHglARhb36QncpyVDwPlM3A1Hg6/N65myESDq9kcQJ3y1E5QgX4x4bezXJKkOhZ6diWCzWI=
X-Received: by 2002:a05:6402:42c5:b0:57c:c019:a9f6 with SMTP id
 4fb4d7f45d1cf-587a0635e95mr1983075a12.32.1719727817974; Sat, 29 Jun 2024
 23:10:17 -0700 (PDT)
Received: from 753933720722 named unknown by gmailapi.google.com with
 HTTPREST; Sat, 29 Jun 2024 23:10:17 -0700
From: Stefan Kangas <stefankangas@HIDDEN>
In-Reply-To: <861q5clq4i.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 04 Jun
 2024 17:49:33 +0300")
References: <994aaad088f1e26429986a95996a02e7b9d4a1a3.camel@HIDDEN>
 <86le3nmt7q.fsf@HIDDEN>
 <588dc873eff0f9fc9ecbd78766288ed213b3089a.camel@HIDDEN>
 <861q5clq4i.fsf@HIDDEN>
MIME-Version: 1.0
Date: Sat, 29 Jun 2024 23:10:17 -0700
Message-ID: <CADwFkmmPpKY+s0oKmwLEge-KPNbzCtGAb7zDY8BuDrCncudJ5Q@HIDDEN>
Subject: Re: bug#71323: 28.2; global-display-line-numbers-mode in org file do
 strange identation when headers are folded
To: Eli Zaretskii <eliz@HIDDEN>
Content-Type: text/plain; charset="UTF-8"
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 71323-done
Cc: Mikhail Efremov <jakutenshi@HIDDEN>, 71323-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Eli Zaretskii <eliz@HIDDEN> writes:

> Thanks, so I'm closing this bug.

Really closing.




Notification sent to Mikhail Efremov <jakutenshi@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Stefan Kangas <stefankangas@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 71323 <at> debbugs.gnu.org:


Received: (at 71323) by debbugs.gnu.org; 4 Jun 2024 15:10:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Jun 04 11:10:20 2024
Received: from localhost ([127.0.0.1]:58829 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sEVnl-0004Mc-0O
	for submit <at> debbugs.gnu.org; Tue, 04 Jun 2024 11:10:20 -0400
Received: from eggs.gnu.org ([209.51.188.92]:49058)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1sEVjl-00047O-2B
 for 71323 <at> debbugs.gnu.org; Tue, 04 Jun 2024 11:06:14 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sEVTl-0002oI-DB; Tue, 04 Jun 2024 10:49:37 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date:
 mime-version; bh=7RWThd3eQqxvdejuOvq9C/7ThevjY9ha1BYwAXucMPQ=; b=ZV6ZKIztNo7h
 dJ88Wcgrw8fzh5LVzm9EdTBPUmGJok2wH5quYXsAqMKqVhSBmSVBIU+ixIOFLwEDGn4K/lFPSjPG4
 0Ra5NwQSn8x1VDV37sn0gNxH9zt28ezGtbPCFTmQFMCm5zuhWjrVEvU7OGYQZKI4L/AJ8w4OgWzT0
 /uDekTWKBQg/uFcnhFK3P3HNDsWbkgimjxxKbzQXVYQXsMNaMG4The6WfMlN/jFO35v165l4werIe
 QwV4GZU+FhbG0qtyrv8WcOXP3LjYCIZeualsOlwwP+L/3H4m0ou/8NNCKkxbyH4141JjWKIPmY9FV
 +GdiaKLWC9GDEaint8lR2Q==;
Date: Tue, 04 Jun 2024 17:49:33 +0300
Message-Id: <861q5clq4i.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Mikhail Efremov <jakutenshi@HIDDEN>
In-Reply-To: <588dc873eff0f9fc9ecbd78766288ed213b3089a.camel@HIDDEN>
 (message from Mikhail Efremov on Tue, 04 Jun 2024 14:04:33 +0600)
Subject: Re: bug#71323: 28.2; global-display-line-numbers-mode in org file
 do strange identation when headers are folded
References: <994aaad088f1e26429986a95996a02e7b9d4a1a3.camel@HIDDEN>
 <86le3nmt7q.fsf@HIDDEN>
 <588dc873eff0f9fc9ecbd78766288ed213b3089a.camel@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71323
Cc: 71323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Mikhail Efremov <jakutenshi@HIDDEN>
> Date: Tue, 04 Jun 2024 14:04:33 +0600
> 
> Hi,
> 
> Thank you a lot, the combination of the follows solved my problem:
> 
> (setq display-line-numbers-width-start 6)
> (setq display-line-numbers-grow-only t)
> 
> Again, thank you for suggestions!
> Happy emacsing~

Thanks, so I'm closing this bug.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#71323; Package emacs. Full text available.
Added tag(s) notabug. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 71323 <at> debbugs.gnu.org:


Received: (at 71323) by debbugs.gnu.org; 2 Jun 2024 12:21:12 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 02 08:21:12 2024
Received: from localhost ([127.0.0.1]:58011 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sDkCu-0007sT-Fr
	for submit <at> debbugs.gnu.org; Sun, 02 Jun 2024 08:21:12 -0400
Received: from eggs.gnu.org ([209.51.188.92]:57050)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>)
 id 1sDkCr-0007ro-GV; Sun, 02 Jun 2024 08:21:03 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <eliz@HIDDEN>)
 id 1sDkCZ-0000Uu-Pw; Sun, 02 Jun 2024 08:20:43 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From:
 Date; bh=8yJzVXIcysI+7r3Qfq2eMAaQS2fhSYsixRZSd1r/Fo0=; b=CZfkPFjGxNUrV4R8qBUz
 oBDMB+NrZ8aelx9qvWeFatU3DeCnLOrKUqjVCL4qMZjytV1U0DOWQwsMml6iHQvBouWvvjgLM0qPh
 cvxWSnWVWUo0qDCXJ6UMkshhsb2ic09GoKs723LEMRlpfTRZjtKctqYqM/IDqtXcJGn00fZanqawc
 iJe0r8G5w7+bv1ez+8M2qlODPWpW1p763vwNQAjLZyCJ8jgqoRRhewUSv+evtVyE1gvakeBkVDYBq
 uhYq93SoeNPXwhTUSUE8Pp93dpytC/NFNk3DrKGdrf5yz1pEVFlTc6xwPSP0mjgtNpe4lebpfEfqm
 cr/GyNePQx/JZg==;
Date: Sun, 02 Jun 2024 15:20:41 +0300
Message-Id: <86le3nmt7q.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Mikhail Efremov <jakutenshi@HIDDEN>
In-Reply-To: <994aaad088f1e26429986a95996a02e7b9d4a1a3.camel@HIDDEN>
 (message from Mikhail Efremov on Sun, 02 Jun 2024 15:10:46 +0600)
Subject: Re: bug#71323: 28.2;
 global-display-line-numbers-mode in org file do strange identation
 when headers are folded
References: <994aaad088f1e26429986a95996a02e7b9d4a1a3.camel@HIDDEN>
MIME-version: 1.0
Content-type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 71323
Cc: 71323 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

tags 71323 notabug
thanks

> From: Mikhail Efremov <jakutenshi@HIDDEN>
> Date: Sun, 02 Jun 2024 15:10:46 +0600
> 
> * Description
> 
> There is an issue with not so large org files with
> global-display-line-numbers-mode is toggled on. You may reproduce it:
> 
> 1. ~emacs -Q~
> 2. open an org file with 1000+ lines of different headers' layers
> unfolded.
> 3. ~M-x global-display-line-numbers-mode~
> 4. Check that unfolded headers on lines 999-1000 are indented fine:
>   - numbers are right-aligned;
>   - same-level headers are indented equally with the same indent width
>   relative to line numbers.
> 5. Fold all headers with the property: on the screen of the buffer
> there
> are single-, two- and three-digits lines' numbers are presented.
> 
> Then, you should see the picture like this:
> 
>   1 * header1
>  24 * header2
> 132 * header3
> 1019 * header4
> 
> The same behavior is on ~emacs -nw -Q~.
> 
> The issue is valid also on built from sources emacs: GNU Emacs 29.3
> (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version
> 1.16.0) of 2024-04-08
> 
> * Motivation
> 
> This behavior on the one hand constantly shifts
> left-to-right-and-vice-versa the buffer's text and also confuses with
> headers' identation level.
> 
> * Definition of Done
> 
> After the steps of reproducing the desired view is:
>    1 * header1
>   24 * header2
>  132 * header3
> 1019 * header4

You should be able to have this if you customize
display-line-numbers-width-start to a non-nil value.  Consider also
customizing display-line-numbers-grow-only to a non-nil value.

> * Details of implementation
> 
> I guess there is a problem with line's mode algorithm, from my side
> it looks like it taking into account only 1 digit difference for an
> identation, then if there is 2 or more digits differnece, then all
> after the first-digit diff identations are broken.

No, that's not what happens.  The problem is that the required width
of the line-number display needs to be calculated when the window is
about to be shown on display or redisplayed due to scrolling etc.  At
that time, the display-engine code which does this calculation cannot
know up front how many lines are hidden by 'invisible' text properties
and overlays, something that Org uses a lot, and therefore cannot
correctly estimate the largest line number to be shown.  So its
estimation of the maximum number of the line in the window are
incorrect in those cases.

Customizing display-line-numbers-width-start fixes that problem, for a
price of a slightly slower initial display of the window.  It could
still fail if you add a lot of lines to the buffer, in which case
toggling display-line-numbers-mode off and on again should fix it.

> The posible solution is to count total lines number and reserving
> line's numbers side width from total lines count number's width.

That's exactly what the above user option does, when non-nil.

There's no bug here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#71323; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 2 Jun 2024 12:01:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Jun 02 08:01:04 2024
Received: from localhost ([127.0.0.1]:57989 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1sDjtR-0007O6-UC
	for submit <at> debbugs.gnu.org; Sun, 02 Jun 2024 08:01:04 -0400
Received: from lists.gnu.org ([209.51.188.17]:54332)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <jakutenshi@HIDDEN>) id 1sDhF6-00009U-8p
 for submit <at> debbugs.gnu.org; Sun, 02 Jun 2024 05:11:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <jakutenshi@HIDDEN>)
 id 1sDhEt-0005qY-QR
 for bug-gnu-emacs@HIDDEN; Sun, 02 Jun 2024 05:10:55 -0400
Received: from mail-lj1-x232.google.com ([2a00:1450:4864:20::232])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <jakutenshi@HIDDEN>)
 id 1sDhEr-0001WP-22
 for bug-gnu-emacs@HIDDEN; Sun, 02 Jun 2024 05:10:55 -0400
Received: by mail-lj1-x232.google.com with SMTP id
 38308e7fff4ca-2e95a75a90eso36376851fa.2
 for <bug-gnu-emacs@HIDDEN>; Sun, 02 Jun 2024 02:10:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1717319450; x=1717924250; darn=gnu.org;
 h=mime-version:user-agent:content-transfer-encoding:date:to:from
 :subject:message-id:from:to:cc:subject:date:message-id:reply-to;
 bh=TCiCEYDaOzeY3XlXqvLXceMCWiNaergMG9UuA5HTNHE=;
 b=W6BYckfpSVW/KrRDFw2YjLn6DRiuiNgoaRABjIs/jFrXIAlrEIrp+6eElV4bTKor/b
 5shgAQZSvZJprKLOwlcupkPSQHhYyn9iJbrafEiI//KMJ5igPwcmDZBufFoExlHl3xwz
 N+tJ6gUhRGVe9/wUcW58NZCHkwTDy2gG8AWLzT4GSMbovNwrY7+odsdy3yJ7fpbN81mx
 8Ksqd+EbsEoNq3z2uKzQA/av7wYHsWedkpbrDbaFnEoMPkC9ZzQNHoTJiUQxwl5n937p
 MPJ5Jw+OgSJVD4TqkQR/z/7yyoyxSUdgw7+d7j21HOj0RNB4pi9dY4B8yTdLNnnFyhVp
 eIOQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1717319450; x=1717924250;
 h=mime-version:user-agent:content-transfer-encoding:date:to:from
 :subject:message-id:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=TCiCEYDaOzeY3XlXqvLXceMCWiNaergMG9UuA5HTNHE=;
 b=taRVex3N6niiV0U2aMTAcjxLCZh7XEgkwcoVmd0b339mL+ULZTC/O1EnTLmgji1O9y
 8e8N0vCU+G7rlCu8177qrQ7AUI7idvtb5U95AdK92atUZAgUMbD7hUwhGlCoCTTpxpp/
 MMhrhDUTGz/tJRePgsQQC/FQYOT5rXEA6NjFiyXPcZxfxg2aX2Kj/XpCx2oRsEf+lFyp
 fOfbq63c3GvSEplwtTAI1WnyJttdSI6hI2rfM9nHBtrn0EFC7h5JfHanD5yiQD8nlcy+
 ZCn2FED5T8DSqA1L9YdgXptaAb1GgYbyEtv90iwutnEmnowm42uw1VeRo/SltC0BEJ7F
 cArQ==
X-Gm-Message-State: AOJu0YyRIUFocJLxXQhuyA9dFd/K3EoDTZu4aCzJeRvv9TVkmFufzWdf
 Ev+YD9zIlGbesxyMP2XpCIdIPU3cUF8Ih/NMPXwOaAe2q0E9zpPhZ9+4x2j1bNM=
X-Google-Smtp-Source: AGHT+IGulSWcy7R/4Ey1PQ8rqpu1J0Jc7B1FxmiBEOgFlNIu/x/nwuRFU0FiBJReFN6/rfVMiZUnqw==
X-Received: by 2002:a2e:3a04:0:b0:2ea:7668:4df0 with SMTP id
 38308e7fff4ca-2ea950c8963mr36440081fa.7.1717319448973; 
 Sun, 02 Jun 2024 02:10:48 -0700 (PDT)
Received: from [192.168.1.2] (dhcp-174-230-59-5.metro86.ru. [5.59.230.174])
 by smtp.gmail.com with ESMTPSA id
 38308e7fff4ca-2ea91cc7dfasm8634191fa.76.2024.06.02.02.10.48
 for <bug-gnu-emacs@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 02 Jun 2024 02:10:48 -0700 (PDT)
Message-ID: <994aaad088f1e26429986a95996a02e7b9d4a1a3.camel@HIDDEN>
Subject: 28.2; global-display-line-numbers-mode in org file do strange
 identation when headers are folded
From: Mikhail Efremov <jakutenshi@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Date: Sun, 02 Jun 2024 15:10:46 +0600
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
User-Agent: Evolution 3.46.4-2 
MIME-Version: 1.0
Received-SPF: pass client-ip=2a00:1450:4864:20::232;
 envelope-from=jakutenshi@HIDDEN; helo=mail-lj1-x232.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
 T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sun, 02 Jun 2024 08:00:57 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hi, Emacs devs,

* Description

There is an issue with not so large org files with
global-display-line-numbers-mode is toggled on. You may reproduce it:

1. ~emacs -Q~
2. open an org file with 1000+ lines of different headers' layers
unfolded.
3. ~M-x global-display-line-numbers-mode~
4. Check that unfolded headers on lines 999-1000 are indented fine:
=C2=A0 - numbers are right-aligned;
=C2=A0 - same-level headers are indented equally with the same indent width
=C2=A0 relative to line numbers.
5. Fold all headers with the property: on the screen of the buffer
there
are single-, two- and three-digits lines' numbers are presented.

Then, you should see the picture like this:

=C2=A0 1 * header1
=C2=A024 * header2
132 * header3
1019 * header4

The same behavior is on ~emacs -nw -Q~.

The issue is valid also on built from sources emacs: GNU Emacs 29.3
(build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version
1.16.0) of 2024-04-08

* Motivation

This behavior on the one hand constantly shifts
left-to-right-and-vice-versa the buffer's text and also confuses with
headers' identation level.

* Definition of Done

After the steps of reproducing the desired view is:
=C2=A0=C2=A0 1 * header1
=C2=A0 24 * header2
=C2=A0132 * header3
1019 * header4

* Details of implementation

I guess there is a problem with line's mode algorithm, from my side it
looks like it taking into account only 1 digit difference for an
identation, then if there is 2 or more digits differnece, then all
after
the first-digit diff identations are broken.

The posible solution is to count total lines number and reserving
line's
numbers side width from total lines count number's width.

Thank you a lot!
Sincerely, Mikhail Efremov.

---

In GNU Emacs 28.2 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.37,
cairo version 1.16.0)
=C2=A0of 2023-05-14, modified by Debian built on x86-ubc-01
Windowing system distributor 'The X.Org Foundation', version
11.0.12201009
System Description: Debian GNU/Linux 12 (bookworm)

Configured using:
=C2=A0'configure --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-
lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-
lisp:/usr/share/emacs/site-lisp
=C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils
=C2=A0--with-native-compilation --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstatedir=3D/var/lib --libexecdir=3D/usr/libexec
=C2=A0--localstatedir=3D/var/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man --with-libsystemd --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs:/usr/local/share/emacs/28.2/site-
lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/28.2/site-
lisp:/usr/share/emacs/site-lisp
=C2=A0--with-sound=3Dalsa --without-gconf --with-mailutils
=C2=A0--with-native-compilation --with-cairo --with-x=3Dyes
=C2=A0--with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars 'CFLAGS=3D-g -O2
=C2=A0-ffile-prefix-map=3D/build/emacs-mPr7Vr/emacs-28.2+1=3D. -fstack-
protector-strong
=C2=A0-Wformat -Werror=3Dformat-security -Wall' 'CPPFLAGS=3D-Wdate-time
=C2=A0-D_FORTIFY_SOURCE=3D2' LDFLAGS=3D-Wl,-z,relro'

Configured features:
ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM GSETTINGS HARFBUZZ JPEG
JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES
NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND THREADS TIFF
TOOLKIT_SCROLL_BARS X11 XDBE XIM XPM GTK3 ZLIB

Important settings:
=C2=A0 value of $LC_MONETARY: en_GB.UTF-8
=C2=A0 value of $LC_NUMERIC: en_GB.UTF-8
=C2=A0 value of $LC_TIME: en_GB.UTF-8
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Org

Minor modes in effect:
=C2=A0 text-scale-mode: t
=C2=A0 org-indent-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2=A0 recentf-mode: t
=C2=A0 global-display-line-numbers-mode: t
=C2=A0 display-line-numbers-mode: t
=C2=A0 override-global-mode: t
=C2=A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 show-paren-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 column-number-mode: t
=C2=A0 line-number-mode: t
=C2=A0 auto-fill-function: org-auto-fill-function
=C2=A0 visual-line-mode: t
=C2=A0 transient-mark-mode: t

Load-path shadows:
/home/jakutenshi/.config/emacs/elpa/emacsql-sqlite-3.1.1/emacsql-sqlite
hides /home/jakutenshi/.config/emacs/elpa/emacsql-3.1.1/emacsql-sqlite
/home/jakutenshi/.config/emacs/elpa/use-package-2.4.5/bind-key hides
/home/jakutenshi/.config/emacs/elpa/bind-key-2.4.1/bind-key
~/bin/git_src/org-mode/lisp/ox-koma-letter hides
/usr/share/emacs/28.2/lisp/org/ox-koma-letter
~/bin/git_src/org-mode/lisp/org-agenda hides
/usr/share/emacs/28.2/lisp/org/org-agenda
~/bin/git_src/org-mode/lisp/ox-latex hides
/usr/share/emacs/28.2/lisp/org/ox-latex
~/bin/git_src/org-mode/lisp/ol-gnus hides
/usr/share/emacs/28.2/lisp/org/ol-gnus
~/bin/git_src/org-mode/lisp/ob hides /usr/share/emacs/28.2/lisp/org/ob
~/bin/git_src/org-mode/lisp/org-num hides
/usr/share/emacs/28.2/lisp/org/org-num
~/bin/git_src/org-mode/lisp/org-goto hides
/usr/share/emacs/28.2/lisp/org/org-goto
~/bin/git_src/org-mode/lisp/ob-latex hides
/usr/share/emacs/28.2/lisp/org/ob-latex
~/bin/git_src/org-mode/lisp/ob-css hides
/usr/share/emacs/28.2/lisp/org/ob-css
~/bin/git_src/org-mode/lisp/org-faces hides
/usr/share/emacs/28.2/lisp/org/org-faces
~/bin/git_src/org-mode/lisp/ol hides /usr/share/emacs/28.2/lisp/org/ol
~/bin/git_src/org-mode/lisp/ox-org hides
/usr/share/emacs/28.2/lisp/org/ox-org
~/bin/git_src/org-mode/lisp/oc-csl hides
/usr/share/emacs/28.2/lisp/org/oc-csl
~/bin/git_src/org-mode/lisp/org-indent hides
/usr/share/emacs/28.2/lisp/org/org-indent
~/bin/git_src/org-mode/lisp/ob-org hides
/usr/share/emacs/28.2/lisp/org/ob-org
~/bin/git_src/org-mode/lisp/org-tempo hides
/usr/share/emacs/28.2/lisp/org/org-tempo
~/bin/git_src/org-mode/lisp/org-list hides
/usr/share/emacs/28.2/lisp/org/org-list
~/bin/git_src/org-mode/lisp/org-attach hides
/usr/share/emacs/28.2/lisp/org/org-attach
~/bin/git_src/org-mode/lisp/ob-plantuml hides
/usr/share/emacs/28.2/lisp/org/ob-plantuml
~/bin/git_src/org-mode/lisp/org-duration hides
/usr/share/emacs/28.2/lisp/org/org-duration
~/bin/git_src/org-mode/lisp/org-lint hides
/usr/share/emacs/28.2/lisp/org/org-lint
~/bin/git_src/org-mode/lisp/ob-lob hides
/usr/share/emacs/28.2/lisp/org/ob-lob
~/bin/git_src/org-mode/lisp/org-pcomplete hides
/usr/share/emacs/28.2/lisp/org/org-pcomplete
~/bin/git_src/org-mode/lisp/org-ctags hides
/usr/share/emacs/28.2/lisp/org/org-ctags
~/bin/git_src/org-mode/lisp/ob-makefile hides
/usr/share/emacs/28.2/lisp/org/ob-makefile
~/bin/git_src/org-mode/lisp/ol-eww hides
/usr/share/emacs/28.2/lisp/org/ol-eww
~/bin/git_src/org-mode/lisp/ox-icalendar hides
/usr/share/emacs/28.2/lisp/org/ox-icalendar
~/bin/git_src/org-mode/lisp/ox-man hides
/usr/share/emacs/28.2/lisp/org/ox-man
~/bin/git_src/org-mode/lisp/org-table hides
/usr/share/emacs/28.2/lisp/org/org-table
~/bin/git_src/org-mode/lisp/ob-lilypond hides
/usr/share/emacs/28.2/lisp/org/ob-lilypond
~/bin/git_src/org-mode/lisp/org-feed hides
/usr/share/emacs/28.2/lisp/org/org-feed
~/bin/git_src/org-mode/lisp/ob-ref hides
/usr/share/emacs/28.2/lisp/org/ob-ref
~/bin/git_src/org-mode/lisp/org-inlinetask hides
/usr/share/emacs/28.2/lisp/org/org-inlinetask
~/bin/git_src/org-mode/lisp/org-src hides
/usr/share/emacs/28.2/lisp/org/org-src
~/bin/git_src/org-mode/lisp/ob-awk hides
/usr/share/emacs/28.2/lisp/org/ob-awk
~/bin/git_src/org-mode/lisp/ob-screen hides
/usr/share/emacs/28.2/lisp/org/ob-screen
~/bin/git_src/org-mode/lisp/ol-w3m hides
/usr/share/emacs/28.2/lisp/org/ol-w3m
~/bin/git_src/org-mode/lisp/ob-julia hides
/usr/share/emacs/28.2/lisp/org/ob-julia
~/bin/git_src/org-mode/lisp/ob-scheme hides
/usr/share/emacs/28.2/lisp/org/ob-scheme
~/bin/git_src/org-mode/lisp/ob-java hides
/usr/share/emacs/28.2/lisp/org/ob-java
~/bin/git_src/org-mode/lisp/ox-texinfo hides
/usr/share/emacs/28.2/lisp/org/ox-texinfo
~/bin/git_src/org-mode/lisp/ol-rmail hides
/usr/share/emacs/28.2/lisp/org/ol-rmail
~/bin/git_src/org-mode/lisp/ob-haskell hides
/usr/share/emacs/28.2/lisp/org/ob-haskell
~/bin/git_src/org-mode/lisp/ob-R hides
/usr/share/emacs/28.2/lisp/org/ob-R
~/bin/git_src/org-mode/lisp/org-archive hides
/usr/share/emacs/28.2/lisp/org/org-archive
~/bin/git_src/org-mode/lisp/ob-dot hides
/usr/share/emacs/28.2/lisp/org/ob-dot
~/bin/git_src/org-mode/lisp/ob-ocaml hides
/usr/share/emacs/28.2/lisp/org/ob-ocaml
~/bin/git_src/org-mode/lisp/ob-lua hides
/usr/share/emacs/28.2/lisp/org/ob-lua
~/bin/git_src/org-mode/lisp/org-entities hides
/usr/share/emacs/28.2/lisp/org/org-entities
~/bin/git_src/org-mode/lisp/ob-processing hides
/usr/share/emacs/28.2/lisp/org/ob-processing
~/bin/git_src/org-mode/lisp/org-macro hides
/usr/share/emacs/28.2/lisp/org/org-macro
~/bin/git_src/org-mode/lisp/ob-python hides
/usr/share/emacs/28.2/lisp/org/ob-python
~/bin/git_src/org-mode/lisp/org-compat hides
/usr/share/emacs/28.2/lisp/org/org-compat
~/bin/git_src/org-mode/lisp/oc-biblatex hides
/usr/share/emacs/28.2/lisp/org/oc-biblatex
~/bin/git_src/org-mode/lisp/org-clock hides
/usr/share/emacs/28.2/lisp/org/org-clock
~/bin/git_src/org-mode/lisp/ox-beamer hides
/usr/share/emacs/28.2/lisp/org/ox-beamer
~/bin/git_src/org-mode/lisp/oc-basic hides
/usr/share/emacs/28.2/lisp/org/oc-basic
~/bin/git_src/org-mode/lisp/ol-mhe hides
/usr/share/emacs/28.2/lisp/org/ol-mhe
~/bin/git_src/org-mode/lisp/org-attach-git hides
/usr/share/emacs/28.2/lisp/org/org-attach-git
~/bin/git_src/org-mode/lisp/org-mobile hides
/usr/share/emacs/28.2/lisp/org/org-mobile
~/bin/git_src/org-mode/lisp/ox hides /usr/share/emacs/28.2/lisp/org/ox
~/bin/git_src/org-mode/lisp/ob-lisp hides
/usr/share/emacs/28.2/lisp/org/ob-lisp
~/bin/git_src/org-mode/lisp/ob-eval hides
/usr/share/emacs/28.2/lisp/org/ob-eval
~/bin/git_src/org-mode/lisp/org-refile hides
/usr/share/emacs/28.2/lisp/org/org-refile
~/bin/git_src/org-mode/lisp/ox-ascii hides
/usr/share/emacs/28.2/lisp/org/ox-ascii
~/bin/git_src/org-mode/lisp/org-colview hides
/usr/share/emacs/28.2/lisp/org/org-colview
~/bin/git_src/org-mode/lisp/ob-ruby hides
/usr/share/emacs/28.2/lisp/org/ob-ruby
~/bin/git_src/org-mode/lisp/ol-bbdb hides
/usr/share/emacs/28.2/lisp/org/ol-bbdb
~/bin/git_src/org-mode/lisp/ob-maxima hides
/usr/share/emacs/28.2/lisp/org/ob-maxima
~/bin/git_src/org-mode/lisp/org-crypt hides
/usr/share/emacs/28.2/lisp/org/org-crypt
~/bin/git_src/org-mode/lisp/ob-fortran hides
/usr/share/emacs/28.2/lisp/org/ob-fortran
~/bin/git_src/org-mode/lisp/org-timer hides
/usr/share/emacs/28.2/lisp/org/org-timer
~/bin/git_src/org-mode/lisp/ob-forth hides
/usr/share/emacs/28.2/lisp/org/ob-forth
~/bin/git_src/org-mode/lisp/ob-clojure hides
/usr/share/emacs/28.2/lisp/org/ob-clojure
~/bin/git_src/org-mode/lisp/org-loaddefs hides
/usr/share/emacs/28.2/lisp/org/org-loaddefs
~/bin/git_src/org-mode/lisp/ob-core hides
/usr/share/emacs/28.2/lisp/org/ob-core
~/bin/git_src/org-mode/lisp/ox-html hides
/usr/share/emacs/28.2/lisp/org/ox-html
~/bin/git_src/org-mode/lisp/org-protocol hides
/usr/share/emacs/28.2/lisp/org/org-protocol
~/bin/git_src/org-mode/lisp/ox-publish hides
/usr/share/emacs/28.2/lisp/org/ox-publish
~/bin/git_src/org-mode/lisp/org-datetree hides
/usr/share/emacs/28.2/lisp/org/org-datetree
~/bin/git_src/org-mode/lisp/ob-matlab hides
/usr/share/emacs/28.2/lisp/org/ob-matlab
~/bin/git_src/org-mode/lisp/ol-man hides
/usr/share/emacs/28.2/lisp/org/ol-man
~/bin/git_src/org-mode/lisp/ob-exp hides
/usr/share/emacs/28.2/lisp/org/ob-exp
~/bin/git_src/org-mode/lisp/ob-sass hides
/usr/share/emacs/28.2/lisp/org/ob-sass
~/bin/git_src/org-mode/lisp/ob-ditaa hides
/usr/share/emacs/28.2/lisp/org/ob-ditaa
~/bin/git_src/org-mode/lisp/ob-sql hides
/usr/share/emacs/28.2/lisp/org/ob-sql
~/bin/git_src/org-mode/lisp/ol-info hides
/usr/share/emacs/28.2/lisp/org/ol-info
~/bin/git_src/org-mode/lisp/ob-tangle hides
/usr/share/emacs/28.2/lisp/org/ob-tangle
~/bin/git_src/org-mode/lisp/ob-shell hides
/usr/share/emacs/28.2/lisp/org/ob-shell
~/bin/git_src/org-mode/lisp/ol-eshell hides
/usr/share/emacs/28.2/lisp/org/ol-eshell
~/bin/git_src/org-mode/lisp/ob-eshell hides
/usr/share/emacs/28.2/lisp/org/ob-eshell
~/bin/git_src/org-mode/lisp/ob-table hides
/usr/share/emacs/28.2/lisp/org/ob-table
~/bin/git_src/org-mode/lisp/org-mouse hides
/usr/share/emacs/28.2/lisp/org/org-mouse
~/bin/git_src/org-mode/lisp/org-keys hides
/usr/share/emacs/28.2/lisp/org/org-keys
~/bin/git_src/org-mode/lisp/org hides
/usr/share/emacs/28.2/lisp/org/org
~/bin/git_src/org-mode/lisp/ob-sqlite hides
/usr/share/emacs/28.2/lisp/org/ob-sqlite
~/bin/git_src/org-mode/lisp/ob-emacs-lisp hides
/usr/share/emacs/28.2/lisp/org/ob-emacs-lisp
~/bin/git_src/org-mode/lisp/ol-doi hides
/usr/share/emacs/28.2/lisp/org/ol-doi
~/bin/git_src/org-mode/lisp/ob-octave hides
/usr/share/emacs/28.2/lisp/org/ob-octave
~/bin/git_src/org-mode/lisp/ob-gnuplot hides
/usr/share/emacs/28.2/lisp/org/ob-gnuplot
~/bin/git_src/org-mode/lisp/ol-docview hides
/usr/share/emacs/28.2/lisp/org/ol-docview
~/bin/git_src/org-mode/lisp/org-element hides
/usr/share/emacs/28.2/lisp/org/org-element
~/bin/git_src/org-mode/lisp/ob-calc hides
/usr/share/emacs/28.2/lisp/org/ob-calc
~/bin/git_src/org-mode/lisp/ol-bibtex hides
/usr/share/emacs/28.2/lisp/org/ol-bibtex
~/bin/git_src/org-mode/lisp/ob-groovy hides
/usr/share/emacs/28.2/lisp/org/ob-groovy
~/bin/git_src/org-mode/lisp/oc hides /usr/share/emacs/28.2/lisp/org/oc
~/bin/git_src/org-mode/lisp/org-macs hides
/usr/share/emacs/28.2/lisp/org/org-macs
~/bin/git_src/org-mode/lisp/ox-md hides
/usr/share/emacs/28.2/lisp/org/ox-md
~/bin/git_src/org-mode/lisp/ob-perl hides
/usr/share/emacs/28.2/lisp/org/ob-perl
~/bin/git_src/org-mode/lisp/org-plot hides
/usr/share/emacs/28.2/lisp/org/org-plot
~/bin/git_src/org-mode/lisp/ob-comint hides
/usr/share/emacs/28.2/lisp/org/ob-comint
~/bin/git_src/org-mode/lisp/ox-odt hides
/usr/share/emacs/28.2/lisp/org/ox-odt
~/bin/git_src/org-mode/lisp/org-footnote hides
/usr/share/emacs/28.2/lisp/org/org-footnote
~/bin/git_src/org-mode/lisp/org-version hides
/usr/share/emacs/28.2/lisp/org/org-version
~/bin/git_src/org-mode/lisp/ol-irc hides
/usr/share/emacs/28.2/lisp/org/ol-irc
~/bin/git_src/org-mode/lisp/org-habit hides
/usr/share/emacs/28.2/lisp/org/org-habit
~/bin/git_src/org-mode/lisp/org-id hides
/usr/share/emacs/28.2/lisp/org/org-id
~/bin/git_src/org-mode/lisp/oc-natbib hides
/usr/share/emacs/28.2/lisp/org/oc-natbib
~/bin/git_src/org-mode/lisp/ob-C hides
/usr/share/emacs/28.2/lisp/org/ob-C
~/bin/git_src/org-mode/lisp/ob-sed hides
/usr/share/emacs/28.2/lisp/org/ob-sed
~/bin/git_src/org-mode/lisp/ob-js hides
/usr/share/emacs/28.2/lisp/org/ob-js
~/bin/git_src/org-mode/lisp/org-capture hides
/usr/share/emacs/28.2/lisp/org/org-capture
/usr/share/emacs/site-lisp/latex-cjk-thai/thai-word hides
/usr/share/emacs/28.2/lisp/language/thai-word

Features:
(shadow sort mail-extr emacsbug sendmail comp comp-cstr warnings
mule-util cal-move ox-jira ox-odt rng-loc rng-uri rng-parse rng-match
rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util
ox-latex ox-icalendar org-agenda ox-html table ox-ascii ox-publish ox
face-remap org-indent oc-basic org-element org-persist org-id org-
refile
avl-tree ol-eww eww xdg url-queue thingatpt mm-url ol-rmail ol-mhe
ol-irc ol-info ol-gnus nnselect gnus-search eieio-opt speedbar ezimage
dframe gnus-art mm-uu mml2015 mm-view mml-smime smime dig ol-docview
doc-view jka-compr image-mode exif ol-bibtex bibtex ol-bbdb ol-w3m
ol-doi org-link-doi cus-edit pp cus-start cus-load ob-scheme ob-java
ob-C cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align
cc-engine cc-vars cc-defs ob-python python tramp-sh tramp tramp-
loaddefs
trampver tramp-integration files-x tramp-compat shell ls-lisp org ob
ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src sh-script
smie
executable ob-comint org-pcomplete pcomplete org-list org-footnote
org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval
org-cycle org-table ol org-fold org-fold-core org-keys oc
org-element-ast inline org-loaddefs find-func cal-menu calendar
cal-loaddefs gnus-sum shr kinsoku svg dom gnus-group gnus-undo
gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7
netrc nnoo parse-time iso8601 gnus-spec gnus-int gnus-range message rmc
puny dired dired-loaddefs rfc822 mml mml-sec epa derived epg rfc6068
epg-config mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev
gmm-utils mailheader gnus-win gnus nnheader gnus-util rmail
rmail-loaddefs rfc2047 rfc2045 ietf-drums time-date mail-utils mm-util
mail-prsvr org-version org-compat org-macs rx pcase format-spec
geiser-mit geiser-repl geiser-image geiser-capf geiser-doc geiser-menu
geiser-autodoc info-look compile text-property-search geiser-edit etags
fileloop generator xref project geiser-completion geiser-eval
geiser-connection tq geiser-syntax scheme geiser-impl help-fns
radix-tree geiser-log comint ansi-color geiser-popup view geiser-custom
geiser-base ring geiser cl-extra help-mode edmacro kmacro recentf
tree-widget wid-edit hl-line display-line-numbers use-package
use-package-ensure use-package-delight use-package-diminish
use-package-bind-key bind-key easy-mmode use-package-core finder-inf
tree-sitter-autoloads tsc-autoloads info package browse-url url
url-proxy url-privacy url-expand url-methods url-history url-cookie
url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq
eieio eieio-core cl-macs eieio-loaddefs password-cache json subr-x map
url-vars seq byte-opt gv bytecomp byte-compile cconv cl-loaddefs cl-lib
iso-transl tooltip eldoc paren electric uniquify ediff-hook vc-hooks
lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-
dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list replace
newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar
rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock
font-lock syntax font-core term/tty-colors frame minibuffer cl-generic
cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech
european ethiopic indian cyrillic chinese composite emoji-zwj
charscript
charprop case-table epa-hook jka-cmpr-hook help simple abbrev obarray
cl-preloaded nadvice button loaddefs faces cus-face macroexp files
window text-properties overlay sha1 md5 base64 format env code-pages
mule custom widget hashtable-print-readable backquote threads dbusbind
inotify lcms2 dynamic-setting system-font-setting font-render-setting
cairo move-toolbar gtk x-toolkit x multi-tty make-network-process
native-compile emacs)

Memory information:
((conses 16 1254057 127037)
=C2=A0(symbols 48 44625 1)
=C2=A0(strings 32 220341 4254)
=C2=A0(string-bytes 1 6472679)
=C2=A0(vectors 16 63534)
=C2=A0(vector-slots 8 1808150 192098)
=C2=A0(floats 8 388 279)
=C2=A0(intervals 56 8917 72)
=C2=A0(buffers 992 19))





Acknowledgement sent to Mikhail Efremov <jakutenshi@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#71323; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 30 Jun 2024 06:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.