Conversation
The window tool bar did not show buttons with a label set to "". Use the symbol name of the binding in this case.
This fixes the error with the back-button package (https://github.com/rolandwalker/back-button) which defines bindings with the shift modifier.
This check breaks on core ELPA packages and packages that use compat.
|
I appreciate the extra commits. This is something I've wanted to do for a bit but have been distracted by other things. Since this file is part of Gnu Emacs, any contributions to it need to be by people that have followed Emacs' contribution steps, especially the Copyright Assignment steps outlined here. Have you done so? |
|
No, but I can surely look into it. Is this also important during development, or can we continue working without until we finally merge into emacs? |
|
I'd like to start the Emacs contribution process first. We can do this in parallel to reviewing the code. I sent an email to emacs-devel and CC'd your @htwg-konstanz.de email. I'll look over this pull request next. |
|
Some thoughts: The change from fix: add keybindings for mode-line (e1c258c) looks great and it might be easier if that was its own pull request. Up to you. I think it may make more sense for |
|
Sure, just created a new PR #39 for the bindings. |
Great, thank you. I'll look into this tomorrow |
Actually this was my intended behaviour. As long as |
|
I was hoping that when I'm torn if it makes more sense to add the value |
Hi @chaosemer,
this PR addresses my feature request for unicode icons in #37.
I just took some time to hack around a bit to get visual appealing toolbar in the mode line using nerd icons:
Also works in terminal if the correct font is configured.
I used your code in the
text-iconsbranch and merged the latest changes from main.I also fixed the function
window-tool-bar--find-unicode-iconto work robustly with different key maps.I currently return "?" if no icon is defined, returning the icon name instead might be more helpful.
Additionally, separating a lists per key map could be beneficial if icon names collide.
However, images, don't seam to work anymore with the current version.
This is my setup if you want to reproduce is:
I know that i should not use nerd icons directly, but rather obtain them by name.
The package should contain some sane defaults for default tool bars.
For this to work you need to use a patch nerd font global.
There is much room for improvement but at least i we seam to have a first working version here.
I'm looking forward to your feedback