Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Highlighted buttons in article mode
@ 2013-05-23 22:15 Emanuel Berg
  2013-08-01 11:42 ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2013-05-23 22:15 UTC (permalink / raw)
  To: info-gnus-english

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Highlighted buttons in article mode
  2013-05-23 22:15 Highlighted buttons in article mode Emanuel Berg
@ 2013-08-01 11:42 ` Lars Magne Ingebrigtsen
  2013-08-01 14:56   ` Emanuel Berg
  0 siblings, 1 reply; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 11:42 UTC (permalink / raw)
  To: info-gnus-english

Emanuel Berg <embe8573@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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Highlighted buttons in article mode
  2013-08-01 11:42 ` Lars Magne Ingebrigtsen
@ 2013-08-01 14:56   ` Emanuel Berg
  2013-08-01 15:14     ` Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 4+ messages in thread
From: Emanuel Berg @ 2013-08-01 14:56 UTC (permalink / raw)
  To: info-gnus-english

Lars Magne Ingebrigtsen <larsi@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) )))

-- 
Emanuel Berg - programmer (hire me! CV below)
computer projects: http://user.it.uu.se/~embe8573
internet activity: http://home.student.uu.se/embe8573

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Highlighted buttons in article mode
  2013-08-01 14:56   ` Emanuel Berg
@ 2013-08-01 15:14     ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 4+ messages in thread
From: Lars Magne Ingebrigtsen @ 2013-08-01 15:14 UTC (permalink / raw)
  To: info-gnus-english

Emanuel Berg <embe8573@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...

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2013-08-01 15:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-05-23 22:15 Highlighted buttons in article mode Emanuel Berg
2013-08-01 11:42 ` Lars Magne Ingebrigtsen
2013-08-01 14:56   ` Emanuel Berg
2013-08-01 15:14     ` Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).