[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
end-of-string not recognized in shell-script-mode
From: |
Marijn Schouten (hkBst) |
Subject: |
end-of-string not recognized in shell-script-mode |
Date: |
Wed, 15 Aug 2007 12:13:23 +0200 |
User-agent: |
Thunderbird 2.0.0.6 (X11/20070802) |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi list,
end-of-string is not always recognized in shell-script-mode. If you open the
following in emacs 22.1.50.1:
M="$(g 1)${t:$(e 2):1}"
DESCRIPTION="string"
then the last lines will be grey as if they are strings, and the string on
line 5 will be black instead of grey. If you remove the quotes from line 1:
M=$(g 1)${t:$(e 2):1}
DESCRIPTION="string"
then proper syntax highlighting is restored. Put the quotes back and it goes
wrong again.
- --
Marijn Schouten (hkBst), Gentoo Lisp project
http://www.gentoo.org/proj/en/lisp/, #gentoo-lisp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGwtHDp/VmCx0OL2wRAgmxAJ9MRhuh3y6U0RokA6CkwI7y8UBZZgCeNea5
aQhJpI1XJdNhh/eFgjdz8k4=
=fr7+
-----END PGP SIGNATURE-----
- end-of-string not recognized in shell-script-mode,
Marijn Schouten (hkBst) <=