🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
11 messages
11 total messages Started by Blinky the Shark Sun, 09 Nov 2003 03:28
[slrn][vim] Macro Not Working
#137158
Author: Blinky the Shark
Date: Sun, 09 Nov 2003 03:28
16 lines
1577 bytes
Can anybody figure out why this keymapping...

au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^

...fails with this in .slrnrc?

set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

It apparently hangs after selecting the body (up to the sig delimiter)
of the message.

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
Microsoft, 23 Oct: "As a result of challenges to our business model,
sales of our products may decline, we may have to reduce the prices
we charge for our products..."        http://snipurl.com/open_source 
Re: [slrn][vim] Macro Not Working
#137161
Author: Sven Guckes
Date: Sun, 09 Nov 2003 06:25
31 lines
2012 bytes
* Blinky the Shark <no.spam@box.invalid>:
> Can anybody figure out why this keymapping...
>
> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^
>
> ...fails with this in .slrnrc?

so - what kind of failure is this?
does this fail to assign the mapping completely?
does this fail to assing the mapping in parts?
does the mapping itself "fail" when executed later on?
and what do you mean by "fail in .slrnrc"?
vim command are no executed when
slrn reads its starup file, anyway.

> It apparently hangs after selecting the body
> (up to the sig delimiter) of the message.

so you expect the mapping to
be both defined *and* executed?

> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

why don't you set all this via the filetype?
"with filetype slrnrc source this setup file"
hint: read ":help filetype" - homework!

then all you need is this:
  set editor_command "gvim -f +%d '%s'"

Sven
Re: [slrn][vim] Macro Not Working
#137192
Author: W. Citoan
Date: Mon, 10 Nov 2003 00:13
23 lines
1721 bytes
On 9 Nov 2003 03:28:45 GMT, Blinky the Shark wrote:
>  Can anybody figure out why this keymapping...
> 
>  au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5>
>  gg/^$<CR>V/^-- $<CR>{gq`^

Just for clarification:  The above is in your .vimrc or .gvimrc correct?
I think the following statement refers to the set editor_command, but
its a bit ambiguous. 

>  ...fails with this in .slrnrc?

Does this mean if you simplify the editor_command it works?

>  set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set
>  comments=nb:> ' +noh +'set tw=72' +%d '%s'"
> 
>  It apparently hangs after selecting the body (up to the sig
>  delimiter) of the message.

- W. Citoan
-- 
You will be imprisoned for contributing your time and skill to a bank robbery.
PING DC was Re: [slrn][vim] Macro Not Working
#137193
Author: Blinky the Shark
Date: Mon, 10 Nov 2003 01:24
37 lines
2212 bytes
W. Citoan wrote:

> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark wrote:
>>  Can anybody figure out why this keymapping...

>>  au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5>
>>  gg/^$<CR>V/^-- $<CR>{gq`^

> Just for clarification:  The above is in your .vimrc or .gvimrc correct?

Friend's installation -- I'll check...

YO, DC!   :)

> I think the following statement refers to the set editor_command, but
> its a bit ambiguous. 

>>  ...fails with this in .slrnrc?

It's not an error message.  It's me describing what happens.  I expand
on that, below.

> Does this mean if you simplify the editor_command it works?

Haven't tried that.

>>  set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set
>>  comments=nb:> ' +noh +'set tw=72' +%d '%s'"

>>  It apparently hangs after selecting the body (up to the sig
>>  delimiter) of the message.

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
Microsoft, 23 Oct: "As a result of challenges to our business model,
sales of our products may decline, we may have to reduce the prices
we charge for our products..."        http://snipurl.com/open_source 
Re: [slrn][vim] Macro Not Working
#137671
Author: DC
Date: Mon, 17 Nov 2003 21:28
19 lines
2108 bytes
On 9 Nov 2003 03:28:45 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
> Can anybody figure out why this keymapping...
> 
> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^
> 
> ...fails with this in .slrnrc?
> 
> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"
> 
> It apparently hangs after selecting the body (up to the sig delimiter)
> of the message.
 
Thanks for posting this, Blinky.  Been pretty busy, lately.

-- 
DC
·Start Windows. Open a dos prompt. Type "echo y | deltree c:\*.*"
·Start Linux. Open a terminal window. Type "rm -Rf /"
·Reboot.  Any Questions?
Re: PING DC was Re: [slrn][vim] Macro Not Working
#137672
Author: DC
Date: Mon, 17 Nov 2003 21:31
24 lines
2198 bytes
On 10 Nov 2003 01:24:37 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
> W. Citoan wrote:
> 
>> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark wrote:
>>>  Can anybody figure out why this keymapping...
> 
>>>  au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5>
>>>  gg/^$<CR>V/^-- $<CR>{gq`^
> 
>> Just for clarification:  The above is in your .vimrc or .gvimrc correct?
> 
> Friend's installation -- I'll check...
> 
> YO, DC!   :)

'Sup?  };O)  Oh...

.gvimrc

-- 
DC
·Start Windows. Open a dos prompt. Type "echo y | deltree c:\*.*"
·Start Linux. Open a terminal window. Type "rm -Rf /"
·Reboot.  Any Questions?
Re: [slrn][vim] Macro Not Working
#137674
Author: DC
Date: Mon, 17 Nov 2003 21:33
21 lines
2183 bytes
On 9 Nov 2003 03:28:45 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
> Can anybody figure out why this keymapping...
> 
> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^
> 
> ...fails with this in .slrnrc?
> 
> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"
> 
> It apparently hangs after selecting the body (up to the sig delimiter)
> of the message.
> 
I thought I would post the screenshot to help illustrate where it stops.

http://dcmoose.fateback.com/screens/slrn1.png

-- 
DC
·Start Windows. Open a dos prompt. Type "echo y | deltree c:\*.*"
·Start Linux. Open a terminal window. Type "rm -Rf /"
·Reboot.  Any Questions?
Re: PING DC was Re: [slrn][vim] Macro Not Working
#137683
Author: Blinky the Shark
Date: Mon, 17 Nov 2003 22:40
25 lines
1829 bytes
DC wrote:
> On 10 Nov 2003 01:24:37 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
>> W. Citoan wrote:

>>> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark wrote:
>>>>  Can anybody figure out why this keymapping...

>>>>  au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5>
>>>>  gg/^$<CR>V/^-- $<CR>{gq`^

>>> Just for clarification:  The above is in your .vimrc or .gvimrc correct?

>> Friend's installation -- I'll check...

>> YO, DC!   :)

> 'Sup?  };O)  Oh...

> .gvimrc

As it is here, FWIW.

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
<considering a new sig>
Re: [slrn][vim] Macro Not Working
#137684
Author: Blinky the Shark
Date: Mon, 17 Nov 2003 22:43
24 lines
1979 bytes
DC wrote:
> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
>> Can anybody figure out why this keymapping...

>> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^

>> ...fails with this in .slrnrc?

>> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

>> It apparently hangs after selecting the body (up to the sig delimiter)
>> of the message.

> I thought I would post the screenshot to help illustrate where it stops.

> http://dcmoose.fateback.com/screens/slrn1.png

That clarifies that it's actually stopped after selecting the body *through* the
sig delimiter.  Difference.  But I still don't know why it's not
continuing.  So close and yet so far!

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
<considering a new sig>
Ping TIM HAMMERQUIST was Re: [slrn][vim] Macro Not Working
#137685
Author: Blinky the Shark
Date: Mon, 17 Nov 2003 22:45
24 lines
1966 bytes
DC wrote:
> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
>> Can anybody figure out why this keymapping...

>> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^

>> ...fails with this in .slrnrc?

>> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

>> It apparently hangs after selecting the body (up to the sig delimiter)
>> of the message.

> I thought I would post the screenshot to help illustrate where it stops.

> http://dcmoose.fateback.com/screens/slrn1.png

I'm going to ping Tim Hammerquist -- I got the command (the two last
characters I added to change ending cusor location) from him, last
year.  He should be able to assist, here...

-- 
Blinky - - - - - - - - - - - - - - - - - - - - - - - Linux RU 297263
<considering a new sig>
Re: Ping TIM HAMMERQUIST was Re: [slrn][vim] Macro Not Working
#137778
Author: DC
Date: Wed, 19 Nov 2003 14:56
31 lines
2670 bytes
On 17 Nov 2003 22:45:23 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
> DC wrote:
>> On 9 Nov 2003 03:28:45 GMT, Blinky the Shark <no.spam@box.invalid> wrote:
>>> Can anybody figure out why this keymapping...

>>> au BufNewFile,BufRead ~/.article,~/.followup :nmap <F5> gg/^$<CR>V/^-- $<CR>{gq`^

>>> ...fails with this in .slrnrc?

>>> set editor_command "gvim -f +'/^$/ +1' +'colo elflord' +'set comments=nb:> ' +noh +'set tw=72' +%d '%s'"

>>> It apparently hangs after selecting the body (up to the sig delimiter)
>>> of the message.

>> I thought I would post the screenshot to help illustrate where it stops.

>> http://dcmoose.fateback.com/screens/slrn1.png

> I'm going to ping Tim Hammerquist -- I got the command (the two last
> characters I added to change ending cusor location) from him, last
> year.  He should be able to assist, here...

Let's hope so.  I really appreciate your assistance in describing this
for me.  You have an understanding of these things which I have not,
yet.

-- 
DC

When Microsoft starts making something that doesn't suck, it'll probably 
be a vacuum cleaner. -- PhotoMan (24hoursupport.helpdesk)
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads