all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reza Nikoopour <rnikoopour@gmail.com>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: How to use Generic String Delimiter ("|")
Date: Sun, 7 Nov 2021 18:42:09 -0800	[thread overview]
Message-ID: <CAKesZq3UKLB8AAQzO0AqHOHC6wx=dRX3UKYdEXa73RT9deR_dA@mail.gmail.com> (raw)
In-Reply-To: <jwvk0hj4rpn.fsf-monnier+emacs@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 682 bytes --]

Thank you so much for the explanation.  That helped me a lot.

> So depending on whether N is odd or even the rest of the text will be
> highlighted with `font-lock-string-face` ;-)

Well that explains the behavior I saw during my experimentation!

I've managed to find a solution for propertizing. However I've now I have a
new
issue that I don't understand. When editing a line inside the heredoc the
line
changes to white font then shortly after changes to green.  What would be
the
cause of that behavior? I'm not really sure where to begin debugging.

I can provide my syntax-propertize function and my
syntax-propertize-extend-region
function if they're needed.

Cheers,
Reza

[-- Attachment #2: Type: text/html, Size: 791 bytes --]

  reply	other threads:[~2021-11-08  2:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-07 19:51 How to use Generic String Delimiter ("|") Reza Nikoopour
2021-11-07 20:57 ` Stefan Monnier
2021-11-08  2:42   ` Reza Nikoopour [this message]
2021-11-08  2:54     ` Reza Nikoopour

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='CAKesZq3UKLB8AAQzO0AqHOHC6wx=dRX3UKYdEXa73RT9deR_dA@mail.gmail.com' \
    --to=rnikoopour@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.