emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug on regex parsing breaks syntax highlighting on SRC block
@ 2020-10-09 16:10 rey-coyrehourcq
  0 siblings, 0 replies; only message in thread
From: rey-coyrehourcq @ 2020-10-09 16:10 UTC (permalink / raw)
  To: Org-mode

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

Hi,

I found that this specific line break syntax highlighting in org v9.4 : 

#+BEGIN_SRC nix
systemd.user.sessionVariables.NIX_PATH = lib.mkForce "nixpkgs=$HOME/nixpkgs\${NIX_PATH:+:}$NIX_PATH";
#+END_SRC

I suppose this is a bug localized on regex parsing, removing backslash here "\${NIX_PATH:+:}" repair the problem


Best regards,
-- 


Sébastien Rey-Coyrehourcq
Research Engineer UMR IDEES
02.35.14.69.30

{Stronger security for your email, follow EFF tutorial : https://ssd.eff.org/}



[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-09 16:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-10-09 16:10 bug on regex parsing breaks syntax highlighting on SRC block rey-coyrehourcq

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

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).