2015-08-07 1:11 GMT+03:00 John Little <[email protected]>: > On Thursday, August 6, 2015 at 10:54:07 PM UTC+12, olaf wrote: > >> No reason given why a dot should be part of a word. > > The Korn shell, ksh, has a syntax using dots; some kind of vaguely OO > attributes. > > $ x=bob > $ x.y=carol > > A lot of ksh-isms found their way into POSIX, but not this one I think. Does > anyone still use ksh?
I do not think that *any* fact deserves adding *any* character to the &iskeyword option. The problem is not that some software thinks that identifiers may contain certain characters. The problem is that when I do dw with cursor on x I *expect* it to delete x *everywhere*. It is absolutely not fun remembering that “fucking sh *syntax* (not even filetype!) file messes up my keybindings so that `w` now moves over a dot, fucking erlang syntax file adds dollar and at signs there, …”. Too many information and messing with &iskeyword really makes `w` (and other based on the word definition) movement not predictable in any new filetype. Do not remember where I suggested this, but I think that &iskeyword value should be saved before sourcing syntax files and then restored after sourcing. And :syntax should remember effective &iskeyword value, so that a) syntax files work and b) user settings are untouched. --- And I use ksh, to test that some of my or another person’s scripts are truly portable. But not as a shell. > > Regards, John Little > > -- > -- > You received this message from the "vim_use" 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_use" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- -- You received this message from the "vim_use" 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_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
