emacs-devel
[Top][All Lists]
Advanced

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

Re: shell-script indenting of &&, |


From: Stefan Monnier
Subject: Re: shell-script indenting of &&, |
Date: Wed, 27 Feb 2008 10:51:27 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> RMS told me to send this here.
>> In shell-script mode, shouldn't lines 2, 3, and 4 be somewhat indented?
>> 1 who
>> 2 k=/cf && mountpoint -q $k/ && cd $k &&
>> 3 find *norblewitz -mtime -1 -type f ! -name \*~|
>> 4 cpio -vo|gzip > /var/tmp/cfBAK.`date +%u`.gz
>> 5 mailq

> Line 2 must not, as it's top level IMO.

> As `&&' may be considered as if-then form, I would
> welcome indentation for lines 3 and 4.

> Respective following ||

Agreed.  Patches welcome,


        Stefan




reply via email to

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