Hirohito Higashi wrote:

> 2014-11-24(Mon) 7:28:36 UTC+9 Bram Moolenaar:
> > Hirohito Higashi wrote:
> > 
> > > 2014/11/23(Sun) 0:03:33 UTC+9 Bram Moolenaar:
> > > > Hirohito Higashi wrote:
> > > > 
> > > > > 2014/11/22(Sat) 11:08:53 UTC+9 h_east:
> > > > > > Hi Bram and All,
> > > > > > 
> > > > > > 2014/11/22(Sat) 7:02:29 UTC+9 Bram Moolenaar:
> > > > > > > Yasuhiro Matsumoto wrote:
> > > > > > > 
> > > > > > > > > Then the behavior would be:
> > > > > > > > >       vim -o a.txt b.txt c.txt
> > > > > > > > >       [make a change in each window]
> > > > > > > > >       :hide  (hides a.txt, still modified)
> > > > > > > > >       :q!    (removes modified flag from b.txt, only see 
> > > > > > > > > c.txt now)
> > > > > > > > >       :q!    (removes modified flag from c.txt, error, 
> > > > > > > > > switches to a.txt)
> > > > > > > > >       :q!    (exits)
> > > > > > > > 
> > > > > > > > https://gist.github.com/0dcb7a098130ed8682b6
> > > > > > > > 
> > > > > > > > This patch should work as above.
> > > > > > > 
> > > > > > > Thanks!  I'll check it out.
> > > > > > 
> > > > > > I came up with a better way.
> > > > > > Please wait a few hour.
> > > > > 
> > > > > I attach a patch. (Contains a document patch)
> > > > > Please check this.
> > > > 
> > > > Thanks.  Since this is basic functionality, it would be nice to have a
> > > > test for ":q!".
> > > 
> > > I added a test for ":q!".
> > > Update a patch.
> > > I checked test is OK, when patched. and checked fail, when non patched.
> > > Please check this.
> > 
> > Thanks!
> 
> I update a patch for 7.4.972
> 
> This patch can be found in the todo list.
> todo> ":q!" should reset modified flag for current buffer, if another buffer 
> is
> todo> modified no need to abandon it again.
> todo> Patch from Yasuhiro Matsumoto, 2014 Nov 21.
> todo> Update from Hirohito Higashi, 2014 Nov 21.
> todo> With test, Nov 23.

Thanks. I'll move it up in the todo list.

-- 
ARTHUR: Right! Knights! Forward!
   ARTHUR leads a charge toward the castle.  Various shots of them battling on,
   despite being hit by a variety of farm animals.
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui