Saluton everybody :)

On 2009/5/13, Raúl Núñez de Arenas Coronado  <[email protected]> dixit:
> The details: you have a badly flowing paragraph and want to reflow it
> to fit nicely in the current textwidth. That produces a new layout of
> the words in the paragraph. Once it is properly reflowed, issuing
> "gqap" again on the same paragraph shouldn't change the current
> layout, since it is already reflowed. The problem is that the
> algorithm produces a new layout. No line is longer than textwidth, so
> the algorithm thinks the layout is correct. If you use "gqap" again,
> the previous layout is generated. Each time you use "gqap" (after the
> first time, of course) the algorithm switches between those two
> layouts.

Just in case it is important, I was using "gqip" and not "gqap". I'm not
going to change the subject to avoid further confusion. For the
documentation, ip and ap should work similar. "ap" selects the empty
line following the paragraph, "ip" doesn't, which means that "ip" is
"safer" in this issue, since it won't try to reflow the empty line the
first time :?

Sorry for the self-reply.

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to