M-a & M-e recognizes paragraphs as sentences reddit / emacs ---------------------------------------------------------------------- raskolnikov_104 · 2022-08-26 18:12 Hi, I am new to Emacs. When writing Bangla in org-mode, I change the input method to bengali-probhat. But after that, the org document recognizes the paragraphs as sentences, that is - if I press M-a, the cursor moves to the beginning of the paragraph, & M-e takes me to the end of the paragraph, instead of moving by sentences. Is there any way to configure it? ---------------------------------------------------------------------- jalihal · 2022-08-26 19:40 Typically M-e `forward-sentence` "knows" sentences based on the regexp stored in `sentence-end`, set to nil by default. Since M-e has the expected behavior using bengali-itrans but not in bengali-probhat, I figured the problem was that the bengali/devanagari sentence ending "।" was not being recognized. Setting the following variable helped: `(setq sentence-end "\\(.।\\)")` Let me know if this works for you! ---------------------------------------------------------------------- _viz_ · 2022-08-27 02:10 This is worth sending it as a feature request. Emacs already supports the sentence mark used by Chinese and Japanese iirc. ---------------------------------------------------------------------- raskolnikov_104 · 2022-08-27 07:20 It worked. Thank you very much!