From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Edward Welbourne Newsgroups: gmane.emacs.bugs Subject: Re: C-comments in sgml-mode's html-mode Date: Mon, 23 Jul 2007 18:59:43 +0200 Message-ID: References: <46A1DEB4.8080501@gmx.at> <46A49E9F.1090806@gmx.at> Reply-To: eddy@opera.com NNTP-Posting-Host: lo.gmane.org X-Trace: sea.gmane.org 1185210018 21127 80.91.229.12 (23 Jul 2007 17:00:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 23 Jul 2007 17:00:18 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 23 19:00:17 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1ID1GZ-00075V-Nk for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 19:00:16 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ID1GZ-0005sn-7k for geb-bug-gnu-emacs@m.gmane.org; Mon, 23 Jul 2007 13:00:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ID1GW-0005rD-Gg for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2007 13:00:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ID1GU-0005r1-Ls for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2007 13:00:12 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ID1GU-0005qy-II for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2007 13:00:10 -0400 Original-Received: from sam.opera.com ([213.236.208.81]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ID1GT-00065Y-UW for bug-gnu-emacs@gnu.org; Mon, 23 Jul 2007 13:00:10 -0400 Original-Received: from whorl (pat-tdc.opera.com [213.236.208.22]) by sam.opera.com (8.13.4/8.13.4/Debian-3sarge3) with ESMTP id l6NH023e003614 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT); Mon, 23 Jul 2007 17:00:03 GMT Original-Received: from eddy by whorl with local (Exim 4.67) (envelope-from ) id 1ID1G3-0007bz-QM; Mon, 23 Jul 2007 18:59:43 +0200 In-reply-to: <46A49E9F.1090806@gmx.at> (message from martin rudalics on Mon, 23 Jul 2007 14:27:11 +0200) X-Virus-Scanned: ClamAV 0.90.1/3742/Mon Jul 23 11:31:24 2007 on sam.opera.com X-Virus-Status: Clean X-detected-kernel: Linux 2.4-2.6 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:16208 Archived-At: > 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 "" 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.