Closed hazen2215 closed 9 months ago
Why? If it was up to me I would delete all the aliases. These ones are particularly useless in my view.
Also only 3 lines of code were added. The rest will be deleted after 0.9 is released.
Noticed the deprecation message of 'show-eof' option when using vis on master branch because I have vis:command('set show-eof off')
on my visrc.lua.
Until most distros update vis to 0.9 and I can finally use vis.options.xxx, I'm stuck with :set command and seeing such message every time is quite annoying
Also I haven't see config breaking change like this on vis other than scintilua update, but that only broke local lexers and syncing visrc.lua among different versions of vis had previously no problems.
If you are seeing that message you can use the supported name instead.
Also I haven't see config breaking change like this on vis other than scintilua update
Hence why it is being marked as deprecated and supported for a release. Those options were added before vis had a lua interface and so the names were chosen without support for lua in mind.
OK I found the plugin (https://github.com/milhnl/vis-options-backport) backporting vis.options to older versions that addresses renaming problem. So if the maintainers want to I'm ok with closing this PR since the solution is found. But also I'd like to hear others' opinion if consistency is good reason for deprecation and opinion about deprecating something that's been around for some time.
also quote https://github.com/martanne/vis/issues/1001#issuecomment-1116369265
It will be a very slow, careful process. We don't want to make things worse, and we don't have the intricate knowledge of the internals that martanne had. Please do be patient as we learn the ropes.
But also I'd like to hear others' opinion if consistency is good reason for deprecation and opinion about deprecating something that's been around for some time.
vis is hardly a household name. I'd say break everything while you can and don't even bother with deprecation notices.
Whether vis is "hardly" household name with 4K stars is debatable but vis is certainly well known to people who prefer simplicity or "suckless" or "KISS" or whatever Lately vis is getting lots of commits by incorporating many old PRs since new maintainers are added and while getting the bugs fixed is nice I've seen some projects start making many breaking changes after BDFL(s) disappearance/handover (like anything.el/helm) and I'm concerned about vis going that way.
Lately vis is getting lots of commits by incorporating many old PRs since new maintainers are added and while getting the bugs fixed is nice I've seen some projects start making many breaking changes after BDFL(s) disappearance/handover (like anything.el/helm) and I'm concerned about vis going that way.
Quite certainly we will make changes which martanne would not make, for one, we don’t have a crystal ball to read his mind. However, there are some reasons I don’t expect any radical changes in the direction different from what vis does right now:
+1 to what @mcepl is saying
Since vis no longer has a "BDFL" the review and application of patches has taken more of a community driven approach. If you are concerned about the direction vis is going feel free to make your opinion heard about any patches here or on the mailing list. Any commits that are not minor are given some amount of time to sit and give people a chance to comment. That includes major commits by me (the lua option patch sat around for around a month before I applied it). I have been applying bug fixes and minor things at a faster rate but they are still being filtered.
In any case this pull request doesn't fix any of this so I think it should be closed. I don't think keeping such an alias around because "thats how it used to be" is a good programming practice.
Changing option names is understandable because it may be useful for writing lua plugins but deprecating old names and adding new codes to detect deprecated options seems unnecessary to me. vis supports alternative option names and the second commit of this pr just adds old names to alternatives.
I will squash two commits if desired.