From: Tim Cross <theophilusx@gmail.com>
To: Galen Menzel <galen.menzel@utexas.edu>
Cc: Org Mode <emacs-orgmode@gnu.org>
Subject: Re: Fill column indicator and org indent mode
Date: Tue, 15 Aug 2017 07:57:46 +1000 [thread overview]
Message-ID: <87o9rhhkz1.fsf@gmail.com> (raw)
In-Reply-To: <E51826DF-1C05-499E-8537-485BB88FBC33@utexas.edu>
I was using fci, but found all sorts of problems when it comes to
org-mode. In addition to the issue you mention, you will also find
'spurious' additional characters turning up in things like html exports
of your org files. I also started getting font-lock errors when I tried
to edit special blocks using C-c ' and a number of other bits of weird
behaviour.
Once I dropped fci and configured the whitespace package to show
characters past my fill column in a different colour, all the odd issues
I was seeing just vanished and my exports were working correctly again.
I preferred using fci and even used it for a while before I started
seeing problems. It was only once I stopped using it I realised that
many of the minor issues I was experiencing were due to fci and org
incompatibilities.
I did dig into this and found some others who had experienced similar
issues and even some partial fixes, but in the end, they still didn't
help with some of the more annoying issues and were likely to introduce
other problems.
While whitespace mode can provide similar functionality, I don't think
it will adjust to the org indentation as well. The problem is that these
packages just consider the screen and is not aware of mode level
specifics. Of the two, I suspect you could make whitespace act more
'dynamically' than fci, but we probably really need an org-aware column
indicator package/extension.
tim
Galen Menzel writes:
> Hi all,
>
> I use [Semantic
> linefeeds](http://rhodesmill.org/brandon/2012/one-sentence-per-line/)
> for a lot of my org files, for which having a visual indicator of column
> 80 is useful. I'm currently using
> [`fill-column-indicator`](https://github.com/alpaker/Fill-Column-Indicator)
> for this, but the column indicator does not adjust for the indention
> level when using `org-indent-mode` —it just draws straight down on
> column 80 of the frame, regardless of the line's indention level. (So in
> a line under a level-3 headline with `org-indent-indentation-per-level`
> set to 2, the fill column indicator will appear on column 80 of the
> frame, which is actually column 76 of the line.)
>
> Is anyone aware of a solution to displaying the fill column in a way
> that takes the indention level into account?
>
> Thanks!
>
> Best,
>
> Galen
--
Tim Cross
next prev parent reply other threads:[~2017-08-14 21:57 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-14 17:58 Fill column indicator and org indent mode Galen Menzel
2017-08-14 21:57 ` Tim Cross [this message]
2017-08-14 22:16 ` Kaushal Modi
2017-08-16 3:04 ` Galen Menzel
2017-08-14 22:23 ` Eduardo Mercovich
2017-08-16 3:14 ` Galen Menzel
2017-08-16 4:24 ` Adam Porter
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o9rhhkz1.fsf@gmail.com \
--to=theophilusx@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=galen.menzel@utexas.edu \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.