emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Martin Edström" <meedstrom@runbox.eu>
To: "emacs-orgmode" <emacs-orgmode@gnu.org>
Subject: org-indent-mode makes set-goal-column behave surprising
Date: Mon, 29 Jul 2024 12:52:55 +0200 (CEST)	[thread overview]
Message-ID: <E1sYNzr-0004UE-97@rmmprod07.runbox> (raw)

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).


             reply	other threads:[~2024-07-29 10:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-07-29 10:52 Martin Edström [this message]
2024-08-02 13:25 ` org-indent-mode makes set-goal-column behave surprising Martin Edström
  -- strict thread matches above, loose matches on Subject: below --
2024-07-28  9:48 Martin Edström

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1sYNzr-0004UE-97@rmmprod07.runbox \
    --to=meedstrom@runbox.eu \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).