emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-script-mode gets lost in small repro


From: Johan Walles
Subject: Re: shell-script-mode gets lost in small repro
Date: Mon, 16 Jul 2007 20:04:32 +0200

Thanks for the quick turnaround.  You guys rock.

2007/7/16, Stefan Monnier <address@hidden>:
> Type the following in a buffer in shell-script-mode:

> #!/bin/bash
> while false ; do
>    echo "server $(hostname), $(date)" |
>    mail -s "Alert: Almost out of disk space $usep%" $ADMIN
> done

> Note that shell-script-mode gets lost at the "mail" line, thinking it
> is some kind of pre-formatted text.  Really obvious in font-lock-mode,
> or if you try to indent the "mail" line using TAB.

> Removing $(date) from the line before works around the problem.

Thanks, it should be fixed in the CVS trunk now,


        Stefan





reply via email to

[Prev in Thread] Current Thread [Next in Thread]