From: Edward Welbourne <eddy@opera.com>
To: martin rudalics <rudalics@gmx.at>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: C-comments in sgml-mode's html-mode
Date: Mon, 23 Jul 2007 18:59:43 +0200 [thread overview]
Message-ID: <E1ID1G3-0007bz-QM@whorl> (raw)
In-Reply-To: <46A49E9F.1090806@gmx.at> (message from martin rudalics on Mon, 23 Jul 2007 14:27:11 +0200)
> Could you please, in the running session, move the cursor before
> instances of the involved characters (in all four positions), do M-x
> describe-char, and post the results here. In addition, please tell us
> the values (with C-h v) for comment-start and comment-end in the
> affected buffer.
comment-start is a variable defined in `newcomment.el'.
Its value is "<!-- "
Local in buffer comment.html; global value is nil
This variable is safe as a file local variable if its value
satisfies the predicate `string-or-null-p'.
Documentation:
*String to insert to start a new comment, or nil if no comment syntax.
comment-end is a variable defined in `newcomment.el'.
Its value is " -->"
Local in buffer comment.html; global value is ""
This variable is safe as a file local variable if its value
satisfies the predicate `string-or-null-p'.
Documentation:
*String to insert to end a new comment.
Should be an empty string if comments are terminated by end-of-line.
Not sure what you mean by "in all four positions", but here are the
results for each of the four characters in " /* " in the title:
character: SPC (32, #o40, #x20, U+0020)
charset: ascii (ASCII (ISO646 IRV))
code point: #x20
syntax: which means: whitespace
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x20
file code: #x20 (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x20)
There are text properties here:
face (bold underline)
fontified t
character: / (47, #o57, #x2f, U+002F)
charset: ascii (ASCII (ISO646 IRV))
code point: #x2F
syntax: . 14 which means: punctuation,
is the first character of a comment-start sequence,
is the second character of a comment-end sequence
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x2F
file code: #x2F (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x2F)
There are text properties here:
face (bold underline font-lock-comment-face)
fontified t
character: * (42, #o52, #x2a, U+002A)
charset: ascii (ASCII (ISO646 IRV))
code point: #x2A
syntax: . 23 which means: punctuation,
is the second character of a comment-start sequence,
is the first character of a comment-end sequence
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x2A
file code: #x2A (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x2A)
There are text properties here:
face (bold underline font-lock-comment-face)
fontified t
character: SPC (32, #o40, #x20, U+0020)
charset: ascii (ASCII (ISO646 IRV))
code point: #x20
syntax: which means: whitespace
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x20
file code: #x20 (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x20)
There are text properties here:
face (bold underline font-lock-comment-face)
fontified t
Similarly, for " */ " in the comment after the title:
character: SPC (32, #o40, #x20, U+0020)
charset: ascii (ASCII (ISO646 IRV))
code point: #x20
syntax: which means: whitespace
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x20
file code: #x20 (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x20)
There are text properties here:
face font-lock-comment-face
fontified t
character: * (42, #o52, #x2a, U+002A)
charset: ascii (ASCII (ISO646 IRV))
code point: #x2A
syntax: . 23 which means: punctuation,
is the second character of a comment-start sequence,
is the first character of a comment-end sequence
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x2A
file code: #x2A (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x2A)
There are text properties here:
face font-lock-comment-face
fontified t
character: / (47, #o57, #x2f, U+002F)
charset: ascii (ASCII (ISO646 IRV))
code point: #x2F
syntax: . 14 which means: punctuation,
is the first character of a comment-start sequence,
is the second character of a comment-end sequence
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x2F
file code: #x2F (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x2F)
There are text properties here:
face font-lock-comment-face
fontified t
character: SPC (32, #o40, #x20, U+0020)
charset: ascii (ASCII (ISO646 IRV))
code point: #x20
syntax: which means: whitespace
category: a:ASCII graphic characters 32-126 (ISO646 IRV:1983[4/0]) l:Latin
buffer code: #x20
file code: #x20 (encoded by coding system undecided-unix)
display: by this font (glyph code)
-Misc-Fixed-Medium-R-Normal--8-80-75-75-C-50-ISO8859-1 (#x20)
There are text properties here:
fontified t
Is that what you wanted ?
Eddy.
next prev parent reply other threads:[~2007-07-23 16:59 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-07-19 11:33 M-x compile re-uses name of old compilation buffer, contrary to documentation Edward Welbourne
2007-07-20 13:42 ` Richard Stallman
2007-07-20 14:54 ` Edward Welbourne
2007-07-21 10:23 ` martin rudalics
2007-07-23 11:50 ` C-comments in sgml-mode's html-mode Edward Welbourne
2007-07-23 12:02 ` Lennart Borgman (gmail)
2007-07-23 13:24 ` Edward Welbourne
2007-07-23 14:51 ` martin rudalics
2007-07-23 17:49 ` Edward Welbourne
2007-07-23 12:27 ` martin rudalics
2007-07-23 16:59 ` Edward Welbourne [this message]
2007-07-23 18:41 ` martin rudalics
2007-07-24 8:57 ` Edward Welbourne
2007-07-24 13:01 ` martin rudalics
2007-07-24 13:51 ` Edward Welbourne
2007-07-24 14:51 ` Lennart Borgman (gmail)
2007-07-24 15:46 ` Edward Welbourne
2007-07-24 16:47 ` martin rudalics
2007-07-24 20:05 ` Edward Welbourne
2007-07-25 7:59 ` martin rudalics
2007-07-24 20:42 ` Edward Welbourne
2007-07-24 21:53 ` Lennart Borgman (gmail)
2007-07-24 22:05 ` Dan Nicolaescu
2007-07-25 8:19 ` martin rudalics
2007-07-25 8:48 ` Edward Welbourne
2007-07-24 16:44 ` martin rudalics
2007-07-24 14:39 ` Edward Welbourne
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=E1ID1G3-0007bz-QM@whorl \
--to=eddy@opera.com \
--cc=bug-gnu-emacs@gnu.org \
--cc=rudalics@gmx.at \
/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.