[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: font-lock confused in sh-script-mode
From: |
Reiner Steib |
Subject: |
Re: font-lock confused in sh-script-mode |
Date: |
Fri, 28 Jul 2006 17:51:59 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Thu, Jul 27 2006, Reiner Steib wrote:
> On Wed, Jul 26 2006, Reiner Steib wrote:
>
>> It seems like the unbalanced backquote in the comment «# force `ro» in
>> combination with the two «echo "... \\"» confused font-lock.
>
> Another example:
And yet another...
sh-font-lock-10.png
Description: PNG image
function abbrev2newsgroup
{
# eval grep -e `echo "$i"|sed -e 's|.|&[^.]*\\\\.|g;s|^|^|'`
/var/spool/news/leaf.node/groupinfo
eval grep -e "`echo "$@"|sed -e 's|.|&[^.]*[.]|g;s|^|^|'`"
/var/spool/news/leaf.node/groupinfo
}
function cd_newsgroup
{
eval cd /var/spool/news/"$(echo "$@"|tr . /)"
}
In all three example, the commented line was *not* completely ignored
for the fontification of the rest of the buffer.
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/