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

Various counsel face touch-ups #1620

wants to merge 9 commits into from


Copy link

commented Jun 13, 2018

Please review each commit in turn. The first commit addresses #1619.

basil-conto added 9 commits Jun 13, 2018
counsel.el: Fix face preselects
(counsel--face-at-point): New function.
(counsel-describe-face, counsel-faces):
Use it to determine :preselect face.
counsel.el: Touch-up face function ivy-read args
(counsel-describe-face): Enable :require-match and :sort.
(counsel-faces): Reorder ivy-read args.
counsel.el (counsel-describe-face): Use face-list
This collapses face aliases like describe-function.
counsel.el: Use face-name-history
(counsel-describe-face, counsel-faces): Use it.
(counsel-faces-history): Remove.
counsel.el (counsel-faces): Simplify
Do not hard-code prompt format.
(counsel--faces-fmt, counsel-faces--sample-text): Remove.
Use list-faces-sample-text instead of counsel-faces--sample-text.
Accept FORMAT argument analogous to counsel--faces-fmt and return
lambda suitable as ivy-format-function.
counsel.el: Make face describing more customizable
(counsel-faces-action-describe): Rename to...
(counsel-customize-face): ...this.
(counsel-customize-face-other-window): New function.

(counsel-describe-face-function): New user option, similar to
counsel-describe-function-function and
(counsel-describe-face, counsel-faces): Use it as the default
:action.  Remove duplicate actions "d", "i", and "k".
Add counsel-customize-face-other-window as a new action "C".

@basil-conto basil-conto force-pushed the basil-conto:blc/faces branch to 4061c6f Jun 14, 2018

@abo-abo abo-abo closed this in 30d0081 Jun 14, 2018


This comment has been minimized.

Copy link

commented Jun 14, 2018


@basil-conto basil-conto deleted the basil-conto:blc/faces branch Jun 14, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.