emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug: `org-fill-paragraph' relies on M-q being bound to `fill-paragra


From: Tim Cross
Subject: Re: Bug: `org-fill-paragraph' relies on M-q being bound to `fill-paragraph' [9.4.6 (9.4.6-12-gdcc3a8-elpa @ /home/mwj/.emacs.d/elpa/org-20210809/)]
Date: Mon, 16 Aug 2021 06:18:13 +1000
User-agent: mu4e 1.6.3; emacs 28.0.50

This seems not only wrong, but also dangerous. I don't think org should
make any assumptions about what is bound to a key, especially when
talking about a key binding which is not an org binding. Consider what
might occur if the user had rebound that key to something destructive. 

"Marvin J." <silbersplitter@googlemail.com> writes:

> If you globally rebind M-q, then `org-fill-paragraph' will not work
>
> properly anymore.
>
> The reason is that `org-fill-element' has the line
>
> (src-block (org-babel-do-key-sequence-in-edit-buffer (kbd "M-q")))
>
> While of course M-q is the default binding for `fill-paragraph', org
>
> should respect that the user might want to change keybindings.
>
> Emacs : GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 
> 3.24.30, cairo version 1.17.4)
>
> of 2021-08-13
>
> Package: Org mode version 9.4.6 (9.4.6-12-gdcc3a8-elpa @ 
> /home/mwj/.emacs.d/elpa/org-20210809/)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]