Skip to content
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

Can't force close buffer #75

Open
alexanderkyte opened this issue Oct 22, 2014 · 4 comments
Open

Can't force close buffer #75

alexanderkyte opened this issue Oct 22, 2014 · 4 comments

Comments

@alexanderkyte
Copy link

If I've got multiple buffers open, the second that I open an org file I lose the ability to :q! out of all of my
buffers. I'm simply told

"No write since last change."

And it switches to the next buffer. :q!-ing this one, moves back to the org buffer. This continues ad infinitum.

In the case that I don't want to save progress, this requires making a new terminal session and sending a sigterm to vim.

@hsitz
Copy link
Owner

hsitz commented Oct 22, 2014

Alexander --

I can't reproduce this behavior. q! works fine for me, in non-org buffer
and in org buffer, regardless of whether edits have been made. Can you
give me a more detailed set of steps to reproduce?

-- Herb

On Wed, Oct 22, 2014 at 7:09 AM, Alexander Kyte notifications@github.com
wrote:

If I've got multiple buffers open, the second that I open an org file I
lose the ability to :q! out of all of my
buffers. I'm simply told

"No write since last change."

And it switches to the next buffer. :q!-ing this one, moves back to the
org buffer. This continues ad infinitum.

In the case that I don't want to save progress, this requires making a new
terminal session and sending a sigterm to vim.


Reply to this email directly or view it on GitHub
#75.

@hsitz
Copy link
Owner

hsitz commented Oct 22, 2014

Also, could you check whether the :qall! command works for you in situation
where you're getting this error? -- Herb

On Wed, Oct 22, 2014 at 7:52 AM, Herbert Sitz hesitz@gmail.com wrote:

Alexander --

I can't reproduce this behavior. q! works fine for me, in non-org buffer
and in org buffer, regardless of whether edits have been made. Can you
give me a more detailed set of steps to reproduce?

-- Herb

On Wed, Oct 22, 2014 at 7:09 AM, Alexander Kyte notifications@github.com
wrote:

If I've got multiple buffers open, the second that I open an org file I
lose the ability to :q! out of all of my
buffers. I'm simply told

"No write since last change."

And it switches to the next buffer. :q!-ing this one, moves back to the
org buffer. This continues ad infinitum.

In the case that I don't want to save progress, this requires making a
new terminal session and sending a sigterm to vim.


Reply to this email directly or view it on GitHub
#75.

@alexanderkyte
Copy link
Author

:qall! works perfectly. I'm sure what's the difference between the two.
Hooks?

And to reproduce, open up an org buffer and another one, edit both, and
then :q!, :q!, :q!, :q! until you're convinced it's stuck in a cycle.

On Wed, Oct 22, 2014 at 11:03 AM, hsitz notifications@github.com wrote:

Also, could you check whether the :qall! command works for you in
situation
where you're getting this error? -- Herb

On Wed, Oct 22, 2014 at 7:52 AM, Herbert Sitz hesitz@gmail.com wrote:

Alexander --

I can't reproduce this behavior. q! works fine for me, in non-org buffer
and in org buffer, regardless of whether edits have been made. Can you
give me a more detailed set of steps to reproduce?

-- Herb

On Wed, Oct 22, 2014 at 7:09 AM, Alexander Kyte <
notifications@github.com>
wrote:

If I've got multiple buffers open, the second that I open an org file I
lose the ability to :q! out of all of my
buffers. I'm simply told

"No write since last change."

And it switches to the next buffer. :q!-ing this one, moves back to the
org buffer. This continues ad infinitum.

In the case that I don't want to save progress, this requires making a
new terminal session and sending a sigterm to vim.


Reply to this email directly or view it on GitHub
#75.


Reply to this email directly or view it on GitHub
#75 (comment).

@hsitz
Copy link
Owner

hsitz commented Oct 23, 2014

On Thu, Oct 23, 2014 at 5:51 AM, Alexander Kyte notifications@github.com
wrote:

:qall! works perfectly. I'm sure what's the difference between the two.
Hooks?

And to reproduce, open up an org buffer and another one, edit both, and
then :q!, :q!, :q!, :q! until you're convinced it's stuck in a cycle.

I do see this behavior, but it doesn't seem tied to there being an org file
in the mix. it does the same thing for me with two sample .txt files.

I assume it's tied to the behavior of q! that will not quit all if last
file in list has unsaved changes. For more info see ':h :q'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants