Article View: news.software.readers
Article #138324Re: [slrn] using vim
From: Tobias Mummert
Date: Thu, 27 Nov 2003 08:56
Date: Thu, 27 Nov 2003 08:56
35 lines
2878 bytes
2878 bytes
Hi Mike,
* Mike Vanecek [2003-11-25 20:42 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?
> The autocommand says to watch for the event of starting to edit a new file or
> or starting to edit a new buffer, look for a file matching the /tmp/SLRN]
> pattern, and then process the options in vim.news. In that manner, slrn
> options can be kept separate from general edit options. Yes?
Yes, you are right. But consider, that this is a temporary file. When
you exit slrn/vim, it will be erased. Look at the statusline when you
are posting with vim. Is there a '/tmp/SLRN*' entry?
> My question with this however, is that when I look in the /tmp
> directory, it does not contain the SLRN file. Hence, that autocommand
> is not really doing anything? Am I missing something with the way slrn
> works?
Look at slrns 'use_tmdir' variable, it defaults to 0. Read the entry in
the slrn manual (6.137).
Best Regards,
Tobias
--
\\://
(o -)
---ooO-( )-Ooo---
Technical Details
Message-ID:
<slrnbsbf2h.342.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!news2.euro.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!ecngs!feeder.ecngs.de!newsfeed.stueberl.de!newsfeed.r-kom.de!news-nue1.dfn.de!newsserv.uni-bayreuth.de!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>Show Full Headers
Complete Article Headers
Message-ID: <slrnbsbf2h.342.teergrube@doczook.de> Subject: Re: [slrn] using vim Date: Thu, 27 Nov 2003 09:56:49 +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> 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!news2.euro.net!news.cambrium.nl!news.cambrium.nl!news.cambrium.nl!ecngs!feeder.ecngs.de!newsfeed.stueberl.de!newsfeed.r-kom.de!news-nue1.dfn.de!newsserv.uni-bayreuth.de!not-for-mail Newsgroups: news.software.readers Organization: Disorganized Lines: 35 Reply-To: nutznetz@doczook.de NNTP-Posting-Host: bttfn7.fbi.uni-bayreuth.de X-Trace: btr0x6.rz.uni-bayreuth.de 1069923220 14796 132.180.106.131 (27 Nov X-Complaints-To: abuse@Uni-Bayreuth.DE NNTP-Posting-Date: 27 Nov 2003 08:53:40 GMT 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)