all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kaushal Modi <kaushal.modi@gmail.com>
To: 29775@debbugs.gnu.org, Tom Tromey <tom@tromey.com>
Subject: bug#29775: 26.0.90; Incorrect fontification within double-quoted parts in a TOML multi-line string
Date: Tue, 23 Jan 2018 22:07:57 +0000	[thread overview]
Message-ID: <CAFyQvY1exCND6a+SYUFaB=YFqhc6OyfUQM4KmZte=Pq_N6ma3A@mail.gmail.com> (raw)
In-Reply-To: <CAFyQvY1bQ_YE4j7f8U8ZfQdHnv_9KuiwYwKUuSN06=psRPLH-A@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 677 bytes --]

Hello,

Today, I noticed another, but related, fontification issue with
triple-quoted strings in TOML. Strings starting with # is interpreted as
comment inside the triple-quoted strings too.

Here's an example:

favicon_code = """
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">
<meta name="theme-color" content="#ffffff">
"""
It looks like this:

[image: image.png]


-- 

Kaushal Modi

[-- Attachment #1.2: Type: text/html, Size: 1230 bytes --]

[-- Attachment #2: image.png --]
[-- Type: image/png, Size: 28047 bytes --]

      reply	other threads:[~2018-01-23 22:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-19 21:00 bug#29775: 26.0.90; Incorrect fontification within double-quoted parts in a TOML multi-line string Kaushal Modi
2018-01-07 16:08 ` Kaushal Modi
2018-01-23 22:07   ` Kaushal Modi [this message]

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='CAFyQvY1exCND6a+SYUFaB=YFqhc6OyfUQM4KmZte=Pq_N6ma3A@mail.gmail.com' \
    --to=kaushal.modi@gmail.com \
    --cc=29775@debbugs.gnu.org \
    --cc=tom@tromey.com \
    /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.