[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: indentation - always a pita
From: |
Harry Putnam |
Subject: |
Re: indentation - always a pita |
Date: |
Wed, 25 Jun 2003 21:13:13 -0700 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
kai.grossjohann@gmx.net (Kai Großjohann) writes:
> Harry Putnam <reader@newsguy.com> writes:
>
>> 1) Put the two lines you suggest as sole entries in lisp.el then start
>> a fresh emacs. (emacs -q -no-site-file -bg midnightblue -l ./lisp.el -l
>> ./vi-list.el)
>> (vi-list.el is some plaguerized code that allows one to display a
>> buffer as if vi's `list' command had been run on it. (showing
>> ^I = tab $= newline)
>
> Hm. When you are editing the shell script snippet, does C-h v say
> that the two variables have the right values?
Yup, they check out. The only noticable change is that the tabs are
missing.
C-h v <ret> sh-indentation <ret>
sh-indentation's value is 2
C-h v <ret> indent-tabs-mode <ret>
indent-tabs-mode's value is nil
Automatically becomes buffer-local when set in any fashion.
I thought I remembered this being a big pita and I guess it is...
Actual formatted sample with those vars in place:
======================================
if [ ];then
if [ ];then
case $opt in
t) cmd
lf [ ];then
cmd
fi
;;
h) cmd
if [ ];then
case $otheropt in
a) cmd
if [ ];then
cmd
fi
;;
b) cmd
::
esac
fi
esac
if [];then
cmd
ii
fi
fi
- indentation - always a pita, Harry Putnam, 2003/06/24
- Re: indentation - always a pita, Kai Großjohann, 2003/06/25
- Re: indentation - always a pita, Harry Putnam, 2003/06/25
- Re: indentation - always a pita, Harry Putnam, 2003/06/25
- Re: indentation - always a pita, Kai Großjohann, 2003/06/25
- Re: indentation - always a pita,
Harry Putnam <=
- Message not available
- Re: indentation - always a pita, Jens Schmidt, 2003/06/26
- Re: indentation - always a pita, Harry Putnam, 2003/06/26
- Re: indentation - always a pita, Harry Putnam, 2003/06/26
- Message not available
- Re: indentation - always a pita, Jens Schmidt, 2003/06/27
- Re: indentation - always a pita, Harry Putnam, 2003/06/27