From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46456 Path: main.gmane.org!not-for-mail From: Per Abrahamsen Newsgroups: gmane.emacs.gnus.general Subject: Re: Buttonize man page links Date: Mon, 09 Sep 2002 16:16:40 +0200 Organization: The Church of Emacs Sender: owner-ding@hpc.uh.edu Message-ID: References: <3D6FED17.6040201@yahoo.com.cn> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1031581110 25486 127.0.0.1 (9 Sep 2002 14:18:30 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 14:18:30 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17oPMy-0006cs-00 for ; Mon, 09 Sep 2002 16:18:28 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17oPMZ-0004uL-00; Mon, 09 Sep 2002 09:18:03 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 09 Sep 2002 09:18:39 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id JAA08161 for ; Mon, 9 Sep 2002 09:18:24 -0500 (CDT) Original-Received: (qmail 17302 invoked by alias); 9 Sep 2002 14:17:40 -0000 Original-Received: (qmail 17297 invoked from network); 9 Sep 2002 14:17:39 -0000 Original-Received: from sheridan.dina.kvl.dk (130.225.40.227) by gnus.org with SMTP; 9 Sep 2002 14:17:39 -0000 Original-Received: from zuse.dina.kvl.dk (zuse.dina.kvl.dk [130.225.40.245]) by sheridan.dina.kvl.dk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA20380 for ; Mon, 9 Sep 2002 16:17:11 +0200 Original-Received: (from abraham@localhost) by zuse.dina.kvl.dk (8.9.3+Sun/8.9.3) id QAA12709; Mon, 9 Sep 2002 16:16:40 +0200 (MEST) X-Authentication-Warning: zuse.dina.kvl.dk: abraham set sender to abraham@dina.kvl.dk using -f Original-To: ding@gnus.org X-Face: +kRV2]2q}lixHkE{U)mY#+6]{AH=yN~S9@IFiOa@X6?GM|8MBp/ In-Reply-To: (Simon Josefsson's message of "Mon, 09 Sep 2002 15:12:59 +0200") Original-Lines: 23 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (sparc-sun-solaris2.8) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46456 Simon Josefsson writes: > But Customize behaves rather weird on it, when I mouse-2 to change it > to woman it works, but when I mouse-2 and select man again, nothing > happens. Is the :type bad? Yes, use function-item instead of function for consts. (defcustom gnus-button-man-handler 'man "Function to use for displaying man pages. The function must take at least one argument with a string naming the man page." :type '(choice (function-item :tag "Man" man) (function-item :tag "Woman" woman) (function :tag "Other")) :group 'gnus-article-buttons) > I like it. But maybe there should be some policy, I have a feeling we > are beginning to add a gazillion buttons. Maybe things will get slow. > Do people care? Opinions? We might want button types specific for groups whose name match some regexp.