Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-12 Thread Ihor Radchenko
Denis Bitouzé via "General discussions about Org-mode." writes: > Le 11/03/25 à 18h41, Ihor Radchenko a écrit : > >> I believe that this has been fixed on main branch. > > Seems to work pretty well: many thanks! > > Do you know when it will become available by package-install? Next major release

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-12 Thread General discussions about Org-mode.
Le 11/03/25 à 18h41, Ihor Radchenko a écrit : > I believe that this has been fixed on main branch. Seems to work pretty well: many thanks! Do you know when it will become available by package-install? -- Denis

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-11 Thread Ihor Radchenko
Denis Bitouzé via "General discussions about Org-mode." writes: > Since Emacs 30.1, commenting lines in code blocs does not work > correctly. As an example, run: > > emacs -Q test.org > > where test.org has the following content > > --8<---cut he

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-11 Thread General discussions about Org-mode.
Le 06/03/25 à 09h05, Denis Bitouzé via "General discussions about Org-mode." a écrit : > With the cursor at the end of the 2nd line ("Exclusive or.") of: > > #+BEGIN_SRC emacs-lisp > (defun org-xor (a b) > "Exclusive or." > (if a (not b) b)) > #+END_SRC > > > the result with comment-line

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-06 Thread General discussions about Org-mode.
Le 05/03/25 à 21h49, David Masterson a écrit : > Denis Bitouzé via "General discussions about Org-mode." > writes: > >> Le 04/03/25 à 10h48, David Masterson a écrit : >> >>> 2. When you select the region, where is the cursor? >> >> Let me answer this question first: in my above experiment, the c

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-05 Thread David Masterson
Denis Bitouzé via "General discussions about Org-mode." writes: > Le 04/03/25 à 10h48, David Masterson a écrit : > >> 2. When you select the region, where is the cursor? > > Let me answer this question first: in my above experiment, the cursor is > at the very beginning of the 4th line. > >> 1.

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread General discussions about Org-mode.
Le 04/03/25 à 10h48, David Masterson a écrit : > 2. When you select the region, where is the cursor? Let me answer this question first: in my above experiment, the cursor is at the very beginning of the 4th line. > 1. What's the difference between comment-region and comment-line? - With the cu

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread David Masterson
Denis Bitouzé via "General discussions about Org-mode." writes: > * Context > > - GNU Emacs 30.1 > - Org mode version 9.7.11 > > * Problem > > Since Emacs 30.1, commenting lines in code blocs does not work > correctly. As an example, run: > > e

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread Rens Oliemans
I see slightly different but still weird behaviour. When selecting the entirety of lines 2 and 3, and run M-x comment-region, I get this: #+BEGIN_SRC emacs-lisp ;; (defun org-xor (a b) ;; "Exclusive or." ;; ( if a (not b) b)) #+END_SRC Versions: GNU Emacs 29.4 (build 1, x86_64-pc-linux-

Re: Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread Michal Politowski
Dnia Tue, 4 Mar 2025 11:28:42 +0100, Denis Bitouzé via General discussions about Org-mode. napisał(a): > Hi, > > * Context > > - GNU Emacs 30.1 > - Org mode version 9.7.11 > > * Problem > > Since Emacs 30.1, commenting lines in code blocs does not work &

Since Emacs 30.1, commenting lines in code blocs does not work correctly

2025-03-04 Thread General discussions about Org-mode.
Hi, * Context - GNU Emacs 30.1 - Org mode version 9.7.11 * Problem Since Emacs 30.1, commenting lines in code blocs does not work correctly. As an example, run: emacs -Q test.org where test.org has the following content --8<---cut here---start