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

2007-07-16 Thread Johan Walles
Thanks for the quick turnaround. You guys rock. 2007/7/16, Stefan Monnier <[EMAIL PROTECTED]>: > 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

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

2007-07-16 Thread Stefan Monnier
> 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-forma

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

2007-07-16 Thread Johan Walles
Additional info: After typing in the whole script, you may have to type a space at the end of the "echo" line to trigger the lost-getting. 2007/7/16, Johan Walles <[EMAIL PROTECTED]>: In GNU Emacs 23.0.0.1 (i486-pc-linux-gnu, GTK+ Version 2.10.11) of 2007-07-06 on helios Windowing system distri