Adam Spiers <orgm...@adamspiers.org> writes:
Hrm, no this isn't good enough. For graphical windows we still
need
to set the display text properties to align all tags when the
buffer
initially loads. AFAICS there's currently no code to trigger
this,
so it would need to be added, and for large files this might
actually
cause problems with file loading time unless it was done in the
background (a bit like fontification can be done).
A few issues I found:
1. If the headline text exceeds the org-tags-column, the tags are
moved so there is no space between the headline and the tag. This
is only aesthetic, since in reality there is still a space
there. Not sure this needs to be fixed.
2. If you try to insert a space at the end of the headline, it
will be gobbled automatically because org-self-insert-command
calls org–align-tags-here. With this method of aligning tags I
don’t think org-self-insert-command needs to make this call,
because the display text property updates automatically on
redisplay. So the solution may be take that call out, but I don’t
know if that will break anything. Otherwise, maybe the code
ensuring there is one space is not really necessary.
3. Org-indent-mode creates a problem. Not sure why yet, or whether
it’s org-indent-mode or some setting I have associated with it,
but tags of child nodes don’t align properly.
Jeff Filipovits
Spears & Filipovits, LLC
1126 Ponce de Leon Avenue
Atlanta, GA 30306
678.237.9302 (direct)
j...@civil-rights.law
All emails confidential to the fullest extent of the law.