Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Highlighted buttons in article mode

2 views
Skip to first unread message

Emanuel Berg

unread,
May 23, 2013, 6:15:22 PM5/23/13
to
Can I get the buttons in Article mode not to be highlighted? I like
them not to be, as I'd like them the same as the buttons of rmail and
the Emacs Help, but (unlike those) when I set the face to one that
isn't bold (I tried to just copy the face of "button" to that of
gnus-button), they're highlighted (bright) just the same. I don't know
why.
--
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

Lars Magne Ingebrigtsen

unread,
Aug 1, 2013, 7:42:29 AM8/1/13
to
Emanuel Berg <embe...@student.uu.se> writes:

> Can I get the buttons in Article mode not to be highlighted? I like
> them not to be, as I'd like them the same as the buttons of rmail and
> the Emacs Help, but (unlike those) when I set the face to one that
> isn't bold (I tried to just copy the face of "button" to that of
> gnus-button), they're highlighted (bright) just the same. I don't know
> why.

`M-x describe-char' where you see the offending highlighting. That
should tell you what face to customize.

--
(domestic pets only, the antidote for overdose, milk.)
No Gnus T-Shirt for sale: http://ingebrigtsen.no/no.php

Emanuel Berg

unread,
Aug 1, 2013, 10:56:46 AM8/1/13
to
Lars Magne Ingebrigtsen <la...@gnus.org> writes:

>> Can I get the buttons in Article mode not to be highlighted? I
>> like them not to be, as I'd like them the same as the buttons
>> of rmail and the Emacs Help, but (unlike those) when I set the
>> face to one that isn't bold (I tried to just copy the face of
>> "button" to that of gnus-button), they're highlighted (bright)
>> just the same. I don't know why.
>
> `M-x describe-char' where you see the offending highlighting.
> That should tell you what face to customize.

Correct! `describe-char' revealed it is `widget-button' I should
configure, not `gnus-button'. Perhaps some inheritance issue? The
reason I tried with `gnus-button' is that that was the answer I
got with the below function to detect face. Perhaps it is not
reliable?

;; http://stackoverflow.com/questions/1242352
(defun what-face (pos)
(interactive "d")
(let ((face (or (get-char-property (point) 'read-face-name)
(get-char-property (point) 'face))))
(if face (message "Face: %s" face)
(message "No face at %d." pos) )))

Lars Magne Ingebrigtsen

unread,
Aug 1, 2013, 11:14:43 AM8/1/13
to
Emanuel Berg <embe...@student.uu.se> writes:

> Correct! `describe-char' revealed it is `widget-button' I should
> configure, not `gnus-button'. Perhaps some inheritance issue?

I think the buttons are converted to widget buttons at some point...
0 new messages