On Mo, 11 Jun 2018, Bram Moolenaar wrote:
> > Ken Takata wrote: > > > 2018/6/11 Mon 8:11:18 UTC+9 Takuya Fujiwara wrote: > > > 2018年6月11日(月) 3:01 Bram Moolenaar <[email protected]>: > > > > > > Takuya Fujiwara wrote: > > > > > > > > If I don't misunderstand, it seems has('win95') always returns 0 (no > > > > > entry at f_eval() in evalfunc.c). > > > > > But it remains in feature-list. > > > > > I created a patch to remove the line. > > > > > > > > I think we can keep the line, since the feature did exist at some point, > > > > but add a remark that this will always be False. > > > > > > hmm, "win16" also did exist but it was removed from feature-list. > > > so I thought this also should be removed. > > > > If we keep "win95" in the feature-list, we should restore not only "win16" > > but also "dos16", "dos32" and "os2", I think. > > We don't need to keep old feature names listed forever, just the ones > where a user might wonder what the name is for. E.g. when it is found > in an (old) plugin. So it's rather arbitrary which ones we keep. > Perhaps "dos32" is still relevant? "win16" and "dos16" are really old > and stopped working quite a while ago. Not sure if the following is relevant or contributes to this discussion, but here is what came up when searching github: has("win95"): 38,393 results https://github.com/search?l=Vim+script&q=has%28%22win95%22%29+language%3A%22Vim+script%22&type=Code has("win16"): 70,269 results https://github.com/search?l=Vim+script&q=has(%22win16%22)+language%3A%22Vim+script%22&type=Code has("dos32"): 8,484 results https://github.com/search?l=Vim+script&q=has(%22dos32%22)+language%3A%22Vim+script%22&type=Code has("dos16"): 8,279 results https://github.com/search?l=Vim+script&q=has%28%22dos16%22%29+language%3A%22Vim+script%22&type=Code has("os2"): 5,780 results https://github.com/search?q=has%28%22os2%22%29+language%3A%22Vim+script%22&type=Code Best, Christian -- Die einzige Voraussetzung für den Triumph des Bösen ist, daß gute Menschen nichts tun. -- Edmund Burke -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
