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

Add acme style window tags #26

Open
sminez opened this issue Oct 3, 2024 · 0 comments
Open

Add acme style window tags #26

sminez opened this issue Oct 3, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@sminez
Copy link
Owner

sminez commented Oct 3, 2024

Please describe the change / addition you'd like to see made

The tag in acme is a convenient scratchpad for holding text that you want to make use of in relation to a specific buffer, with execute and load events being considered running for the file the tag is attached to. It also provides a really simple way of handling things like renaming files or swapping out one file for another rather than opening a new window.

One thing I'll need to have a think about is how this interacts with ad's approach to buffer management and proposed window layout behaviour in #9. In acme every open file has a window. The user is able to hide some of those windows if desired but really the "thing" you work with in acme is a visible window, not a buffer that may or may not be visible in one of several windows currently open in the UI.

@mathuin on Mastodon suggested the possibility of having the tag be rendered using the minibuffer, making it detachable and something the user could show / hide on demand. That could be an interesting idea to explore but the implementation would need to be something other than the current mini-buffer as that has a fair amount of custom logic to it in order to grab input and act as a dynamic filter as the user types, rather than being a "real" buffer.

Is this a feature you have seen in other text editors?

This is a key part of the acme UI: http://doc.cat-v.org/plan_9/4th_edition/papers/acme/

@sminez sminez added the enhancement New feature or request label Oct 3, 2024
@sminez sminez changed the title Add acme style buffer tags Add acme style window tags Oct 27, 2024
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

1 participant