Gnus development mailing list
 help / color / mirror / Atom feed
From: Karl Kleinpaste <karl@jprc.com>
Subject: Re: new NOV stuff in p0.40
Date: 25 Oct 1998 21:15:25 -500	[thread overview]
Message-ID: <vxkww5o5arm.fsf@pocari-sweat.jprc.com> (raw)
In-Reply-To: Karl Kleinpaste's message of "25 Oct 1998 20:40:17 -500"

>> You have to use the %f spec to get to-or-newsgroup-or-from:
>> (setq gnus-summary-line-format
>>       "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n")

> Ah, that's what I missed.  I hack my summary format, using
> gnus-select-group-hook, and didn't notice that.  Thanx for the clue.

This doesn't appear to be working, or I'm misusing it somehow.

Same scenario as before, self-mailing to an alias.  Gcc'd and
delivered copies' .overview lines:

329	'nother test	Karl Kleinpaste <karl@charcoal.com>	25 Oct 1998 20:49:30 -500	<vxkzpakozx1.fsf@mesquite.charcoal.com>		12	1	Xref: mesquite.charcoal.com personal.karl:329	Keywords: basic,testing,hmmm	To: usenet@charcoal.com	
330	'nother test	Karl Kleinpaste <karl@charcoal.com>	25 Oct 1998 20:49:30 -500	<vxkzpakozx1.fsf@mesquite.charcoal.com>		13	2	Xref: mesquite.charcoal.com personal.karl:330	Keywords: basic,testing,hmmm	To: usenet@charcoal.com	

Asking about the format variable rewards me with:

	`gnus-summary-line-format' is a variable declared in Lisp.

	Value: "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n"
	This value is specific to the current buffer.
	Its default-value is "%U%R%z%I%(%[%4L: %-20,20n%]%) %s\n"

(The doc string needs to be updated to reflect new default, BTW.)

Address string seems to be set properly:

(setq gnus-ignored-from-addresses "karl@charcoal\\.com\\|karl@jprc\\.com")

But it still displays my own name:

  :                          : 'nother test
R +    [   1: Karl Kleinpaste     ] 
R +    [   2: Karl Kleinpaste     ] 

It's hook-selected:

(setq gnus-select-group-hook
      (function
       (lambda ()
	 ;; Ignore From: in summary for certain groups.
	 (cond ((or	(string-match "clari." gnus-newsgroup-name))
		(setq gnus-summary-line-format
		      "%U%R%z%I%(%[%4L: %-6,6n%]%)   %s\n"))
	       ((or (string-match "comp.sources" gnus-newsgroup-name)
		    (string-match "dow-jones" gnus-newsgroup-name)
		    (string-match "comp.internet.net-happening" gnus-newsgroup-name))
		(setq gnus-summary-line-format
		      "%U%R%z%I%(%[%4L%]%)   %s\n"))
	       (t
		(setq gnus-summary-line-format
		      "%U%R%z%I%(%[%4L: %-20,20f%]%) %s\n")))	; p0.40+ %f from/to/ng.
	 ;; Put full newsgroup name in summary mode line for nnir.
	 (cond ((string-match "nnir:" gnus-newsgroup-name)
		(setq gnus-summary-mode-line-format
		      "Gnus: %G [%A] %Z"))
	       (t
		(setq gnus-summary-mode-line-format
		      "Gnus: %g [%A] %Z")))
	 )))

Ideas?


  reply	other threads:[~1998-10-26  2:15 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-26  0:18 Karl Kleinpaste
1998-10-26  0:37 ` Lars Magne Ingebrigtsen
1998-10-26  1:40   ` Karl Kleinpaste
1998-10-26  2:15     ` Karl Kleinpaste [this message]
1998-10-26  2:52       ` Lars Magne Ingebrigtsen
1998-10-26  8:17         ` Kai Grossjohann
1998-10-26  8:48           ` Lars Magne Ingebrigtsen
1998-10-26 10:12             ` Kai Grossjohann
1998-10-26  2:48     ` Lars Magne Ingebrigtsen
1998-10-28  5:51       ` Karl Kleinpaste
1998-10-28 13:38         ` Karl Kleinpaste

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=vxkww5o5arm.fsf@pocari-sweat.jprc.com \
    --to=karl@jprc.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).