-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow older versions of perltidy to use newer .perltidyrc files #146
Comments
A scheme like this would have had to have been implemented long ago to be It would be possible to write a replacement script for the perltidy binary But if a new binary is going to be involved, a simpler thing to do on a system
The installed version of the |
Never too late to start :-). |
This seems like a pretty niche case. I don't think it's unreasonable to make this the end user's problem to solve. |
I've tentatively added an option to do this by filtering a config file as follows: I don't know if this will be very useful, since I don't anticipate adding many more |
Here I can use my .emacs file safely, no matter what version of emacs
I'm using.
It would be great if .perltidyrc had a similar mechanism,
so I could say e.g.,
to avoid causing
in the case I had used my newer .perltidyrc on a machine with an older perltidy.
Wait, https://www.perlmonks.org/?node_id=1165148 shows how to do it in
general in perl, so there could be something similar for .perltidyrc,
other than needing to have a different file for each different version
of perltidy.
Anyway, with my
--if-implemented-yet
, the user wouldn't even have to look up specific version numbers.The text was updated successfully, but these errors were encountered: