[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
org-indent-mode makes set-goal-column behave surprising
From: |
Martin Edström |
Subject: |
org-indent-mode makes set-goal-column behave surprising |
Date: |
Mon, 29 Jul 2024 12:52:55 +0200 (CEST) |
Hello, pinging back on two old emails that seem related:
https://lists.gnu.org/archive/html/emacs-orgmode/2008-01/msg00030.html
https://lists.gnu.org/archive/html/emacs-orgmode/2011-05/msg00654.html
A bug that can be reproduced on Emacs -Q:
- Open an org file that has subtrees at various levels
- Do M-x org-indent-mode RET
- Go forward a few chars inside a line, then do M-x set-goal-column RET RET
- Now move up and down lines. You'll see that it does not stick to any sensible
"goal column".
I myself rely on this technique (set-goal-column), for example to edit the
start of each list item in a list, without having to navigate to beginning of
line again on each item. But it only works if there are no headings (or
org-indent-mode is disabled).
- org-indent-mode makes set-goal-column behave surprising,
Martin Edström <=