[email protected]
[Top] [All Lists]

Re: Code editing feauture

Subject: Re: Code editing feauture
From:
Date: Mon, 21 Apr 2008 14:51:03 -0500 CDT
This is very interesting. I would like to be able to do this kind of 
indentation with .c and .h files in particular, for obvious reasons. 
However, when I try to follow the advice given below here is what I find 
in the indicated file, $HOME/.mc/cedit/edit.indent.rc

case `echo $1 |sed 's/^.*\.//'` in
     c|h)
     # ftp://ftp.gnu.org/pub/gnu/indent/
     # Please add options to your ~/.indent.pro, not here.
         indent "$2"

(and the "case" continues to other things...)

I cannot find any such file called .indent.pro

Therefore it is not altogether clear how to apply the advice. Is it 
possible to ask for further clarification?

Theodore Kilgore


On Sat, 19 Apr 2008, Michelle Konzack wrote:

> Am 2008-04-18 11:08:38, schrieb veejar:
>> Hello!
>>
>> How in MC text editor can I add one left tab-indent to selected text block?
> ------------------------ END OF REPLIED MESSAGE ------------------------
>
> ----[ '~/.mc/cedit/edit.indent.rc' ]----------------------------
> sed 's|^|  |g' $2 >$2.tmp && mv --force $2.tmp $2
> ----------------------------------------------------------------
>
>
> Thanks, Greetings and nice Day
>    Michelle Konzack
>    Systemadministrator
>    24V Electronic Engineer
>    Tamay Dogan Network
>    Debian GNU/Linux Consultant
>
>
> -- 
> Linux-User #280138 with the Linux Counter, http://counter.li.org/
> ##################### Debian GNU/Linux Consultant #####################
> Michelle Konzack   Apt. 917                  ICQ #328449886
> +49/177/9351947    50, rue de Soultz         MSN LinuxMichi
> +33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)
>
_______________________________________________
Mc mailing list
http://mail.gnome.org/mailman/listinfo/mc

<Prev in Thread] Current Thread [Next in Thread>