Web lists-archives.com

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




-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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>]*$,,

(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.

- -- 
Regards,
Keith.

Public key available from keys.gnupg.net
Key fingerprint: C19E C018 1547 DE50 E1D4 8F53 C0AD 36C6 347E 5A3F
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)

iQIcBAEBAgAGBQJZJxWQAAoJEMCtNsY0flo/9/0P/RSjTibNIAWp8cOX6BSB2K5L
/CgF6Q5hKWnx3Y5d5MZjL9rciaxshiAF4mbT+1XRBBWLrdgROX+QegsiOr0QqwI9
v5X7aQn1PCfV3a603cgQX78comSDDDoX09Ih6XuWzoruJZG8M8FepLKCnTeUh/66
i94UqWTBmAA+yF1Od1xJXO4L+oBz9Qcm8Fmff/PlJ+iJhOiKeM+hJbngi9CpVME3
/tX6nKGWDGD8ZBe5dsVqi9sO/OZHPMVwGvi4WhIQX0QweSFGzj8B/0os2rRSuQRj
PNmix11HWvAlxaJ69rkNogEE5xe9j7Cd3VyB0f2tuZV6PNGOFK5uJsQ+w7GPtwPT
BaOFXqIVDtoNIyzyEUJP88UYspBx/PzmHtrkwd0vtvgIpiq4N0+x1RTwS7Q0wnwA
hAtDUhykjbjWeHSf2+QKUcU5OU4rO0hYBYkym4WPlZ/fRtkxn55I4M4gxij2Y4l3
K4i5bAuYNzexCSp4Jmfq21MMXKK4DnpWejX8sz5TBt+j8yFa/xeuAQR/YyR6OPGd
/QPCy3zklpLU/meJN26R/IGXGFQ+xG1ogYINEBNzIa91eEq88PA1AS9qbENLuORR
qi5yZmI9fH/s1q/djSOzpR8vzB88YXmV/3Kn8qbn66+9ysIQX4Kn83IjVqneq1Sr
0jl/5II26KT0BNdOlkds
=+jSL
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
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
MinGW-users@xxxxxxxxxxxxxxxxxxxxx

This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
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:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request@xxxxxxxxxxxxxxxxxxxxx?subject=unsubscribe