-
Notifications
You must be signed in to change notification settings - Fork 47
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
Feat/org table rows #191
base: main
Are you sure you want to change the base?
Feat/org table rows #191
Conversation
Add content-filter-org-functions.
`run-hook-with-args' (and other `run-hook' functions) does not seem to be designed to receive a returned value from each function. What I would need is a way to apply each filter function one by one to the parse tree (obj). `dolist' can be made do this.
@nobiot Thanks for bring this up.
I personally support the approach proposed in my PR, as it is much more flexible for any element beyond just tables, as previously mentioned. The remaining challenge is to address the live editing for this specific Could you please provide additional details or further clarification regarding the intention behind your proposal? |
@llcc Of course I will be happy to add more detail and my motivation. Let me know if you wish to know more -- I am hoping you could bring this PR to the state where it can be merged. Otherwise, I'd be happy to just merge my refactoring and leave this PR on hold. MotivationThe motivation for the code I include in this PR is to support your use cases for Org table rows and later Org list. I don't have strong need for them at the moment. You are the only reason and your use cases seem useful to others :-) Please take my PR as a suggestion. I will merge my refactoring even if you do not use this approach. I am happy to see your enhancement to the Having said this, I am not able to merge your approach into For Org files, we have a mechanism for "filtering" Org elements with using the What this PR includesThis PR may seem to includes a lot, but there are fundamentally only two things:
If you take this approach, all you need to look at is the In order to support filtering of table rows, I needed to refactor the filtering mechanism for Org files in general. This is something I have postponed. I thought it would be a good opportunity to do this. Some benefits of this filtering approachI believe there are some merits to the approach if you can stay with a little longer and hear me out.
|
@nobiot Thanks for your explanation. I'll reply you later here. |
This is continuation of the discussion thread in PR #190.
@llcc
GitHub is very slow to respond on my end. I will come back to add more information. But just quickly I wanted to let you know about the approach I was talking about in #190
I don't know how to continue with you branch and PR so I opened a new one -- I have done this in the hope that showing code communicates the idea better than describing it with words. Please let me know if this works for you. I am hoping that you'd be able to continue with your with your original motivation -- either via this PR or yours.
The summary of what I have done is as follows:
org-table-rows