Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Cc: ding@gnus.org
Subject: Re: Newsgroup header sorted last in summary toggle
Date: Fri, 21 Mar 2003 20:35:06 +0100	[thread overview]
Message-ID: <ilu4r5w4iol.fsf@latte.josefsson.org> (raw)
In-Reply-To: <m3adfqi39r.fsf@P54276.Wdf.SAP.Corp.i-did-not-set--mail-host-address--so-tickle-me> (Klaus Straubinger's message of "Thu, 20 Mar 2003 14:19:44 +0100 (CET)")

Klaus Straubinger <ksnetz@arcor.de> writes:

> The function gnus-summary-toggle-header does
>
>     (run-hooks 'gnus-article-decode-hook)
>
> which in turn calls, at least with the default value of this hook
> variable, the function article-decode-group-name. There,
>
>     (nnheader-replace-header "Newsgroups" ...
>
> takes place, which deletes the Newsgroups header and inserts it right
> again, but at the end of headers, destroying the beautiful sort order
> of the headers.
>
> For me it seems not necessary to call this function at all, but who am
> I to know it.

Right, I have now made it less destructive.  Thanks for pointing this
out.

(It would be nice if `article-decode-group-name' didn't depend on
*Original Article* buffer, but I wasn't able to make it so; I tried
various combinations of string-as-unibyte, string-make-unibyte and
reordering gnus-article-decode-hook.  Maybe someone would like to take
a look on how to do it properly.)




      reply	other threads:[~2003-03-21 19:35 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-20 13:19 Klaus Straubinger
2003-03-21 19:35 ` Simon Josefsson [this message]

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=ilu4r5w4iol.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    --cc=ding@gnus.org \
    /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).