From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/75997 Path: news.gmane.org!not-for-mail From: Francis Moreau Newsgroups: gmane.emacs.gnus.general Subject: Re: Topic mode, too limited ? Date: Wed, 26 Jan 2011 20:12:29 +0100 Message-ID: References: <87bp3772eh.fsf@gnus.org> <87y66acica.fsf@lifelogs.com> <871v429h9k.fsf@lifelogs.com> <87pqrm7z7x.fsf@lifelogs.com> <87fwsh3pag.fsf@lifelogs.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296069234 18445 80.91.229.12 (26 Jan 2011 19:13:54 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 26 Jan 2011 19:13:54 +0000 (UTC) Cc: ding@gnus.org To: Ted Zlatanov Original-X-From: ding-owner+M24349@lists.math.uh.edu Wed Jan 26 20:13:47 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PiAoN-00062t-8K for ding-account@gmane.org; Wed, 26 Jan 2011 20:13:47 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PiAnR-0004Vy-HZ; Wed, 26 Jan 2011 13:12:49 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PiAnO-0004Vi-MV for ding@lists.math.uh.edu; Wed, 26 Jan 2011 13:12:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PiAnN-0003qe-4N for ding@lists.math.uh.edu; Wed, 26 Jan 2011 13:12:46 -0600 Original-Received: from mail-ww0-f48.google.com ([74.125.82.48]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1PiAnM-0008K6-7E for ding@gnus.org; Wed, 26 Jan 2011 20:12:44 +0100 Original-Received: by wwd20 with SMTP id 20so1289003wwd.5 for ; Wed, 26 Jan 2011 11:12:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:to:cc:subject:references:mail-followup-to :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=XC8KASqFwGha2fYK2LuzbdI1TdRKw4m1k9LPhdFOzr4=; b=uZXvUFgfqUZMaE65E1msHxfqtfbzdAdeaell4+o+IQOzjoh091QgvDcniXB+ok4LAj G6rX7JNlU2KbdtR73RvbM3H2N8mx8YkP8GHokxo76a2uRqkyDs+MbBgcFnUr/ingya0b p8/lnSz/+gmLjRMJOuAQUX5Js1swX4PHY+x+w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:mail-followup-to:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=ql2bS3I1VP/UpRM+BsB29c7bKpy3akH4dH3+87PEkqytZWmOdR6se5Y8pJwMycLXxx k6BqYsD3XgvqsJWNjhfAxCYZBtX5oOevvdCsRICRGf7EGutc3D8esXQ9QLjyf88YLxrG smg+6HVAn1/DeZ75EmIawSZnpcvlGHBjFLZn4= Original-Received: by 10.227.2.193 with SMTP id 1mr1676844wbk.50.1296069157986; Wed, 26 Jan 2011 11:12:37 -0800 (PST) Original-Received: from localhost (au213-1-82-235-205-153.fbx.proxad.net [82.235.205.153]) by mx.google.com with ESMTPS id a50sm6396560wer.18.2011.01.26.11.12.33 (version=TLSv1/SSLv3 cipher=RC4-MD5); Wed, 26 Jan 2011 11:12:34 -0800 (PST) Mail-Followup-To: Ted Zlatanov , ding@gnus.org In-Reply-To: <87fwsh3pag.fsf@lifelogs.com> (Ted Zlatanov's message of "Tue, 25 Jan 2011 10:45:43 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:75997 Archived-At: Ted Zlatanov writes: > On Tue, 25 Jan 2011 06:39:12 +0100 Francis Moreau wrote: > > FM> Ted Zlatanov writes: >>> On Mon, 24 Jan 2011 21:34:59 +0100 Francis Moreau wrote: >>> > FM> Ted Zlatanov writes: >>>>> >>>>> 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) >>> > FM> You're a wizzard ! >>> > FM> I mean, how that 'name' symbol came into the picture ? >>> > FM> I haven't find a trace of it in the doc... >>> >>> I *think* I copied it from someone. Or maybe I looked at gnus-topic.el >>> and gnus-spec.el. It's lexically scoped and pretty complicated code. > > FM> Do you think 'name' is part of the API I can use enough so I can use it > FM> reliably ? > > There's no API. It's just a lexical variable. If Lars wants to make it > an official API he can, but I don't know if that's useful. Lars, would you mind to add this information part of the API by using the unused parameter of gnus-user-format-function-topic-line. That would make a change which should be backward compatible. Thanks -- Francis