Article View: news.software.readers
Article #138390Re: [slrn] using vim
From: Tobias Mummert
Date: Fri, 28 Nov 2003 17:12
Date: Fri, 28 Nov 2003 17:12
63 lines
3696 bytes
3696 bytes
Hi Mike, * Mike Vanecek [2003-11-27 15:52 GMT] wrote: >>> Note I am not using au BufNewFile,BufRead /tmp/SLRN[0-9A-Z.]* so >>> ~/.vim/vim.news. Since things appear to be working, I assume it is not needed? >>> I would like to understand why all this is happening. So, ... > >> Please make a test: Comment the whole autocommand line out by putting >> a `"` at the beginning of the line. Fire up slrn, make a post or >> a reply. Are the options in ~/.vim/vim.news applied? > > No, they are not. Fact is, that is the way I have been running. I changed tw > to tw=15 in vim.news and you can see that it is not taking effect. Ok, this means, that slrn doesn't use the /tmp directory, so this means BufNewFile,BufRead /tmp/SLRN[0-9A-Z.]* so ~/.vim/vim.news is not needed. > I have used root to do a find for slrn* after ^Z out of slrn. Nothing. The > only thing I see in /tmp is a file... whenever I do a spell check. Other than > that, nothing. > > The only file that contains the followup data is ~/.followup. > > The only file that contains post data is ~/.article (along with its swap file, > ~/.article.swp). > > No /tmp/SLRN at any time. Ok, all right. If you ever want to keep all your slrn related vim options in *one* file which is automatically sourced for postings, followups and replies, then use the line above. To do this, tell slrn the temporary directory you want to use: ,----[ .slrnrc ] | set use_tmpdir 1 `---- Now, the directory specified by '$TMP' will be used. If it is unset, '$TMPDIR' is tried. If both are unset, /tmp is used. You can specify your own tmpdir, let's say /home/user/tmp (you also can put this in your .bashrc, don't forget to source it 'source ~/.bashrc'): export TMP="/home/user/tmp" Confirm it with: echo $TMP Use the following line: BufNewFile,BufRead /home/user/tmp/SLRN[0-9A-Z.]* so ~/.vim/vim.news This should work. Best Regards, Tobias -- hundred-and-one symptoms of being an internet addict: 120. You ask a friend, "What's that big shiny thing?" He says, "It's the sun."
Technical Details
Message-ID:
<slrnbsf0fa.170.teergrube@doczook.de>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mailReferences:
<2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <gs3l81-jp7.ln1@news.invalid.99computer> <slrnbrhb5p.15c.teergrube@doczook.de> <bfd791-6td.ln1@news.invalid.99computer> <slrnbs6p2e.1rm.teergrube@doczook.de> <87rc91-pmv.ln1@news.invalid.99computer> <slrnbsbf2h.342.teergrube@doczook.de> <h0jh91-qqc.ln1@news.invalid.99computer>Show Full Headers
Complete Article Headers
Message-ID: <slrnbsf0fa.170.teergrube@doczook.de> Subject: Re: [slrn] using vim Date: Fri, 28 Nov 2003 18:12:10 +0100 From: Tobias Mummert <teergrube@phreaker.net> References: <2e44pb.oq3.ln@127.0.0.1> <slrnbrbpoa.26n.teergrube@doczook.de> <gs3l81-jp7.ln1@news.invalid.99computer> <slrnbrhb5p.15c.teergrube@doczook.de> <bfd791-6td.ln1@news.invalid.99computer> <slrnbs6p2e.1rm.teergrube@doczook.de> <87rc91-pmv.ln1@news.invalid.99computer> <slrnbsbf2h.342.teergrube@doczook.de> <h0jh91-qqc.ln1@news.invalid.99computer> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!internal1.nntp.ash.giganews.com!border2.nntp.ash.giganews.com!border1.nntp.ash.giganews.com!firehose2!nntp4!intern1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Newsgroups: news.software.readers Organization: Disorganized Lines: 63 Reply-To: nutznetz@doczook.de Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: news.t-online.com 1070040425 02 11980 AojWVGG6wc4VSm1o 031128 17:27:05 X-Complaints-To: usenet-abuse@t-online.de X-ID: ZR30WeZD8eP8CvbLvhI3FkgF9O2Gt3m16g7636loUsdze1fOlgJAsK X-GPG-Key: http://www.doczook.de/gnupg.asc X-GPG-Fingerprint: A76E BFA9 5253 7F95 9D41 004D EAE8 CED4 480A 7387 User-Agent: slrn/0.9.8.0 (Linux)