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:

--8<---------------cut here---------------start------------->8---
#!/bin/sh
echo 'Running  $Id: quotas.sh,v 1.16 2006/01/03 14:17:31 ste Exp $'

allusers=`
ypcat passwd | awk -F: '{ if ($3 > 99) printf ("%10s %30s %14s\n", $1, $6, 
$7);}' |
while read user home shell; do
  if [ -d "$home" -a -x "$shell" -a "$shell" != /bin/false ]; then
    echo "$user "
  fi
done
`

dev_home=/dev/data/home
dev_Disks=/dev/data/scratch
dev_mail=/dev/data/mail

  q_huge="500000  700000 $inodes  $dev_home"
 q_large="250000  500000 $inodes  $dev_home"
q_medium="100000  200000 $inodes  $dev_home"
 q_guest=" 50000  100000 $inodes  $dev_home"

exit 0
--8<---------------cut here---------------end--------------->8---

The line «q_guest=...» is not fontified like the three preceding
similar lines (the whole "..." expression is in
`font-lock-string-face').  See this screen shot:

PNG image


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

Reply via email to