Mark Lundquist, 19.07.2008:
>
> However, I have lowbrow colleagues who would not even know the
> difference between an empty line and a blank line and for whom it
> would be (really) a lot of trouble to try to keep all their blank
> lines empty, so I can't really even try to make them do it. Sometimes
> I would edit a file they've worked on and do this (in annoyance!):
I had a similar experience this week. I used a blank line to separate blocks
of code in a Makefile and a colleague replaced them with more visible lines of
comments:
#
#-----------------
#
I think I have to revert it :)
> So... I just checked out the Vim source code, and added this option:
>
> :set wspara
>
> and now... happiness! I can now '{' and '}' through their non-empty
> blank lines just as though they were empty.
>
> Here's the patch, I hope y'all will commit it:
Your patch is malformed.
- wrapped long line
- tabs are spaces
- wrong line numbers (why? I'm on svn revision 1114, too)
To have the chance to get the feature included at all, please read :help
design-documented
Consider these files:
runtime/doc/quickref.txt (:h option-list)
runtime/doc/tags (not sure if necessary)
runtime/doc/options.txt (:h option-summary)
runtime/doc/motion.txt (:h paragraph)
runtime/syntax/vim.vim (search for vimOptions)
runtime/optwin.vim
I stumbled over ap and ip at the text-objects (:h ap), where lines with
whitespace are also handled as a paragraph boundary. Isn't this a little bit
inconsistent with } and { and the description at :h paragraph?
While replying to this mail, I noticed that it would be useful to define own
paragraph boundaries, not only an option for whitespace. I use Gvim as
external editor for KMail and want to delete some paragraphs of quoted text
from Mark, but the > quote sign forbids it. I saw 'paragraphs' in the help,
but I think that's a bit of another thing. Or is it already possible with this
option?
Markus
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---