unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#48058: tab-width's docstring
@ 2021-04-27 13:11 Gustavo Barros
  2021-04-27 13:53 ` Eli Zaretskii
  0 siblings, 1 reply; 15+ messages in thread
From: Gustavo Barros @ 2021-04-27 13:11 UTC (permalink / raw)
  To: 48058

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.





^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2021-04-30 12:00 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-27 13:11 bug#48058: tab-width's docstring Gustavo Barros
2021-04-27 13:53 ` Eli Zaretskii
2021-04-27 14:40   ` Gustavo Barros
2021-04-27 15:02     ` Eli Zaretskii
2021-04-27 15:14       ` Gustavo Barros
2021-04-27 15:32         ` Eli Zaretskii
2021-04-29 17:05           ` Stefan Kangas
2021-04-29 17:35             ` Eli Zaretskii
2021-04-29 20:14               ` Gustavo Barros
2021-04-29 22:53                 ` Stefan Kangas
2021-04-30  0:44                   ` Gustavo Barros
2021-04-30  7:18                   ` Eli Zaretskii
2021-04-30 10:20                     ` Stefan Kangas
2021-04-30 10:49                       ` Eli Zaretskii
2021-04-30 12:00                         ` Gustavo Barros

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).