unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#51899: Odd highlighting in compilation mode
@ 2021-11-16 17:13 積丹尼 Dan Jacobson
  2021-11-16 21:31 ` Kévin Le Gouguec
  0 siblings, 1 reply; 4+ messages in thread
From: 積丹尼 Dan Jacobson @ 2021-11-16 17:13 UTC (permalink / raw)
  To: 51899

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

Save and open the attached file with emacs -Q.
You will see:
One $m is highlighted, the others and $i etc. aren't.
"/tmp/$(basename" is highlighted.


[-- Attachment #2: test file --]
[-- Type: application/octet-stream, Size: 589 bytes --]

-*- mode: compilation; default-directory: "~/" -*-
Compilation started at Wed Nov 17 01:06:26

make -n
mountpoint -q /cf/
set -xe; m=/cf/versions-$(hostname);\
if test $m -nt /var/lib/dpkg/status && test \
$m -nt /var/lib/aptitude/pkgstates; then exit; fi;\
apt-show-versions | grep -v 'not installed$' > /tmp/VERsions;\
test -s /tmp/VERsions;\
sort -o $m /tmp/VERsions || { echo try again as root first; false;}
: ${k?}
for i in /cf/versions-jidanni[]; do sed 's/:.*//' $i | sort -o /tmp/$(basename $i); done;\
comm -3 /tmp/versions-jidanni[]

Compilation finished at Wed Nov 17 01:06:26

[-- Attachment #3: Type: text/plain, Size: 92 bytes --]


I have no opinions on what should be highlighted. Just be consistent.
emacs-version "27.1"

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

end of thread, other threads:[~2021-11-17  8:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-16 17:13 bug#51899: Odd highlighting in compilation mode 積丹尼 Dan Jacobson
2021-11-16 21:31 ` Kévin Le Gouguec
2021-11-16 21:39   ` Kévin Le Gouguec
2021-11-17  8:09   ` Lars Ingebrigtsen

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).