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

From: Chong Yidong <[email-masked]>
Date: Sun, 08 Aug 2010 19:37:07 -0400

Lennart Borgman <[email-masked]> 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?