Raoul Comninos <revr...@mweb.co.za> writes: > However, to re-invoke `org-comment-dwim` one has to then reselect the > text. Is this by design?
This is a standard behavior of Emacs's `comment-dwim'. Org mode follows that default. > It would be helpful if selection remains as in this sample code, which > could be better implemented I am sure: > ... Maybe. Or not. Depends on preferences. Some users do not like keeping selection. If you want this feature, you can add support of `org-edit-keep-region' to `org-comment-dwim'. -- Ihor Radchenko // yantar92, Org mode maintainer, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>