bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#6822: comment-padding skips first char in html-mode


From: Chong Yidong
Subject: bug#6822: comment-padding skips first char in html-mode
Date: Sun, 08 Aug 2010 19:37:07 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Lennart Borgman <address@hidden> writes:

> (setq comment-padding "xy")
>
> gives
>
> <!-- yy --> - html-mode

This is because of this behavior in comment-padright and
comment-padleft:

  If STR already contains padding, the corresponding amount is
  ignored from `comment-padding'.

I'm not sure what the reason is.  Stefan?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]