Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

UI options, add annotation function? #3

Closed
bdarcus opened this issue Mar 3, 2021 · 0 comments
Closed

UI options, add annotation function? #3

bdarcus opened this issue Mar 3, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@bdarcus
Copy link
Contributor

bdarcus commented Mar 3, 2021

Right now, the UI presents a single, undifferentiated, formatted propertized display string, but internally searches using a different string.

This works well, though does result in some problems with multiple candidate selection currently (see #17).

But there's room with completing-read to use annotations for secondary bits of supporting information. Affixation (recently added to Emacs 28) obviously fits here too, though am unclear on the connection between them.

Is there value in rethinking the UI a bit to take advantage of that, and adding an annotation and/or affixation function to support it, either here or in a separate package?

If yes, how would that look, and what should that function generate?

Perhaps prefixes with nice icon fonts to indicate presence of pdfs, notes, or links?

Maybe a suffix with the key, type, and maybe tags?

If yes, the actually displayed string would be more compact (say just author, date, title?) to make room.

Something like this, with blue box indicating main display, and yellow affixes:

Screenshot from 2021-03-08 08-58-26

Maybe it's user-configurable?

Also, early in these discussions, @minad suggested the possibility of a separate package for annotation.

I suppose this ultimately depends just how rich these annotation/affix-based UIs can be now; what improvement they might offer.

Ideally, though, it would simultaneously enhance both the default orientation towards selectrum completion, while also opening up other opportunities.

Or we just don't worry about it for now; it's easy enough to add later, and it might be wise to allow these features to mature in Emacs

If someone does want to experiment with this, and believes to have come up with a better UI, do post screenshots.

See also #20.

@bdarcus bdarcus added the enhancement New feature or request label Mar 5, 2021
@bdarcus bdarcus added this to the v0.1 milestone Mar 6, 2021
@bdarcus bdarcus changed the title Add annotation function? UI options, add annotation function? Mar 8, 2021
@bdarcus bdarcus removed this from the v0.1 milestone Mar 9, 2021
@bdarcus bdarcus closed this as completed Mar 11, 2021
@emacs-citar emacs-citar locked and limited conversation to collaborators Mar 11, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant