[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fill-comment-paragraph appears to insert TAB despite indent-tabs-mod
Re: fill-comment-paragraph appears to insert TAB despite indent-tabs-mode
04 Apr 2004 16:19:12 -0400
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50
> 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
Should be fixed now, thank you.
|[Prev in Thread]
||[Next in Thread]|
- Re: fill-comment-paragraph appears to insert TAB despite indent-tabs-mode,
Stefan Monnier <=