GNU bug report logs -
#47686
Live preview of setting face color
Previous Next
Reported by: scame <laszlomail <at> protonmail.com>
Date: Sat, 10 Apr 2021 04:38:02 UTC
Severity: wishlist
Tags: wontfix
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47686 in the body.
You can then email your comments to 47686 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Sat, 10 Apr 2021 04:38:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
scame <laszlomail <at> protonmail.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sat, 10 Apr 2021 04:38:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
The other day I changed the color of a face and usually it's an uncomfortable process, because only in the real context together with other colors it shows how well the color works, the small sample text is usually not enough. So it's choosing some some color, changing the face color, going to the real context to see if it's right and repeating until it is.
I wanted some live preview and google found a small code which does this:
https://i.imgur.com/CqpB8gM.gif
[https://reddit.com/r/emacs/comments/ci1j66/live_color_selection_for_faces/](https://old.reddit.com/r/emacs/comments/ci1j66/live_color_selection_for_faces/)
It works, but it occured to me it could be easy to add something like this to the *Colors* buffer
which I can get with M-x list-colors-display.
That buffer does nothing by itself, just show colors, so keys could be bind for it to set face color:
f - read a facename and set its foreground color on the fly as the user moves in the *Colors*buffer as seen on the gif above
b - the same for face background color
c - cancel the live preview and restore the face's colors
s - set the selected colors of face using customize
This kind of interactive color setting where you just move in the Colors buffer and in the other window you can instantly see its effect on a face is much more effective and user friendly than the current color selection for a face.
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Sat, 10 Apr 2021 11:50:01 GMT)
Full text and
rfc822 format available.
Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):
scame via "Bug reports for GNU Emacs, the Swiss army knife of text
editors" <bug-gnu-emacs <at> gnu.org> writes:
> The other day I changed the color of a face and usually it's an
> uncomfortable process, because only in the real context together with
> other colors it shows how well the color works, the small sample text
> is usually not enough. So it's choosing some some color, changing the
> face color, going to the real context to see if it's right and
> repeating until it is.
>
[...]
> It works, but it occured to me it could be easy to add something like this to the *Colors* buffer
> which I can get with M-x list-colors-display.
>
> That buffer does nothing by itself, just show colors, so keys could be bind for it to set face color:
>
> f - read a facename and set its foreground color on the fly as the user moves in the *Colors*buffer as seen on the gif above
> b - the same for face background color
> c - cancel the live preview and restore the face's colors
> s - set the selected colors of face using customize
>
An alternative way to do what you want is the following:
- Place the point on the desired text whose face you want to change.
- M-x customize-face-other-window
- Accept the default.
For there, you can use the Customize interface to apply or revert
changes and see the results in the other window, instantly.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Sat, 10 Apr 2021 11:50:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Sat, 10 Apr 2021 16:15:01 GMT)
Full text and
rfc822 format available.
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
>
> An alternative way to do what you want is the following:
>
> - Place the point on the desired text whose face you want to change.
> - M-x customize-face-other-window
> - Accept the default.
>
> For there, you can use the Customize interface to apply or revert
> changes and see the results in the other window, instantly.
>
It's not the same, because then you have to apply the changes each time you
change color, you can't see a preview in context immediately simply by
browsing the colors which makes it much more comfortable.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Sat, 10 Apr 2021 16:15:02 GMT)
Full text and
rfc822 format available.
Severity set to 'wishlist' from 'normal'
Request was from
Stefan Kangas <stefan <at> marxist.se>
to
control <at> debbugs.gnu.org
.
(Mon, 19 Apr 2021 07:39:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#47686
; Package
emacs
.
(Thu, 06 May 2021 09:59:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 47686 <at> debbugs.gnu.org (full text, mbox):
scame <laszlomail <at> protonmail.com> writes:
> I wanted some live preview and google found a small code which does this:
>
> https://i.imgur.com/CqpB8gM.gif
>
> https://reddit.com/r/emacs/comments/ci1j66/live_color_selection_for_faces/
>
> It works, but it occured to me it could be easy to add something like this to the
> *Colors* buffer
> which I can get with M-x list-colors-display.
I think that looks really cool, but I think it would be better as a
separate ELPA package (especially since there are other colour pickers
that work differently out there). So I'm closing this bug report.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) wontfix.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 06 May 2021 09:59:02 GMT)
Full text and
rfc822 format available.
bug closed, send any further explanations to
47686 <at> debbugs.gnu.org and scame <laszlomail <at> protonmail.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Thu, 06 May 2021 09:59:02 GMT)
Full text and
rfc822 format available.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 03 Jun 2021 11:24:11 GMT)
Full text and
rfc822 format available.
This bug report was last modified 2 years and 320 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.