From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/34347 Path: main.gmane.org!not-for-mail From: ShengHuo ZHU Newsgroups: gmane.emacs.gnus.general Subject: Re: Gnus 5.8.8 and gnus-summary-line-format (%f) Date: 19 Jan 2001 10:10:43 -0500 Sender: owner-ding@hpc.uh.edu Message-ID: <5blms737d8.fsf@avocet.cs.rochester.edu> References: <5by9w7392s.fsf@avocet.cs.rochester.edu> NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035170290 29948 80.91.224.250 (21 Oct 2002 03:18:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 03:18:10 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by mailhost.sclp.com (Postfix) with ESMTP id 88D32D049D for ; Fri, 19 Jan 2001 10:11:38 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.3/8.9.3) with ESMTP id JAC22157; Fri, 19 Jan 2001 09:11:04 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Fri, 19 Jan 2001 09:10:26 -0600 (CST) Original-Received: from mailhost.sclp.com (postfix@66-209.196.61.interliant.com [209.196.61.66] (may be forged)) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id JAA21676 for ; Fri, 19 Jan 2001 09:10:15 -0600 (CST) Original-Received: from gate.cs.rochester.edu (gate.cs.rochester.edu [192.5.53.207]) by mailhost.sclp.com (Postfix) with ESMTP id EDF0FD049D for ; Fri, 19 Jan 2001 10:10:43 -0500 (EST) Original-Received: from avocet.cs.rochester.edu (avocet.cs.rochester.edu [192.5.53.22]) by gate.cs.rochester.edu (8.8.8+Sun/T--) with ESMTP id KAA05801 for ; Fri, 19 Jan 2001 10:10:43 -0500 (EST) Original-Received: (from zsh@localhost) by avocet.cs.rochester.edu (8.9.1b+Sun/Q++) id KAA29736; Fri, 19 Jan 2001 10:10:43 -0500 (EST) Original-To: ding@gnus.org X-Attribution: ZSH X-Face: 'IF:e51ib'Qbl^(}l^&4-J`'P!@[4~O|&k#:@Gld#b/]oMq&`&FVY._3+b`mzp~Jeve~/#/ ERD!OTe<86UhyN=l`mrPY)M7_}`Ktt\K+58Z!hu7>qU,i.N7TotU[FYE(f1;}`g2xj!u*l`^&=Q!g{ *q|ddto|nkt"$r,K$[)"|6,elPH= GJ6Q In-Reply-To: (Peter.Weiss@Class.de's message of "19 Jan 2001 15:54:00 +0100") User-Agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 56 Xref: main.gmane.org gmane.emacs.gnus.general:34347 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:34347 Peter.Weiss@Class.de writes: > >>>>> On 19 Jan 2001 09:33:47 -0500, ShengHuo ZHU said: > > ZSH> Peter.Weiss@Class.de writes: > >> Hello all, > >> > >> having upgraded to version 5.8.8 I also fiddled a little around with > >> gnus-summary-line-format: > >> > >> > >> (setq gnus-extra-headers '(To Newsgroups) > >> nnmail-extra-headers gnus-extra-headers > >> gnus-summary-line-format "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n" > >> ;; well, that's not the best but works for all environments: > >> gnus-ignored-from-addresses (concat user-mail-address ".*")) > >> > >> The thing that this setting doesn't match is %f formatstring, when using > >> another "From:" header for my own address. > >> > >> Is there way to force the formatting to use the "To:" field instead the > >> "From:" field for some special groups, even when the From: header differs > >> from my own address? > > ZSH> You miss one step, rebuilding the NOV databases. If you are using > ZSH> nnml, `M-x nnml-generate-nov-databases RET' does it. > > Hello, > > thanks for the quick answer, but sorry, this doesn't work. This copy of > a summary buffer shows the situation before and after setting the "From" > header in that nnfolder+archive group: > > ! [ 22: -> ding@gnus.org ] Summary Line based on folder type > ! [ 29: Peter.Weiss@Class.de] Gnus 5.8.8 and gnus-summary-line-format (%f) > > Of course I prefer the first one. Opps, I made a mistake. gnus-ignored-from-addresses is a regexp. If you want to ignore all from addresses, you can (setq gnus-ignored-from-addresses ".*") If you only want to ignore a few your own address, the following may help. (setq gnus-ignored-from-addresses (concat "(nobody)\\|" (regexp-quote user-mail-address) "\\|" (regexp-quote YOUR-SECOND-MAIL-ADDRESS) "\\|" (regexp-quote YOUR-THIRD-MAIL-ADDRESS))) [ (nobody) is used when there is no FROM address. ] ShengHuo