From: Christoph Arenz <tiga.arenz@web.de>
To: 43587@debbugs.gnu.org
Subject: bug#43587: 27.1; Org is breaking links
Date: Thu, 24 Sep 2020 12:23:17 +0200 [thread overview]
Message-ID: <7e243d01-6d98-bda3-94bf-c0841a32f4ac@web.de> (raw)
[-- Attachment #1: Type: text/plain, Size: 1352 bytes --]
Org-mode is sometimes breaking links while adjusting indentation in
org-fixup-indentation.
This has been observed on emacs version 27.1, with org-mode versions 9.3
(built-in) and 9.4 (melpa-stable).
It also occurs with the current emacs development version.
Here is how to recreate. I hope my mailer does not screw up the lines
below...
Enter the following text in an org buffer and proceed as described:
* Org is breaking links!
Create a heading with `*' and random heading text.
Create a text section below the heading.
In the text section create a separate line starting with a link, like so:
[[simple-link]]
[[http://a.b.com/demo.html][link text]]
Switch on whitespace-mode to see what is going on.
Indent the heading deeper (i.e. demote) with several `M-<right>'
until the text starts with a TAB instead of SPCs.
Then outdent the heading back (i.e. promote) with `M-<left>'.
See the links getting corrupted as the two leftmost brackets `[[' are
removed, in case of links with a target part, this also gets removed.
Note that his behavior also affects org-refile: Links can get can get
corrupted in this way while refiling.
Note that links do not get broken as described when showing full
links with org-toggle-link-display.
Thanks for your help,
Kind Regards,
Christoph
[-- Attachment #2: Type: text/html, Size: 1899 bytes --]
next reply other threads:[~2020-09-24 10:23 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-09-24 10:23 Christoph Arenz [this message]
2020-09-29 15:56 ` bug#43587: move-to-column behaves differently when text has invisible property Christoph Arenz
2020-09-29 16:22 ` Eli Zaretskii
[not found] ` <f6f19f79-702b-9e98-b297-234a7b2d9f20@web.de>
2020-09-29 16:50 ` Eli Zaretskii
2020-09-29 19:00 ` Eli Zaretskii
2020-09-30 14:35 ` Eli Zaretskii
2020-10-06 16:01 ` Christoph Arenz
2020-10-06 16:11 ` Eli Zaretskii
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7e243d01-6d98-bda3-94bf-c0841a32f4ac@web.de \
--to=tiga.arenz@web.de \
--cc=43587@debbugs.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 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.