Gnus development mailing list
 help / color / mirror / Atom feed
From: Paul Stevenson <spaul@mail.phy.ornl.gov>
Subject: Re: Name washing
Date: 17 Dec 1999 08:47:57 -0500	[thread overview]
Message-ID: <m2u2lh8yr6.outnumbered@bethe.phy.ornl.gov> (raw)
In-Reply-To: Jonas Steverud's message of "15 Dec 1999 09:59:52 +0100"

Jonas Steverud <d4jonas@dtek.chalmers.se> writes:

> Paul Stevenson <spaul@mail.phy.ornl.gov> writes:
> 
> [...]
> > (defun gnus-user-format-function-a (headers)
> >   (let ((name (aref headers 2)))
> >     (ps-wash-name name)))
> 
> How does that work with the documentation? "The function will be
> passed a single dummy parameter as argument." (node: Group Line
> Specification)  ^^^^^
> 
> Bug in the documentation?

>From the 5.8.2 docs which I just printed, section 3.1.1 [Summary
Buffer Lines]  I got "the function[1] will be passed the current
header as argument". It didn't say in what form it would be, but I saw
that it was a vector, with the From: line as its second element.  I'm
a bit worried that this is not the right way to do it.  

It probably wasn't a waste of time, after all, since getting the plain
name sans email address as a string means that I can do the extra
length reduction (turning first names into initials) as I had outlined
in the first mail.

[1] The gnus-user-format-function-X




  parent reply	other threads:[~1999-12-17 13:47 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-12-14 20:51 Paul Stevenson
1999-12-14 21:48 ` Paul Stevenson
1999-12-14 22:04   ` Paul Stevenson
     [not found]   ` <wtniu20lgtz.fsf@licia.dtek.chalmers.se>
1999-12-17 13:47     ` Paul Stevenson [this message]
1999-12-21 20:52       ` Kai Großjohann
1999-12-15 11:04 ` Toby Speight

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=m2u2lh8yr6.outnumbered@bethe.phy.ornl.gov \
    --to=spaul@mail.phy.ornl.gov \
    /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).