From: Chong Yidong <cyd@stupidchicken.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 6822@debbugs.gnu.org
Subject: bug#6822: comment-padding skips first char in html-mode
Date: Sun, 08 Aug 2010 19:37:07 -0400 [thread overview]
Message-ID: <87eie84qxo.fsf@stupidchicken.com> (raw)
In-Reply-To: <AANLkTik3rJX45_khaYZdqE+GzaT7Q09iw+rLguVsA9Wa@mail.gmail.com> (Lennart Borgman's message of "Sat, 7 Aug 2010 23:35:14 +0200")
Lennart Borgman <lennart.borgman@gmail.com> 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?
next prev parent reply other threads:[~2010-08-08 23:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-07 21:35 bug#6822: comment-padding skips first char in html-mode Lennart Borgman
2010-08-08 23:37 ` Chong Yidong [this message]
2010-08-09 8:35 ` Stefan Monnier
2021-07-18 12:51 ` Lars Ingebrigtsen
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=87eie84qxo.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=6822@debbugs.gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.