From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64770 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general Subject: Re: probem with mime parts face Date: Tue, 05 Jun 2007 20:43:25 +0900 Organization: Emacsen advocacy group Message-ID: References: <87hcpreb4c.fsf@poczta.po.opole.pl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: sea.gmane.org 1181043890 16426 80.91.229.12 (5 Jun 2007 11:44:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2007 11:44:50 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13281@lists.math.uh.edu Tue Jun 05 13:44:49 2007 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1HvXSy-0004qa-Kl for ding-account@gmane.org; Tue, 05 Jun 2007 13:44:48 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1HvXSK-00058P-Ft; Tue, 05 Jun 2007 06:44:08 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1HvXSI-000585-Ut for ding@lists.math.uh.edu; Tue, 05 Jun 2007 06:44:06 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1HvXSG-0004jJ-SP for ding@lists.math.uh.edu; Tue, 05 Jun 2007 06:44:06 -0500 Original-Received: from orlando.hostforweb.net ([216.246.45.90]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1HvXSG-00087j-00 for ; Tue, 05 Jun 2007 13:44:04 +0200 Original-Received: from [66.225.201.151] (port=58814 helo=mail.jpl.org) by orlando.hostforweb.net with esmtpa (Exim 4.63) (envelope-from ) id 1HvXRk-0002ki-Iy for ding@gnus.org; Tue, 05 Jun 2007 06:43:33 -0500 X-Hashcash: 1:20:070605:ding@gnus.org::OaQLd5QKIKmKsv48:00003V5p X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) Cancel-Lock: sha1:Fk+S4DfUXLoYkQ6yCTRkQe8ZV50= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - orlando.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -2.4 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64770 Archived-At: --=-=-= >>>>> In Katsumi Yamaoka wrote: >>>>>> In <87hcpreb4c.fsf@poczta.po.opole.pl> Seweryn Kokot wrote: >> I have an email with 6 parts (text/plain). In Article buffer I type K b >> to distinguish them and have button for each file. Then I type RET on a >> button which hides the text and after typing again RET I get the text >> but with different foreground face of the text, namely >> boldface. Preferably this action should not change the face of the >> text. Is it a bug? I'm using Gnus v5.11 under Debian Unstable >> Any idea? [...] > I don't know why the `widget-button' face is not inherited to > the inserted text part. Because `widget-specify-button' sets the fourth argument of `make-overlay' when making a button. ,---- | (make-overlay beg end &optional buffer front-advance rear-advance) | | [...] | The fourth arg front-advance, if non-nil, makes the marker | for the front of the overlay advance when text is inserted there | (which means the text *is not* included in the overlay). `---- I've made a change in the trunk so that `gnus-insert-mime-button' may do the same. Probably I've solved the problem. If you are hard to update Gnus everyday ;-p, you can use the following instead temporarily in your ~/.gnus.el file: --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline (if (featurep 'xemacs) nil (defalias 'gnus-make-overlay (lambda (beg end &optional buffer front-advance rear-advance) (make-overlay beg end buffer t)))) --=-=-=--