GNU bug report logs -
#44154
26.3; Customize Face buffer: be able to click an inherited face, to customize it
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Thu, 22 Oct 2020 21:08:01 UTC
Severity: normal
Tags: fixed
Found in version 26.3
Fixed in version 28.1
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 44154 in the body.
You can then email your comments to 44154 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#44154
; Package
emacs
.
(Thu, 22 Oct 2020 21:08:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Drew Adams <drew.adams <at> oracle.com>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Thu, 22 Oct 2020 21:08:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
In Customize Face, if attribute Inherit is checked then be able to click
the name of an inherited face, to customize it, or at least to see its
attributes/definition.
That is, have a link on it, which invokes either `customize-face' or
`describe-face' for it.
Without this, you can't directly see what the effective attributes are
for the inheriting face.
In GNU Emacs 26.3 (build 1, x86_64-w64-mingw32)
of 2019-08-29
Repository revision: 96dd0196c28bc36779584e47fffcca433c9309cd
Windowing system distributor `Microsoft Corp.', version 10.0.18362
Configured using:
`configure --without-dbus --host=x86_64-w64-mingw32
--without-compress-install 'CFLAGS=-O2 -static -g3''
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44154
; Package
emacs
.
(Tue, 27 Oct 2020 10:33:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 44154 <at> debbugs.gnu.org (full text, mbox):
Drew Adams <drew.adams <at> oracle.com> writes:
> In Customize Face, if attribute Inherit is checked then be able to click
> the name of an inherited face, to customize it, or at least to see its
> attributes/definition.
>
> That is, have a link on it, which invokes either `customize-face' or
> `describe-face' for it.
Makes sense. I've now added this to Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
Added tag(s) fixed.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 27 Oct 2020 10:33:02 GMT)
Full text and
rfc822 format available.
bug marked as fixed in version 28.1, send any further explanations to
44154 <at> debbugs.gnu.org and Drew Adams <drew.adams <at> oracle.com>
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Tue, 27 Oct 2020 10:33:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44154
; Package
emacs
.
(Tue, 27 Oct 2020 15:34:02 GMT)
Full text and
rfc822 format available.
Message #15 received at 44154 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Lars Ingebrigtsen <larsi <at> gnus.org> writes:
> Drew Adams <drew.adams <at> oracle.com> writes:
>
>> In Customize Face, if attribute Inherit is checked then be able to click
>> the name of an inherited face, to customize it, or at least to see its
>> attributes/definition.
>>
>> That is, have a link on it, which invokes either `customize-face' or
>> `describe-face' for it.
>
> Makes sense. I've now added this to Emacs 28.
> +(defun cus--face-link (widget _format)
> + (let ((face (intern (widget-get widget :value))))
> + (widget-create-child-and-convert
> + widget 'face-link
> + :button-face 'link
> + :tag "link"
> + :action (lambda (&rest _x)
> + (customize-face face)))))
> +
I think this could become confusing if one edits the value of the
inherited face, because the link always points to the widget's value at
creation time.
I suggest making the link always point to the widget's current value,
like in the attached patch.
[Message part 2 (text/html, inline)]
[0001-Small-fix-to-the-new-link-for-inherited-faces-in-Cus.patch (text/x-patch, attachment)]
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#44154
; Package
emacs
.
(Tue, 27 Oct 2020 17:36:02 GMT)
Full text and
rfc822 format available.
Message #18 received at 44154 <at> debbugs.gnu.org (full text, mbox):
Mauro Aranda <maurooaranda <at> gmail.com> writes:
> I think this could become confusing if one edits the value of the
> inherited face, because the link always points to the widget's value at
> creation time.
>
> I suggest making the link always point to the widget's current value,
> like in the attached patch.
Ah, right. Thanks; applied to the trunk.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Wed, 25 Nov 2020 12:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 267 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.