GNU bug report logs - #4781
23.1; sgml-lexical-context on <!-- comments

Previous Next

Package: emacs;

Reported by: Kevin Ryde <user42 <at> zip.com.au>

Date: Wed, 21 Oct 2009 23:10:07 UTC

Severity: normal

Tags: patch

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 4781-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Kevin Ryde <user42 <at> zip.com.au>
Cc: 4781-done <at> debbugs.gnu.org
Subject: Re: 23.1; sgml-lexical-context on <!-- comments
Date: Sat, 05 Dec 2009 15:23:39 -0500
> In a file foo.html containing
>
>     <!-- foo -->
>
> and in html-mode with point on the "foo", calling `sgml-lexical-context'
> returns
>
>     (tag . 1)
>
> where I thought from the docstring of that function it would be
>
>     (comment . 1)
>
> I suppose parse-partial-sexp doesn't quite recognise <!--, or not
> without the sgml-specials hack.  I get some joy from the lines below.

Thanks, I've checked your patch into the repository.



This bug report was last modified 15 years and 144 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.