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

FYI: ewoc.el #1

Open
alphapapa opened this issue Sep 26, 2021 · 4 comments
Open

FYI: ewoc.el #1

alphapapa opened this issue Sep 26, 2021 · 4 comments

Comments

@alphapapa
Copy link

Hi,

Thanks for working on this project. I hope it proves helpful with large, deeply nested structures, which Emacs sometimes struggles to display due to long-lines issues (e.g. in Ement.el, it can sometimes take minutes to display a backtrace due to the structures).

FYI, Emacs has a built-in GUI library, ewoc, that might be useful here. I've used it in Ement.el to great effect, and it's also used by built-in tools like vc-dir. Not many people seem to know about it, because it's not mentioned in the main Elisp manual.

@mmontone
Copy link
Owner

Hello. I can't find anything about ewoc. Can you point me to some documentation or source code?

@alphapapa
Copy link
Author

M-x find-library RET ewoc RET. :) Also, I was wrong, it is in the Elisp manual, in section 39.20 Abstract Display.

@mmontone
Copy link
Owner

Ah. I see. Thanks!

@TeMPOraL
Copy link

TeMPOraL commented Apr 12, 2022

Yup, just discovered (elisp) Abstract Display yesterday.

(elisp) Abstract Display Functions documents EWOC API, and (elisp) Abstract Display Example provides a copy-pasteable example.

See also (widget) Top for the built-in UI used by Customize interface, which would fit this use case nicely. Or the simper but apparently equivalent button library, (elisp) Buttons.

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

3 participants