[BUG] org-comment-dwim comments some chars in the unselected line below

2024-10-01 Thread Steven Lin
Hi. I found that commit 1014296344a75fa08e0a8814e4fbbd767e7eba4c brought some bugs. Step to reproduce (In vanilla Emacs, with latest org-mode): 1. Set these variables. (setq org-src-content-indentation 4) (setq org-src-preserve-indentation nil) 2. Try to comment some lines in a source block. F

Re: [BUG] org-comment-dwim does not work with temporary Transient Mark mode [9.7-pre (release_9.6.10-902-g41ff56 @ /home/jschmidt/work/org-mode/lisp/)]

2024-10-01 Thread Steven Lin
I found that current bugfix (commit 1014296344a75fa08e0a8814e4fbbd767e7eba4c) brought new bugs. Step to reproduce: 1. Set these variables. (setq org-src-content-indentation 4) (setq org-src-preserve-indentation nil) 2. Try to comment some lines in a source block. For example, line foo and b