From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/64776 Path: news.gmane.org!not-for-mail From: Seweryn Kokot Newsgroups: gmane.emacs.gnus.general Subject: Re: probem with mime parts face Date: Tue, 05 Jun 2007 22:56:57 +0200 Message-ID: <877iqirug6.fsf@poczta.po.opole.pl> References: <87hcpreb4c.fsf@poczta.po.opole.pl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181076956 16778 80.91.229.12 (5 Jun 2007 20:55:56 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 5 Jun 2007 20:55:56 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M13287@lists.math.uh.edu Tue Jun 05 22:55:55 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 1Hvg4F-0006N8-LQ for ding-account@gmane.org; Tue, 05 Jun 2007 22:55:51 +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 1Hvg43-0008Hw-Vp; Tue, 05 Jun 2007 15:55:40 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1Hvg41-0008Hc-1A for ding@lists.math.uh.edu; Tue, 05 Jun 2007 15:55:37 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1Hvg3z-0004GG-06 for ding@lists.math.uh.edu; Tue, 05 Jun 2007 15:55:36 -0500 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Hvg3y-0000Kv-00 for ; Tue, 05 Jun 2007 22:55:34 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Hvg3U-0007S2-Cc for ding@gnus.org; Tue, 05 Jun 2007 22:55:04 +0200 Original-Received: from nat-warynskiego.po.opole.pl ([217.173.199.132]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jun 2007 22:55:04 +0200 Original-Received: from s.kokot by nat-warynskiego.po.opole.pl with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 05 Jun 2007 22:55:04 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: nat-warynskiego.po.opole.pl X-PGP-FP: BF2E 7101 B6C4 CE71 527E 1A06 9B17 0C43 20EC 5AC1 X-PGP: 20EC5AC1 X-Operating-System: Debian GNU/Linux X-Homepage: http://www.skokot.po.opole.pl User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.990 (gnu/linux) Cancel-Lock: sha1:kY/S+onWPeSqnIfMyX3EpHRkoZI= X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:64776 Archived-At: Katsumi Yamaoka writes: >>>>>> 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: > (if (featurep 'xemacs) > nil > (defalias 'gnus-make-overlay > (lambda (beg end &optional buffer front-advance rear-advance) > (make-overlay beg end buffer t)))) Thanks a lot for help, regards, Seweryn