Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display tree structure only, hide note text at the beginning #23

Closed
yuchen-lea opened this issue Apr 24, 2020 · 2 comments
Closed

Display tree structure only, hide note text at the beginning #23

yuchen-lea opened this issue Apr 24, 2020 · 2 comments

Comments

@yuchen-lea
Copy link

Thanks for this wonderful work. It helps me a lot.

I expect this only display tree structure of headlines. It works great when I narrow buffer to some headings. For example:

* head 1
text 1
** head 1.1
text 1.1
** head 1.2
text 1.2

Sidebar:

* head 1
** head 1.1
** head 1.2

However, the sidebar for file buffer shows the note at top. For example:

#+Title: Emacs
file text
* head 1
text 1
** head 1.1
text 1.1
** head 1.2
text 1.2
* head 2
text 2

Sidebar:

#+Title: Emacs
file text
* head 1
** head 1.1
** head 1.2
* head 2

As for me, and maybe for most people, the expected sidebar tree is:

* head 1
** head 1.1
** head 1.2
* head 2

It would be great if you can offer some ideas.

Environments:
GNU Emacs 26.3 (build 1, x86_64-apple-darwin19.3.0, Carbon Version 162 AppKit 1894.3) of 2020-03-07
Org mode version 9.1.2
org-sidebar 0.3

@alphapapa
Copy link
Owner

Thanks, that should fix it. Please let me know how it works for you.

@yuchen-lea
Copy link
Author

Yeah, already fixed! Many thanks for your effort!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants