emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-mode and long lines alerting
@ 2013-10-23 12:02 Adam Spiers
  0 siblings, 0 replies; only message in thread
From: Adam Spiers @ 2013-10-23 12:02 UTC (permalink / raw)
  To: org-mode mailing list

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-10-23 12:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-23 12:02 org-mode and long lines alerting Adam Spiers

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).