Hi,

Ihor Radchenko writes:
I am still getting the described behaviour.
However, it does not happen in Org mode itself.
`fill-paragraph' in emacs-lisp-mode does exactly the observed behaviour.

Try
1. emacs -Q
2. insert
;; A comment
(+ 2 2)
3. M-h M-q

Is it emacs-lisp-mode bug? Or is it illegal to fill-region in source
code buffers?

I think the original report is about M-q, not M-h M-q. M-q behaves as expected in emacs-lisp-mode.

Currently, org-fill-paragraph will not work properly when called inside src blocks. This can be easily fixed, but probably requires yet another org-fill-paragraph-act-natively variable.

--
Sébastien Miquel


Reply via email to