From: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: fill-comment-paragraph appears to insert TAB despite indent-tabs-mode
Date: 04 Apr 2004 16:19:12 -0400 [thread overview]
Message-ID: <87smfjh596.fsf-monnier+emacs@alfajor.local> (raw)
In-Reply-To: <87ekr3y9zy.fsf@offby1.atm01.sea.blarg.net>
> 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
parent reply other threads:[~2004-04-04 20:19 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <87ekr3y9zy.fsf@offby1.atm01.sea.blarg.net>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87smfjh596.fsf-monnier+emacs@alfajor.local \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.