emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: table header line mode misaligned in org-indent-mode
@ 2021-04-18  5:21 Oorja Sandhu
  2021-04-20  3:13 ` Kyle Meyer
  2021-04-26 19:53 ` Bastien
  0 siblings, 2 replies; 3+ messages in thread
From: Oorja Sandhu @ 2021-04-18  5:21 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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 --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: table header line mode misaligned in org-indent-mode
  2021-04-18  5:21 Bug: table header line mode misaligned in org-indent-mode Oorja Sandhu
@ 2021-04-20  3:13 ` Kyle Meyer
  2021-04-26 19:53 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Kyle Meyer @ 2021-04-20  3:13 UTC (permalink / raw)
  To: Oorja Sandhu; +Cc: emacs-orgmode

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Bug: table header line mode misaligned in org-indent-mode
  2021-04-18  5:21 Bug: table header line mode misaligned in org-indent-mode Oorja Sandhu
  2021-04-20  3:13 ` Kyle Meyer
@ 2021-04-26 19:53 ` Bastien
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2021-04-26 19:53 UTC (permalink / raw)
  To: Oorja Sandhu; +Cc: emacs-orgmode

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.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2021-04-26 19:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-18  5:21 Bug: table header line mode misaligned in org-indent-mode Oorja Sandhu
2021-04-20  3:13 ` Kyle Meyer
2021-04-26 19:53 ` Bastien

Code repositories for project(s) associated with this 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).