Red and Rebol have multiline strings that start with { and end with }. Reading through Elisp docs I don't see any simple way to define this in the syntax table. The string quotes class matches the same character only and the generic string delimiters class wouldn't work correctly either.

  • What are you looking to do? Smartparens will help with insertion/deletion/navigation, but it looks like you're also concerned with other behavior. – zck Feb 20 '16 at 23:56
  • The question was for making a major mode that correctly defines this as a string through the syntax table. As I looked through other language implementations I think the only option is to scan the text and use the generic string delimiter syntax class via the syntax-table text-property of the character. – xificurC Feb 22 '16 at 10:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.