unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#43587: 27.1; Org is breaking links
@ 2020-09-24 10:23 Christoph Arenz
  2020-09-29 15:56 ` bug#43587: move-to-column behaves differently when text has invisible property Christoph Arenz
  0 siblings, 1 reply; 8+ messages in thread
From: Christoph Arenz @ 2020-09-24 10:23 UTC (permalink / raw)
  To: 43587

[-- 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 --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2020-10-06 16:11 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-09-24 10:23 bug#43587: 27.1; Org is breaking links Christoph Arenz
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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).