Q: How do I keep org-mode
link faces from bleeding over into the ...
selective display characters at the end of a folded header?
This is a visual tick that drives me a little nutty. When, in org-mode
, a link is the very last thing on a line, the link face bleeds over into the ...
that indicates that the header is folded up. If there is, say, a blank space after the link, there is no bleeding.
The screenshot I've posted demonstrates the issue. Line three is the problematic line with no characters between the end of the link and the end of line, while line four shows a link, followed by a space:
First of all, why does this happen? Second, and more to the point, how do I make it stop?
UPDATE 1: As per comments, posted below are screenshots of the buffer with the headers closed and open. I've opened Emacs with no init file (ie, emacs -Q
), require
d org-mode, and opened this example file. So: it does not appear to be something kooky in my setup.
All headers closed:
All headers open:
The theme I'd been using above is inkpot, although I get the same problem when using the solarized theme as well as the default theme (as in the new screenshots).
Emacs version is 24.3.1. I get the same results when using org version 7.9.3f (ie, the one bundled with that Emacs version), as well as 8.3beta.
UPDATE 2: here's a minimum working example in response to a comment request:
* here's a header with a [[~/somefile.txt][link at the end]]
- This one's a problem
- Interesting note:
+ put the cursor immediately *after* the *d* in "end" with the
header closed/folded
* the face no longer bleeds over into the dots
+ move the cursor anywhere else
* the face bleeds over into the dots again
* here's another [[~/someotherfile.txt][go at it]]
DEADLINE: <2014-10-26 Sun>
- This one's also a problem
* here's another header with a [[~/anotherfile.txt][link followed by a space]]
- No bleed-over onto the dots with this one