0

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?

Drew
  • 75,699
  • 9
  • 109
  • 225
user_
  • 1
  • 1
  • 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 04 '23 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 04 '23 at 23:17
  • For unicode values I tried with these patterns. `"^\2029"`, `"^\\2029"`, `"^∈"` and literal PS `"^"`. None of which seems to work. – user_ Jan 04 '23 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 07 '23 at 11:51

0 Answers0