[Top][All Lists]

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

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

From: Stefan Monnier
Subject: Re: shell-script-mode gets lost in small repro
Date: Mon, 16 Jul 2007 12:01:09 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

> 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,


reply via email to

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