-
Notifications
You must be signed in to change notification settings - Fork 11
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
Provide the option for a user to add a custom face or minor-mode for buttons #28
Comments
Hi Alex:
Thanks for your feedback. I think there are some good ideas in there, we would just have to figure out implementation possibilities. I like the idea of being able to display buttons with different action types with varying faces and potentially icons.
Hopefully you know that pressing {C-h A} with point within any Hyperbole button tells you exactly what it does. Typically, the Assist Key shows you the same information as well.
…-- Bob
On May 19, 2020, at 9:33 PM, Alex Soto ***@***.***> wrote:
Background
First, thank you for creating and maintaining Hyperbole all of these years. I'm grateful.
I've used Hyperbole for the past few months, and I've enjoyed the functionality that it's provided in creating an interface for my day to day information work. When working with documents that contain a lot of text or "dashboards" that I make, I find it challenging to identify and remember what a button does visually without having to dig deeper and look at the code.
Proposal:
To provide the user with the option of customizing Hyperbole's explicit/implicit buttons,
<(fake button)>, for example, through a custom face or another method.
Example
From my research, I came across linkd-mode.
When linkd-mode is activated its links which look like this: ***@***.*** :file-name "/etc/fstab":display "File System Table") are transformed to be distinguished from each other by color and shape and optionally displays an icon.
Below are examples taken from the web-archive, and here is it's source code.
Creating a wiki-like personal "hyperweb"
Concept-oriented navigation in lisp source code
Closing Thoughts
Incorporating a minor-mode for Hyperbole's buttons or providing the user the option to customize the appearance of the buttons would support the user by knowing what to do just by looking and could ease the use embedding and using buttons in documents and the creation of a web of "interactive" documents/dashboards.
Thank you for your time.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Hi Robert, Thank you for your time and feedback. I'm glad you like the idea of displaying buttons with different action types, varying faces, and icons. Thank you for the reminder of using {C-h A} and or using the assist key. I have used it in the past, and I remember reading it in the documentation, I will do my best to remember for next time. In regards to the implementation possibilities, I think this involves looking at existing examples in this space and having a discussion about it. Idea Taking this further, we can retain the non-disruptive appearance of When looking at the Hyperbole's explicit button types, per the documentation:
The link-to-* action types I can imagine them being displayed similarly as to how linkd-mode has used them in the picture below, for example, Concept-oriented navigation in lisp source code Closing Thoughts As always, thank you for your time and feedback. |
One issue to consider is that we try to use constructs in Hyperbole that will work on any valid Emacs display including dumb terminals. That is why we typically use faces exclusively rather than icons. You may lose some capability on one display or another but the code will work without the need for a lot of conditionals. But we do support great visual packages like treemacs that use icons well and we have in the past written modules for specific display types, so we might eventually handle it that way. I do think making it easier to apply different visual formatting as desired would be a good thing. |
Hi Alex: Thinking about this again and now that Hyperbole has had implicit button names for a good while, I am wondering if you could give specific examples of where you lack the context you want when looking at a button. It seems like this would be a naming issue and if you give your buttons reasonable names, this issue might go away or be reduced. Let's look at it with specific examples and discuss what is needed in each context. |
Background
First, thank you for creating and maintaining Hyperbole all of these years. I'm grateful.
I've used Hyperbole for the past few months, and I've enjoyed the functionality that it's provided in creating an interface for my day to day information work. When working with documents that contain a lot of text or "dashboards" that I make, I find it challenging to identify and remember what a button does visually without having to dig deeper and look at the code.
Proposal:
To provide the user with the option of customizing Hyperbole's explicit/implicit buttons,
<(fake button)>
, for example, through a custom face or another method.Example
From my research, I came across linkd-mode.
When linkd-mode is activated its links which look like this:
(@file :file-name "/etc/fstab":display "File System Table")
are transformed to be distinguished from each other by color and shape and optionally displays an icon.Below are examples taken from the web-archive, and here is it's source code.
Creating a wiki-like personal "hyperweb"
Concept-oriented navigation in lisp source code
Closing Thoughts
Incorporating a minor-mode for Hyperbole's buttons or providing the user the option to customize the appearance of the buttons would support the user by knowing what to do just by looking and could ease the use of embedding and using buttons in documents and the creation of a web of "interactive" documents/dashboards.
Thank you for your time.
The text was updated successfully, but these errors were encountered: