unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#34858: indent-relative called with prefix calls tab-to-tab-stop
@ 2019-03-14 15:35 Alex Branham
  2019-03-14 16:00 ` Eli Zaretskii
  0 siblings, 1 reply; 18+ messages in thread
From: Alex Branham @ 2019-03-14 15:35 UTC (permalink / raw)
  To: 34858

The docstring of indent-relative says:

If the previous nonblank line has no indent points beyond the
column point starts at, then `tab-to-tab-stop' is done, if both
FIRST-ONLY and UNINDENTED-OK are nil, otherwise nothing is done
in this case.

Yet in a buffer like this:

foo

with point at the beginning of line, C-u M-x indent-relative results in:

        test

I'm happy to submit a patch fixing this, but should it update the
documentation to match what happens or should it update the code to
match the documentation?

Thanks,
Alex





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

end of thread, other threads:[~2019-04-06  0:52 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-14 15:35 bug#34858: indent-relative called with prefix calls tab-to-tab-stop Alex Branham
2019-03-14 16:00 ` Eli Zaretskii
2019-03-14 16:17   ` Alex Branham
2019-03-20 20:23     ` Filipp Gunbin
2019-03-25 23:06       ` Alex Branham
2019-03-26 15:39         ` Eli Zaretskii
2019-03-26 15:42           ` Alex Branham
2019-03-26 16:47             ` Eli Zaretskii
2019-04-02  0:11     ` Basil L. Contovounesios
2019-04-02 14:40       ` Eli Zaretskii
2019-04-03 17:12         ` Basil L. Contovounesios
2019-04-06  0:52           ` Alex Branham
2019-03-14 16:45   ` Alex
2019-03-14 18:02     ` Eli Zaretskii
2019-03-14 18:57       ` Alex
2019-03-14 20:18         ` Eli Zaretskii
2019-03-14 21:27           ` Alex
2019-03-15  4:52             ` Eli Zaretskii

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).