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/
_______________________________________________ emacs-pretest-bug mailing list [email protected] http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug
