[Libreoffice] Easy Hacks "remove all the bogus comments lying around"
David Tardon
dtardon at redhat.com
Tue Oct 5 22:14:09 PDT 2010
On Wed, Oct 06, 2010 at 12:04:01AM +0200, Miklos Vajna wrote:
> On Tue, Oct 05, 2010 at 11:24:46AM +0100, Caolán McNamara <caolanm at redhat.com> wrote:
> > For vim
> >
> > set tabstop=4 shiftwidth=4 expandtab
> >
> > is good IMO.
> >
> > FWIW in sw/source/filter/ww8/* long ago I added
> >
> > /* vi:set tabstop=4 shiftwidth=4 expandtab: */
> >
> > to the end of all source files. I wonder about tweaking all our source
> > files to include emacs/vim/etc formatting directives
>
> Not to question what you say, but is tabstop really necessary? If we
> have no tabs in the code, I think that part can be avoided.
>
> Thanks.
It's always set anyway, with default value 8. It just defines how tab
stops are placed (at every fourth character, in Caolán's example). With
expandtab, no real tab character inserted if you hit Tab key--it's
converted to appropriate number of spaces. See :help 'et' and :help 'ts'
for details.
D.
More information about the LibreOffice
mailing list