From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/16442 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.gnus.user Subject: Re: Highlighted buttons in article mode Date: Thu, 01 Aug 2013 16:56:46 +0200 Organization: Aioe.org NNTP Server Message-ID: <87wqo5h32p.fsf@VLAN-3434.student.uu.se> References: <87ehcxs5qd.fsf@VLAN-3434.student.uu.se> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1375369246 3796 80.91.229.3 (1 Aug 2013 15:00:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Aug 2013 15:00:46 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Thu Aug 01 17:00:50 2013 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1V4uMI-0003YD-Uc for gegu-info-gnus-english@m.gmane.org; Thu, 01 Aug 2013 17:00:07 +0200 Original-Received: from localhost ([::1]:44839 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1V4uMI-0005g1-Jx for gegu-info-gnus-english@m.gmane.org; Thu, 01 Aug 2013 11:00:06 -0400 Original-Path: usenet.stanford.edu!news.kjsl.com!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.mixmin.net!aioe.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 30 Original-NNTP-Posting-Host: SWN/nubmpQxYKwY7hPy4YA.user.speranza.aioe.org Original-X-Complaints-To: abuse@aioe.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux) X-Notice: Filtered by postfilter v. 0.8.2 Cancel-Lock: sha1:fmbtYaqPDkLiIUBaKVvQ7wKhuko= Original-Xref: usenet.stanford.edu gnu.emacs.gnus:87568 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:16442 Archived-At: Lars Magne Ingebrigtsen 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