Skip to content

Conversation

gracjan
Copy link
Contributor

@gracjan gracjan commented Feb 17, 2015

Emacs defines 'w' class as word chars and '_' as set that together with
'w' can form identifiers. Note that by this operators in programming
languages fall under punctuation '.' class and are treated as such by
for example c-mode, java-mode, etc.

It is confusing that characters defined in Haskell Report as 'symbol'
are NOT the same as 'symbol' character class defined in Emacs.

Fixes #311.

@gracjan
Copy link
Contributor Author

gracjan commented Feb 25, 2015

@purcell?

Emacs defines 'w' class as word chars and '_' as set that together with
'w' can form identifiers. Note that by this operators in programming
languages fall under punctuation '.' class and are treated as such by
for example c-mode, java-mode, etc.

It is confusing that characters defined in Haskell Report as 'symbol'
are NOT the same as 'symbol' character class defined in Emacs.
purcell added a commit that referenced this pull request Feb 26, 2015
Put Haskell symbol chars in punctuation char class.
@purcell purcell merged commit b428472 into haskell:master Feb 26, 2015
@purcell
Copy link
Member

purcell commented Feb 26, 2015

Let's give this a go... :-)

@mattraibert
Copy link

Thanks for working on this!

@gracjan
Copy link
Contributor Author

gracjan commented Mar 2, 2015

You are welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

symbol includes trailing @ sign in as-patterns
3 participants