emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#48058: closed (tab-width's docstring)


From: GNU bug Tracking System
Subject: bug#48058: closed (tab-width's docstring)
Date: Fri, 30 Apr 2021 10:51:01 +0000

Your message dated Fri, 30 Apr 2021 13:49:48 +0300
with message-id <835z04caib.fsf@gnu.org>
and subject line Re: bug#48058: tab-width's docstring
has caused the debbugs.gnu.org bug report #48058,
regarding tab-width's docstring
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
48058: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=48058
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: tab-width's docstring Date: Tue, 27 Apr 2021 10:11:30 -0300 User-agent: mu4e 1.4.15; emacs 27.2
Hi All,

In Emacs 27.2 the docstring for `tab-width' reads:

"Distance between tab stops (for display of tab characters), in columns. NOTE: This controls the display width of a TAB character, and not the size of an indentation step."

But this seems to contradict to the ubiquitous role in actual indentation the option currently plays. It is used by `insert-tab' directly. `tab-to-tab-stop' uses it if `tab-stop-list' is nil, as it is by default. `indent-relative' may use `tab-to-tab-stop'. And, through `indent-relative' and `insert-tab', `tab-width' also affects `indent-for-tab-command'.

Am I missing something? Or is this docstring the remnant of a previous change which was left behind?

Best regards,
Gustavo.



--- End Message ---
--- Begin Message --- Subject: Re: bug#48058: tab-width's docstring Date: Fri, 30 Apr 2021 13:49:48 +0300
> From: Stefan Kangas <stefan@marxist.se>
> Date: Fri, 30 Apr 2021 05:20:12 -0500
> Cc: gusbrs.2016@gmail.com, 48058@debbugs.gnu.org
> 
>     Note that this variable doesn't necessarily affect the size of the
>     indentation step.  However, if the major mode's indentation facility
>     normally inserts one or more TAB characters, this variable will
>     affect the indentation step as well, even if `indent-tabs-mode' is
>     non-nil.
> 
> Otherwise LGTM, please install.

Thanks, done (with one minor deviation: the "normally" part is not
useful here).


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]