Moving the Narrow Region to a separate tab makes it unsavable #2

Closed
vanschelven opened this Issue May 19, 2011 · 7 comments

Projects

None yet

3 participants

@vanschelven

If I create a narrow region with :NR and then separate that region out to a new tab with

^w T

and then try to save that narrow region with

:wq

I get the message:

NarrowRegion: Original buffer does no longer exist! Aborting!

This happens for me on version 0.17 (since 0.18 is marked as an experiment)

@chrisbra
Owner

On Thu, May 19, 2011 2:00 pm, vanschelven wrote:

If I create a narrow region with :NR and then separate that region out to
a new tab with

^w T

I get the message:

NarrowRegion: Original buffer does no longer exist! Aborting!

This happens for me on version 0.17 (since 0.18 is marked as an
experiment)

Thanks for letting me know. I see the problem and will make a fix for it.

I am currently busy right now, but I hope to get this fixed next week.

regards,
Christian

@vanschelven

Hi Christian,

That should be quick enough... I just started using the plugin today.
Your work is very much appreciated.

regards,
Klaas

@chrisbra
Owner

Please check the current version. That should fix your issue and work with tabs correctly.

@vanschelven

It indeed seems to fix the problem. Much appreciated!

@MarioRicalde

Seems like this issue has somehow resurfaced, :w works fine, but when doing :q I'm getting this error:

Error detected while processing function <SNR>279_WriteNrrwRgn:
line   19:
E121: Undefined variable: b:orig_buf
E116: Invalid arguments for function bufwinnr(b:orig_buf)
E15: Invalid expression: bufwinnr(b:orig_buf)    
@chrisbra
Owner
chrisbra commented Mar 6, 2014

Hi Mario!

On Mi, 05 Mär 2014, Mario Ricalde wrote:

Seems like this issue has somehow resurfaced, :w works fine, but when doing :q I'm getting this error:

Error detected while processing function <SNR>279_WriteNrrwRgn:
line   19:
E121: Undefined variable: b:orig_buf
E116: Invalid arguments for function bufwinnr(b:orig_buf)
E15: Invalid expression: bufwinnr(b:orig_buf)    

Thanks for noticing. I think I fixed it again. Please test.

Best,

Christian

Wenn du nicht hast, was du liebst, dann mußt du lieben, was du hast.

@MarioRicalde

Fixed again!

Thanks!

@chrisbra chrisbra pushed a commit that referenced this issue Jan 23, 2015
@bling bling fixes #2 4c51377
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment