Hi Tony, 2018-10-5(Fri) 11:52:47 UTC+9 Tony Mechelynck: > On Fri, Oct 5, 2018 at 4:19 AM h_east wrote: > > > > Hi Bram, > > > > By default, 'm' is not contained in 'formatoptions', so automatic wrapping > > not work when multi-byte characters are continuously input. > > Of course, I should set it up with my .vimrc, but I saw some people in > > trouble with this case. > > I am very happy if you can include an attached patch. > > I think this change does not affect non-multi-byte-inputting people. > > In UTF-8, anything above U+007F is multibyte, and Cyrillic, Greek, > Hebrew, Arabic, IPA, or some "extra" Latin glyphs such as the French œ > (oe) ligature, are not only multibyte but also above U+00FF i.e. above > 255. Adding m would allow breaking Cyrillic, Greek, Hebrew or Arabic > anywhere in the middle of a word, and such common French words as > "bœuf" (ox or beef), "œil" (eye), "clin d'œil" (wink), "œuf" (egg), > "jaune d'œuf" (yolk), "sœur" (sister), etc. immediately before or > after the œ. Similarly, adding M would IIUC glue together any > Cyrillic, Greek, Hebrew or Arabic words, as well as French words the > second of which starts in œ as in "un œil" (an eye) or "un œuf" (an > egg). This is definitely unwanted and breaks upwards compatibility. > Adding mM to 'formatoptions' should IMHO be restricted to files in CJK > scripts, and since it is buffer-local it could very well be set in the > modelines of said files. *Please* do NOT make fo+=mM the Vim default.
Ah, I understand. Thank you for explaining in detail. -- Best regards, Hirohito Higashi (h_east) -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.