-
Notifications
You must be signed in to change notification settings - Fork 106
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 normal whitespace when reading EditorConfig settings file. #161
Comments
Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc. #161
Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc. #161
Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc. #161
Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc. #161
Allow normal whitespace when reading EditorConfig settings file Currently core-handle fails to parse files that contain whitespaces like line breaks, horizontal space, vertical space, etc. Fixes #161
Thanks for reporting! |
On Tue, May 8, 2018 at 12:52 PM, 10sr ***@***.***> wrote:
Thanks for reporting!
It should be fixed now, try new version 🙏
Thank you for making this change. I don't see a new version at
https://github.com/editorconfig/editorconfig-emacs/releases so I guess I
need to wait for that?
…--
Ben Finney
ThoughtWorks Australia
[email protected]
|
If you pull from melpa you should see an update in the next couple of hours. If you pull from melpa stable you'll need to wait for the next stable release... |
Thanks. What needs to be done before a new stable release of editorconfig-emacs then? |
Thanks. What needs to be done before a new stable release of
editorconfig-emacs then?
That's mainly whenever the maintainers feel that a stable and maintainable
point has been reached in development. You should be able to get it from melpa
unstable (by pinning the package) if you want to try out the unstable version.
|
I did not notice we have not had a release recently XP |
Text files can contain various normal whitespace (line breaks, horizontal space, vertical space, etc.) and remain compatible with the EditorConfig file format.
Here is an example file (rename to
.editorconfig
):example-editorconfig.txt
That file, named as
.editorconfig
, works correctly with most EditorConfig libraries, but fails with ‘editorconfig-emacs’:For reference, the EditorConfig file format details documentation says the format is based on Python's
configparser
format. Using Python, the same file parses correctly:Probably the correct way to resolve this is to allow any Unicode whitespace character (those with the
WSpace=Y
property) when reading the settings file.The text was updated successfully, but these errors were encountered: