[-- Attachment #1.1: Type: text/plain, Size: 649 bytes --] Hi, Here is a bug I've been trying to fix. Steps : 1. emacs -Q Latest Emacs cloned and built from master today. 2. Open the attached org file 3. M-x org-table-header-line-mode 4. M-x org-indent-mode 5. Resize emacs window very small such that horizontal as well as vertical scrolling is required to see it fully. 6. Go to end of line in a row in the table when the header line overlay is active. Observation : the header is misaligned proportional to depth of current headline, attached screenshot. Expectation : header be indented as much as the table. Kyle Meyer was incredible fixing my earlier bug report, thanks a lot. thanks Oorja [-- Attachment #1.2: Type: text/html, Size: 1146 bytes --] [-- Attachment #2: misalignedindentheader.png --] [-- Type: image/png, Size: 24938 bytes --] [-- Attachment #3: orgheaderline.org --] [-- Type: application/vnd.lotus-organizer, Size: 366 bytes --]
Oorja Sandhu writes:
> Steps :
> 1. emacs -Q
> Latest Emacs cloned and built from master today.
>
> 2. Open the attached org file
>
> 3. M-x org-table-header-line-mode
>
> 4. M-x org-indent-mode
>
> 5. Resize emacs window very small such that horizontal as well as vertical scrolling is required to see it fully.
>
> 6. Go to end of line in a row in the table when the header line overlay is active.
>
> Observation : the header is misaligned proportional to depth of current headline, attached screenshot.
>
> Expectation : header be indented as much as the table.
Thanks for the report. I can trigger it, though I haven't been able to
come up with a fix. It seems like it must be some interaction between
text properties (org-indent-mode) and overlays
(org-table-header-line-mode), but I don't have a good idea of what that
would be. Perhaps others have ideas.
Hi Oorja, thanks a lot for reporting this. I fixed this with commit 058339d6e in the maint branch, it will be in the next bugfix version.