ljos/sparql-mode

Make keyword highlighting case-insensitive

candera opened this issue · 1 comments

Background

Currently, sparql-mode highights keywords such as SELECT and WHERE only if they appear in all caps. Although this is how they appear in the examples in SPARQL specification, the language itself is case-insensitive, and at least one person has suggested that they should be highlighted regardless of case.

Acceptance Criteria

  • Keywords are highlighted regardless of case

I'm not totally sure how I feel about this one. I sort of like the idea that sparql-mode would encourage writing queries in a canonical way, in which I believe keywords are uppercased. And the rationale I heard for using lower case is that it would be consistent with the XML serialization of the query language. But I don't know that the two need to agree: they're obviously different in other ways.

I'm tempted to park this one unless I hear from more people asking for it, or unless someone has a stronger argument for it.