From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: org-mode and long lines alerting Date: Wed, 23 Oct 2013 13:02:10 +0100 Message-ID: <20131023120210.GD12437@pacific.linksys.moosehall> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53081) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYx8l-0007p0-G4 for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:02:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYx8g-00036H-WB for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:02:19 -0400 Received: from coral.adamspiers.org ([2001:ba8:1f1:f27f::2]:53711) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYx8g-000367-QA for emacs-orgmode@gnu.org; Wed, 23 Oct 2013 08:02:14 -0400 Received: from localhost (f.0.a.8.a.2.f.a.0.b.a.b.3.0.1.f.0.d.3.7.6.a.1.1.0.b.8.0.1.0.0.2.ip6.arpa [IPv6:2001:8b0:11a6:73d0:f103:bab0:af2a:8a0f]) by coral.adamspiers.org (Postfix) with ESMTPSA id 74C552EB58 for ; Wed, 23 Oct 2013 13:02:12 +0100 (BST) Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org 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