New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

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

Comments

Projects
None yet
3 participants
@vanschelven

vanschelven commented May 19, 2011

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

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra May 19, 2011

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

Owner

chrisbra commented May 19, 2011

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

This comment has been minimized.

Show comment
Hide comment
@vanschelven

vanschelven May 19, 2011

Hi Christian,

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

regards,
Klaas

vanschelven commented May 19, 2011

Hi Christian,

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

regards,
Klaas

@chrisbra

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra May 21, 2011

Owner

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

Owner

chrisbra commented May 21, 2011

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

@vanschelven

This comment has been minimized.

Show comment
Hide comment
@vanschelven

vanschelven May 21, 2011

It indeed seems to fix the problem. Much appreciated!

vanschelven commented May 21, 2011

It indeed seems to fix the problem. Much appreciated!

@MarioRicalde

This comment has been minimized.

Show comment
Hide comment
@MarioRicalde

MarioRicalde Mar 5, 2014

Contributor

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)    
Contributor

MarioRicalde commented Mar 5, 2014

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

This comment has been minimized.

Show comment
Hide comment
@chrisbra

chrisbra Mar 6, 2014

Owner

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.

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

This comment has been minimized.

Show comment
Hide comment
@MarioRicalde

MarioRicalde Mar 7, 2014

Contributor

Fixed again!

Thanks!

Contributor

MarioRicalde commented Mar 7, 2014

Fixed again!

Thanks!

chrisbra pushed a commit that referenced this issue Jan 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment