unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#46312: HTML+ mode vs. quotes
@ 2021-02-04 22:57 積丹尼 Dan Jacobson
  2021-02-05  9:42 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-02-04 22:57 UTC (permalink / raw)
  To: 46312

Not sure if fixed yet. emacs-version "27.1"

$ emacs -q file.html
using:

<!DOCTYPE html>
<html>
<head>
 <meta charset="utf-8">
 <title>TEST</title>
</head>
<body>
 <p>Never mind ' here to here '. But...</p>

 <p>If there is a unmatched 「 here,</p>

 <p>Then any text beyond ' here becomes a different color,</p>

 <p>That lasts though here,</p>

 <p>And only after ' here, finially stops.</p>

 <p>However now ' here to here ' looks different too!</p>

 <p>It's a bad looking emacs' problem. That's a fact. And it could
 influence the rest of the file. Unless one call's it quits :-)</p>
</body>
</html>





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46312: HTML+ mode vs. quotes
  2021-02-04 22:57 bug#46312: HTML+ mode vs. quotes 積丹尼 Dan Jacobson
@ 2021-02-05  9:42 ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2021-02-05  9:42 UTC (permalink / raw)
  To: 積丹尼 Dan Jacobson; +Cc: 46312

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

>  <p>If there is a unmatched 「 here,</p>

You reported this in 40844 and 43941 and probably some other ones, too.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#46312: HTML+ mode vs. quotes
  2021-06-14 13:00                       ` bug#43941: bug#46312: HTML+ mode vs. quotes Lars Ingebrigtsen
@ 2021-06-14 13:52                         ` Stephen Berman
  0 siblings, 0 replies; 3+ messages in thread
From: Stephen Berman @ 2021-06-14 13:52 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 46312, 40844, 43941, jidanni

On Mon, 14 Jun 2021 15:00:16 +0200 Lars Ingebrigtsen <larsi@gnus.org> wrote:

> Stephen Berman <stephen.berman@gmx.net> writes:
>
>> Upthread Eli said "some SGML/HTML expert should say if that is TRT".
>> I'm no such expert so I can't make that decision.
>
> I'm not either, but at this point I'd rather apply the patch and then we
> can see whether some SGML expert pipes up...

Sounds good.

>> Here's the test, in case someone else wants to see if
>> they can figure it out; I haven't succeeded:
>
> Just needs a `font-lock-ensure' after `html-mode'.  :-)  Then the test
> fails without your patch, and passes with your patch.

Ah, thanks.  The ways of font lock are unfathomable to me.

> So I went ahead and pushed your patch (and the test) to Emacs 28 (with
> some minor changes to the test).

Thanks.  I noticed, unfortunately only just now, that the ert test
includes the unused let-bound variable `results' which I inadvertantly
left behind from the previous version, and which will probably make the
byte-compiler complain.

Steve Berman





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-06-14 13:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-04 22:57 bug#46312: HTML+ mode vs. quotes 積丹尼 Dan Jacobson
2021-02-05  9:42 ` Lars Ingebrigtsen
  -- strict thread matches above, loose matches on Subject: below --
2020-10-11 14:30 bug#43941: HTML+ mode: dangerous apostrophe after fullwidth parenthesis 積丹尼 Dan Jacobson
2020-10-12 14:48 ` Eli Zaretskii
2020-10-12 15:11   ` Stephen Berman
2020-10-12 15:20     ` Eli Zaretskii
2020-10-12 16:17       ` Stephen Berman
2020-10-12 16:29         ` Eli Zaretskii
2020-10-12 17:21           ` Stephen Berman
2020-10-12 17:38             ` Eli Zaretskii
2020-10-12 21:26               ` Stephen Berman
2020-10-13 10:37                 ` Stephen Berman
2021-06-13 12:21                   ` bug#43941: bug#40844: html mode sometimes fooled by apostrophe Lars Ingebrigtsen
2021-06-13 18:14                     ` Stephen Berman
2021-06-14 13:00                       ` bug#43941: bug#46312: HTML+ mode vs. quotes Lars Ingebrigtsen
2021-06-14 13:52                         ` Stephen Berman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).