cute-jumper / org-table-sticky-header

Sticky header for org-mode tables
36 stars 4 forks source link

Allow column alignment before headerline #5

Closed swhahn closed 7 years ago

swhahn commented 7 years ago

Great package!!!

One thing missing: In my tables I have column width line mostly before headerline as:

<6> Col-1 Col-2
Data

In this case the headerline is not correctly recognized. Org-mode also allows a table to begin with a line additionally.

With kind regards, Stefan

cute-jumper commented 7 years ago

I see. I have a short discussion about this issue with @theldoria in #2. For now, the header line must be the first line. It is possible to make it more intelligent by skipping the |--- line or the line containing only the width specifications. I'll try to push some commits when I'm free.

cute-jumper commented 7 years ago

I've pushed a commit. Now this package will not consider lines like |-- or | <4> | | to be the header line. Please report any issues here if the new commit doesn't work or introduces any other bugs. 😄

theldoria commented 7 years ago

Please note my comment of your commit, which reminds you of the possible column width and alignment specifier.

cute-jumper commented 7 years ago

Thanks @theldoria . It should be fixed now.

swhahn commented 7 years ago

Thanks. Works like a charm.

cute-jumper commented 7 years ago

Closing this for now. Feel free to reopen it if there is something else that needs to be considered when fetching the real header line.