Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Topic mode, too limited ?
Date: Mon, 24 Jan 2011 14:30:15 -0600	[thread overview]
Message-ID: <871v429h9k.fsf@lifelogs.com> (raw)
In-Reply-To: <m2wrluuk68.fsf@gmail.com>

On Mon, 24 Jan 2011 21:21:51 +0100 Francis Moreau <francis.moro@gmail.com> wrote: 

FM> Ted Zlatanov <tzz@lifelogs.com> writes:
>> On Sun, 23 Jan 2011 22:09:42 +0100 Lars Ingebrigtsen <larsi@gnus.org> wrote: 
>> 
LI> Topic names, like group names, have to be unique in Gnus.
>> 
>> `gnus-topic-topology' should be OK with non-unique names.

FM> From the manual:

FM>   That variable is saved in the `.newsrc.eld' file, and shouldn't be
FM>   messed with manually--unless you really want to.

FM> Quite frankly, I don't feel bold enough to play with this one...

FM> Altering gnus-topic-line-format to not show the prefix should be ok but
FM> I don't know how to do it.

I meant that for Lars, meaning that there's one central place where
topic names are assumed to be unique.  Sorry if I confused you, implying
you could edit it yourself.

I have played with gnus-topic-line-format a little and it should be
fairly easy:

;; set the format to use the function below (%i is indentation)
(setq gnus-topic-line-format "%i[ %u&topic-line; ] %v\n")

;; this function will return some string you can use, here it's just the topic name
(defun gnus-user-format-function-topic-line (dummy)
  name)

So you just need to write that function to return some transformation of
the actual topic name.  Then a topic like x.y.z could be transformed to
z or whatever you need.

Ted




  reply	other threads:[~2011-01-24 20:30 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-23 14:18 Francis Moreau
2011-01-23 21:09 ` Lars Ingebrigtsen
2011-01-23 22:46   ` Francis Moreau
2011-01-23 23:08     ` Lars Ingebrigtsen
2011-01-23 23:25       ` Francis Moreau
2011-01-23 23:12   ` Francis Moreau
2011-01-24 17:38   ` Ted Zlatanov
2011-01-24 20:21     ` Francis Moreau
2011-01-24 20:30       ` Ted Zlatanov [this message]
2011-01-24 20:34         ` Francis Moreau
2011-01-24 21:45           ` Ted Zlatanov
2011-01-25  5:39             ` Francis Moreau
2011-01-25 16:45               ` Ted Zlatanov
2011-01-26 19:12                 ` Francis Moreau
2011-01-27  1:30                   ` Lars Ingebrigtsen
2011-01-27  9:06                     ` Francis Moreau
2011-01-27 23:44                       ` Lars Ingebrigtsen

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=871v429h9k.fsf@lifelogs.com \
    --to=tzz@lifelogs.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).