* org-indent-mode makes set-goal-column behave surprising
@ 2024-07-28 9:48 Martin Edström
2024-09-23 18:06 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Martin Edström @ 2024-07-28 9:48 UTC (permalink / raw)
To: emacs-orgmode
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).
^ permalink raw reply [flat|nested] 5+ messages in thread
* org-indent-mode makes set-goal-column behave surprising
@ 2024-07-29 10:52 Martin Edström
2024-08-02 13:25 ` Martin Edström
0 siblings, 1 reply; 5+ messages in thread
From: Martin Edström @ 2024-07-29 10:52 UTC (permalink / raw)
To: emacs-orgmode
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).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-indent-mode makes set-goal-column behave surprising
2024-07-29 10:52 Martin Edström
@ 2024-08-02 13:25 ` Martin Edström
2024-09-23 18:04 ` Ihor Radchenko
0 siblings, 1 reply; 5+ messages in thread
From: Martin Edström @ 2024-08-02 13:25 UTC (permalink / raw)
To: Martin Edström; +Cc: emacs-orgmode
Sorry, I have to add a reproduction step: turn on M-x visual-line-mode.
Anyway, it's not an Org bug. Reported upstream: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72420
Martin Edstrom
On Mon, 29 Jul 2024 12:52:55 +0200 (CEST), "Martin Edström" <meedstrom@runbox.eu> wrote:
> 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).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-indent-mode makes set-goal-column behave surprising
2024-08-02 13:25 ` Martin Edström
@ 2024-09-23 18:04 ` Ihor Radchenko
0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-23 18:04 UTC (permalink / raw)
To: Martin Edström; +Cc: emacs-orgmode
"Martin Edström" <meedstrom@runbox.eu> writes:
> Sorry, I have to add a reproduction step: turn on M-x visual-line-mode.
>
> Anyway, it's not an Org bug. Reported upstream: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72420
The upstream bug has been fixed.
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-indent-mode makes set-goal-column behave surprising
2024-07-28 9:48 org-indent-mode makes set-goal-column behave surprising Martin Edström
@ 2024-09-23 18:06 ` Ihor Radchenko
0 siblings, 0 replies; 5+ messages in thread
From: Ihor Radchenko @ 2024-09-23 18:06 UTC (permalink / raw)
To: Martin Edström; +Cc: emacs-orgmode
"Martin Edström" <meedstrom@runbox.com> writes:
> 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:
> ...
Duplicate of https://list.orgmode.org/orgmode/E1sYNzr-0004UE-97@rmmprod07.runbox/
--
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>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2024-09-23 18:05 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-28 9:48 org-indent-mode makes set-goal-column behave surprising Martin Edström
2024-09-23 18:06 ` Ihor Radchenko
-- strict thread matches above, loose matches on Subject: below --
2024-07-29 10:52 Martin Edström
2024-08-02 13:25 ` Martin Edström
2024-09-23 18:04 ` Ihor Radchenko
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.