[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-comment-dwim comments some chars in the unselected line be
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-comment-dwim comments some chars in the unselected line below |
Date: |
Sat, 12 Oct 2024 08:55:23 +0000 |
Stephanus Comnenus <linjt267@gmail.com> writes:
> 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. For example, line 1
> and 2.
>
> #+begin_src emacs-lisp
> (setq foo 1)
> (setq bar 2)
> (setq buz 3)
> #+end_src
> ...
> Got:
>
> #+begin_src emacs-lisp
> ;; (setq foo 1)
> ;; (setq bar 2)
> ;; (setq bu
> z 3)
> #+end_src
Thanks for reporting!
Fixed, on bugfix.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=19d462e7a7
--
Ihor Radchenko // yantar92,
Org mode contributor,
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>