GNU bug report logs - #42417
Shell-script mode $() vs `` innards colors

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Sat, 18 Jul 2020 15:21:02 UTC

Severity: normal

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 42417 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 42417 <at> debbugs.gnu.org
Subject: Re: bug#42417: Shell-script mode $() vs `` innards colors
Date: Wed, 05 Aug 2020 11:36:15 +0200
積丹尼 Dan Jacobson <jidanni <at> jidanni.org> writes:

> $ cat e.sh
> x=`date +%Y`
> x=$(date +%Y)
> Shouldn't their colors look the same?

They should, and I've fixed it so your test case works better in Emacs
28.  However, this is done with regexps, so it's impossible to get it to
work completely correctly in the presence of nested expressions.

But it's better than before, at least, so I'm closing this bug report.

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




This bug report was last modified 4 years and 287 days ago.

Previous Next


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