Jérémie Roquet wrote:

> 2009/10/28 Bram Moolenaar <[email protected]>:
> >> It adds "space" in the allowed "listchars" arguments.
> > I'm confused.  It appears the "space" character is both used to display
> > instead of a space character when 'list' is on, and to find this
> > character after the end of the line and replace it with "trail".
> > To me these are two unrelated things.
> 
> You are right. This was because spaces were already replaced at that
> point, making the replacement with "trail" impossible.
> But it leads to side effects if the "space replacement" character is
> actually used in the edited file.
> 
> Here is a new patch without this annoying side-effect.
> 
> > I'm not sure how useful it is to show something instead of a space.
> > Isn't it obvious that there is a space when there is nothing?
> 
> Sometimes it's not : I'm using a visible character for the first
> column of tabs, but an invisible one for the remaining columns.
> So cases where a tab is followed by a space are not that obvious.
> And as Steve pointed out, double spaces are not always obvious either.
> 
> 2009/10/29 Steve Hall <[email protected]>
> > Bram, I can't speak for the author, but I'd like this feature to make
> > it easy to visualize:
> > * other non-printing characters that look like dec 032
> > * double spaces
> > * spaces after chars at window edges with wrap on
> > * every char as a byte
> 
> As for now, only the ' ' character is displayed, but it'd easy to
> support more.

Well, I might consider including this.  Can you write a patch for the
documentation as well?

-- 
TALL KNIGHT: When you have found the shrubbery, then you must cut down the
             mightiest tree in the forest ... with a herring.
                 "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/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

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

Raspunde prin e-mail lui