Web lists-archives.com

Re: [Mingw-users] Internal compiler error with custom specs file

On 5/25/2017 1:34 PM, Keith Marshall wrote:
> On 25/05/17 16:35, John Brown wrote:
>> Unfortunately [these] spaces (before a LF character) are not visible
>> in vim.  Consider a file <LF><SPACE><LF>.  Vim will tell you that it
>> has 2 lines and 3 characters when you open it.  If you move the cursor
>> to the start of the 2nd line (where the space is), vim will not let
>> you move the cursor to the right,
> Yes, it will, provided you switch it into insert mode; however...
>> leading you (or maybe just me) to believe that nothing is there.
> ...I do agree that they can be difficult to spot.  Mercurial's "diff"
> function, (with colour view enabled), makes them VERY visible; (maybe
> git offers some similar capability ... since I don't use it, I don't
> know).  It may be useful, in vim, to invoke:
>   :%s,[<SPACE><TAB>]*$,,

:set list


> (where <SPACE> and <TAB> represent the named characters), before you
> ultimately save any file.
>> The space *is* there, above the cursor.  WordPad, Notepad++, emacs
>> and no doubt most other editors let you move to the right in that
>> situation.
> AFAIK, each of those editors is non-modal in behaviour; when you move
> the cursor to the right, you are already in the equivalent of vim's
> insert mode.


Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
MinGW-users mailing list

This list observes the Etiquette found at
We ask that you be polite and do the same.  Disregard for the list etiquette may cause your account to be moderated.

You may change your MinGW Account Options or unsubscribe at:
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe