From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/41850 Path: main.gmane.org!not-for-mail From: Karl Kleinpaste Newsgroups: gmane.emacs.gnus.general Subject: Re: mml-preview is bugging out these days Date: Fri, 11 Jan 2002 17:48:12 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: References: <2nvgeex4oz.fsf@zsh.cs.rochester.edu> <2nita8a7fp.fsf@zsh.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1035177181 8252 80.91.224.250 (21 Oct 2002 05:13:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 05:13:01 +0000 (UTC) Return-Path: Original-Received: (qmail 16576 invoked from network); 11 Jan 2002 22:48:40 -0000 Original-Received: from malifon.math.uh.edu (mail@129.7.128.13) by mastaler.com with SMTP; 11 Jan 2002 22:48:40 -0000 Original-Received: from sina.hpc.uh.edu ([129.7.128.10]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 16PATR-0007D9-00; Fri, 11 Jan 2002 16:48:33 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 11 Jan 2002 16:48:26 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id QAA00855 for ; Fri, 11 Jan 2002 16:48:15 -0600 (CST) Original-Received: (qmail 16570 invoked by alias); 11 Jan 2002 22:48:18 -0000 Original-Received: (qmail 16565 invoked from network); 11 Jan 2002 22:48:16 -0000 Original-Received: from mesquite.slip.cs.cmu.edu (HELO cinnamon.vanillaknot.com) (128.2.207.11) by gnus.org with SMTP; 11 Jan 2002 22:48:16 -0000 Original-Received: (from karl@localhost) by cinnamon.vanillaknot.com (8.11.6/8.11.6) id g0BMmCI23098; Fri, 11 Jan 2002 17:48:12 -0500 Original-To: ding@gnus.org X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6 hR;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu In-Reply-To: <2nita8a7fp.fsf@zsh.cs.rochester.edu> (ShengHuo ZHU's message of "Fri, 11 Jan 2002 16:44:58 -0500") Original-Lines: 15 User-Agent: Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, i686-pc-linux) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:41850 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:41850 --=-=-= ShengHuo ZHU writes: > It seems fine for me. "From: \n" is inserted if not exist, but it > seems the NL is invisible in your article buffer. I am not sure > why. Could you debug it? The code is in gnus-display-x-face-in-from. article-hide-boring-headers in gnus-art.el is (correctly) determining that gnus-display-x-face-in-from's faked "From" line is empty, so it is trying to remove it from visibility. I don't know why it doesn't get rid of the entire line; I didn't chase the problem that far. The patch below is a somewhat tacky but adequate fix to the problem. --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=gnus-fun.diff --- lisp/gnus-fun.el.~1~ Mon Jan 7 12:45:32 2002 +++ lisp/gnus-fun.el Fri Jan 11 17:36:54 2002 @@ -177,8 +177,8 @@ (article-narrow-to-head) (gnus-article-goto-header "from") (when (bobp) - (insert "From: \n") - (forward-char -2)) + (insert "From: [no `from' set]\n") + (forward-char -17)) (gnus-add-image 'xface (gnus-put-image --=-=-= It surprises me considerably that you don't see the misbehavior. --=-=-=--