[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug: Fill-paragraph with pretty link at linebreak [9.4.4 (release_9.4.4
From: |
Nathan Shostek |
Subject: |
Bug: Fill-paragraph with pretty link at linebreak [9.4.4 (release_9.4.4 @/usr/share/emacs/27.2/lisp/org/)] |
Date: |
Mon, 13 Sep 2021 10:36:18 +0000 |
Remember to cover the basics, that is, what you expected to happen and
what in fact did happen. You don't know how to make a good report? See
https://orgmode.org/manual/Feedback.html#Feedback
Your bug report will be posted to the Org mailing list.
------------------------------------------------------------------------
Hello,
Ive found a bug with (org-)fill-paragraph when pretty links are enabled
(ie calling org-toggle-link-display works around this, but its
undesirable for me to have full link text). When links are "prettified"
(i am uncertain what the actual terminology is, but when the link itself
is hidden and only the description text is shown) calling fill paragraph
will cause there to be new lines (as reported by the (line, col)
indicator in the mode line) but there will be no rendered
newline/linebreak if the linebreak begins within the link portion of a
link. This happens with multiple configurations as well as with `emacs
-Q`.
I looked through the first several pages of search results to try and
find a related bug (and hopefully a fix) but didnt find anything.
Expected:
What I expect to happen is that calling fill-paragraph will insert
newlines at or before the fill column, and that they will be rendered.
Observed:
What seems to happen is that calling fill-paragraph inserts newlines but
they aren't rendered. After calling fill-paragraph a pretty link begins
at line 28 column 67, and moving forward one character moves me to line
29 column 1, however this is not rendered on a new line. Moving
backwards a character brings me to the same graphical point as line 28
column 67 but i am instead at line 29 column 0. fill-column is 70.
Thanks,
Nathan
PS: Here is the raw text that causes this issue, from a report for an
obligatory informatics course. I have removed all line breaks from the
text to allow those who wish to call fill-paragraph on it after placing
the text into an org buffer. I can also send images if its desired.
* Introduction
This report shall describe the initial obligatory assignment for ~INF 1100~.
The [[comparing values][comparison of values]], [[display of a
triangle][displaying of a triangle]], [[determination of prime
factors][determination of prime factors]], [[range of numbers][outputting of a
range of numbers]], [[The determining of the most significant
bit][determination of the most significant bit]], and the [[The in-place
reversal of a string][reversal of a string]] shall be implemented. We assume
that this will be compiled and run on
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bug: Fill-paragraph with pretty link at linebreak [9.4.4 (release_9.4.4 @/usr/share/emacs/27.2/lisp/org/)],
Nathan Shostek <=