From: Adam Spiers <orgmode@adamspiers.org>
To: org-mode mailing list <emacs-orgmode@gnu.org>
Subject: org-mode and long lines alerting
Date: Wed, 23 Oct 2013 13:02:10 +0100 [thread overview]
Message-ID: <20131023120210.GD12437@pacific.linksys.moosehall> (raw)
Hi all,
I recently configured my emacs with visual alerts for lines longer
than (say) 80 columns. I used two mechanisms for this:
1. the built-in `whitespace-mode', with `whitespace-style' including
the 'lines-tail symbol
2. the fill-column-indicator package, which draws a vertical line
at the 80th column
Unfortunately, neither work well with org-mode:
1. `whitespace-mode' isn't smart enough to realise that a hyperlink
[[http://foo][bar]] only occupies 3 columns of visual display, so
it counts every character as occupying a column, leading to the
`whitespace-line' face being used to highlight more of the end of
the line than it should.
2. fill-column-indicator only displays the vertical line for
fully visible subtrees
I don't know how the display magic in org-mode works, so unfortunately
I've no idea how to address this. Any help gratefully received!
Thanks,
Adam
reply other threads:[~2013-10-23 12:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20131023120210.GD12437@pacific.linksys.moosehall \
--to=orgmode@adamspiers.org \
--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).