🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #121870

Re: [slrn] & [gvim]

#121870
From: Andrew Preater
Date: Sat, 15 Mar 2003 12:11
44 lines
3093 bytes
* SINNER <99nesorjd@gates_of_hell.INVALID>:
> Andrew Preater was overheard plotting:
>> Interestingly, if I reply using Vim then articles aren't
>> syntax-colored as `mail'-type files.  I have to something like
>> this:
> 
> Hmm, mine is, not by quote level, but definatley synaticly colored
> for instance, any line started with From <----appears green.

Snap, looks like: http://www.preater.f9.co.uk/snapshot/vim-mail.png
Syntax highlighting set for dark backgrounds.

> I had similar strangeness. For a long time files would not open
> where I left them, slrnrc was notorius for this, then one day,
> without warning, everything worked again...

Yes!  It still works as it used to in Debian woody, and I don't know
what's changed since then.  I haven't done anything special to my
vimrc, slrnrc, or global vimrc.  I have installed a Mandrake security
update for Vim, but that's all, and anyway that was after this
behaviour started happening.  In the global vimrc:

" Enable file type detection.
  " Use the default filetype settings, so that mail gets 'tw' set to 72,
  " 'cindent' is on in C files, etc.
  " Also load indent files, to automatically do language-dependent indenting.
  filetype plugin indent on

  " For all text files set 'textwidth' to 78 characters.
  autocmd FileType text setlocal textwidth=78

Pretty sure this is the default that comes with Vim.  So I shouldn't
have to do anything special -- Vim should "know" what mail / news
articles are, and set tw to 72.  Strangly enough, for text files the
tw _isn't_ set to 78 by default -- and I haven't changed anything in
my ~/.vimrc.

But I'm willing to bet I've done something stupid (and simple) that's
messed things up.  One morning I will wake up and go "By jove, I've
got it!" and the mystery will be solved. :)

-- 
Andrew Preater
Technical Details
Message-ID: <slrnb7664b.7of.usenet@preater.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!shale.ftech.net!news.ftech.net!landlord!stones.force9.net.POSTED!not-for-mail
References: <jn8ca.9888$EA6.1654566@newsfep2-win.server.ntli.net> <b4r6pj.19s.1@davidbreach.co.uk> <WV9ca.10094$EA6.1667149@newsfep2-win.server.ntli.net> <9mp7k-4o4.ln1@news.gates_of_hell.INVALID> <slrnb743c3.8g0.usenet@preater.com> <dakak-8h2.ln1@news.gates_of_hell.INVALID>

Show Full Headers
Complete Article Headers
Message-ID: <slrnb7664b.7of.usenet@preater.com>
Subject: Re: [slrn] & [gvim]
Date: Sat, 15 Mar 2003 12:11:55 +0000
From: Andrew Preater <usenet@preater.com>
References: <jn8ca.9888$EA6.1654566@newsfep2-win.server.ntli.net> <b4r6pj.19s.1@davidbreach.co.uk> <WV9ca.10094$EA6.1667149@newsfep2-win.server.ntli.net> <9mp7k-4o4.ln1@news.gates_of_hell.INVALID> <slrnb743c3.8g0.usenet@preater.com> <dakak-8h2.ln1@news.gates_of_hell.INVALID>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!kibo.news.demon.net!demon!shale.ftech.net!news.ftech.net!landlord!stones.force9.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: AOLM slrn Brotherhood
Mail-Copies-To: nobody
X-Editor: Vim 6.1 http://www.vim.org
User-Agent: slrn/0.9.7.4 (GNU/Linux)
Lines: 43
NNTP-Posting-Host: 212.56.65.190
X-Complaints-To: abuse@plus.net.uk
X-Trace: stones.force9.net 1047730354 212.56.65.190 (Sat, 15 Mar 2003 12:12:34 GMT)
NNTP-Posting-Date: Sat, 15 Mar 2003 12:12:34 GMT