Emacs is displaying Unicode LINE SEPARATOR and PARAGRAPH SEPARATOR (PS) as rectangle. PS also does not end a paragraph. How can I make emacs treat these characters properly?

  • What happens if you customize user option paragraph-separate to be a regexp string that matches just character PS? As its doc says, "(If you change this, you may have to change ‘paragraph-start’ also.)"
    – Drew
    Jan 4 at 21:29
  • I have changed those but I dont know how to check whether it works. I have also changed bidi-paragraph-separate-re and bidi-paragraph-start-re to various values and it does work, except when I set it to unicode values (including PS).
    – user_
    Jan 4 at 23:17
  • For unicode values I tried with these patterns. "^\2029", "^\\2029", "^∈" and literal PS "^<PS>". None of which seems to work.
    – user_
    Jan 4 at 23:24
  • If you want to specify non-ASCII characters in a regex, you need to either enter it literally or use one of the Unicode escape syntaxes, eg '\u2029'
    – rpluim
    Jan 7 at 11:51


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.