[Xastir-dev] Editor header in source files

Tom Russo russo at bogodyn.org
Tue Apr 30 10:10:26 PDT 2019


On Tue, Apr 30, 2019 at 11:20:59AM -0500, we recorded a bogon-computron collision of the <kg4wsv at gmail.com> flavor, containing:
> I haven't seen this before, but it does make my emacs behave differently
> (the file had 2 space tabs, this made it do 4) and does nothing to vi.

Four character indents are the Xastir coding standard.

http://xastir.org/index.php/HowTo:Developer_Guidelines_and_Notes

I personally hate it, but that's what this project has always required.

> On Tue, Apr 30, 2019 at 11:06 AM Curt Mills <curt.we7u at gmail.com> wrote:
> 
> > I see this header in _some_ of our source files:
> >
> >     /* -*- c-basic-offset: 4; indent-tabs-mode: nil -*-
> >
> > Is that for VI -and- Emacs, or just one of them? I use Vim.
> >
> > I've noticed while editing files in the last couple of weeks that my tab is
> > not 4 chars sometimes. I have to manually space to indent properly.
> >
> > I thought at one point we needed two headers in our files, one for Emacs
> > and one for VI. I didn't scan all the files but I saw a bunch of files with
> > no header and a bunch with the header above.
> >
> > --
> > Curt, WE7U        http://we7u.wetnet.net
> > http://www.sarguydigital.com
> > _______________________________________________
> > Xastir-dev mailing list
> > Xastir-dev at lists.xastir.org
> > http://xastir.org/mailman/listinfo/xastir-dev
> >
> 
> 
> -- 
> -Jason
> kg4wsv
> _______________________________________________
> Xastir-dev mailing list
> Xastir-dev at lists.xastir.org
> http://xastir.org/mailman/listinfo/xastir-dev

-- 
Tom Russo    KM5VY
Tijeras, NM  

 echo "prpv_a'rfg_cnf_har_cvcr" | sed -e 's/_/ /g' | tr [a-m][n-z] [n-z][a-m]



More information about the Xastir-dev mailing list