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

2-state local cycling on subtrees #83

Open
jebyore opened this issue Sep 28, 2023 · 2 comments
Open

2-state local cycling on subtrees #83

jebyore opened this issue Sep 28, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@jebyore
Copy link

jebyore commented Sep 28, 2023

Could you please add an option of switching from the default 3-state local cycling (FOLDED, CHILDREN, SUBTREE) when short pressing on subtree headings to 2-state local cycling without "SUBTREE"? As the latter won't sometimes cause severe performance issues in large org files with deep nested subtrees on my low-end phone and is more convenient to use in my opinion.

Thanks.

@amake amake added the enhancement New feature or request label Sep 30, 2023
@amake
Copy link
Owner

amake commented Sep 30, 2023

I'm not dead-set against making an option, but in general I feel like "doing the right thing" is better than adding options.

Things I would rather do (but are probably much more difficult):

  • Improve performance enough that you don't have a problem
  • Detect when your device isn't performant enough and intelligently adjust the cycle

Can you share

  • A document that causes problems? (Or the length in characters and maybe the number and depth of headlines?)
  • Details on your device? (OS, model, etc.)

@jebyore
Copy link
Author

jebyore commented Oct 1, 2023

  1. example file (containing one specific subtree):
    https://github.com/jebyore/example/blob/main/example.org

It takes 5-6 seconds to finish the last step of the local cycling on the top level subtree in this example.org on my phone.

  1. Phone model: Moto G5S
    OS: LineageOS (18.1-20230801-NIGHTLY-montana)

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

No branches or pull requests

2 participants