Subject: bug#56837: 28.1.90; `current-indentation' sometimes returns zero inside invisible text

From: Lars Ingebrigtsen <[email-masked]>
Date: Sun, 31 Jul 2022 10:12:55 +0200

Eli Zaretskii <[email-masked]> writes:

>> (defmacro org-current-text-indentation ()
>>   "Like `current-indentation', but ignore display/invisible properties."
>>   `(let ((buffer-invisibility-spec nil))
>>      (current-indentation)))
>> 
>> (defmacro org-current-text-column ()
>>   "Like `current-column', but ignore display/invisible properties."
>>   `(string-width (buffer-substring-no-properties
>> 		  (line-beginning-position) (point))))
>
> Sounds strange to have this, but if Lars thinks it's useful, I won't
> object.

It seems quite special-purpose -- I'm not sure there's much general
utility for functions like this.