* Re: fill-comment-paragraph appears to insert TAB despite indent-tabs-mode
[not found] <87ekr3y9zy.fsf@offby1.atm01.sea.blarg.net>
@ 2004-04-04 20:19 ` Stefan Monnier
0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2004-04-04 20:19 UTC (permalink / raw)
Cc: emacs-devel
> I'm trying to fix the attached bug, and am not getting very far. However,
> I have at least located the code that is inserting a tab:
> fill-comment-paragraph (CVS version 1.170), line 814. That code
> looks suspicious to me:
> (if has-code-and-comment
> (concat (make-string (/ (current-column) tab-width) ?\t)
> (make-string (% (current-column) tab-width) ?\ )
> (buffer-substring (point) comin))
> (buffer-substring (line-beginning-position) comin))
> It seems to be inserting tabs unconditionally, rather than honoring
> `indent-tabs-mode'. Is this correct?
You got it!
And I can happily reject the fault onto someone else ;-) : the bug was
already present in lisp-mode for ages, I just have spread it to many
more modes.
Should be fixed now, thank you.
Stefan
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-04 20:19 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <87ekr3y9zy.fsf@offby1.atm01.sea.blarg.net>
2004-04-04 20:19 ` fill-comment-paragraph appears to insert TAB despite indent-tabs-mode Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.