From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46450 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: Buttonize man page links Date: Mon, 09 Sep 2002 15:12:59 +0200 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 1031577251 12112 127.0.0.1 (9 Sep 2002 13:14:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 9 Sep 2002 13:14:11 +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 17oOMi-00039A-00 for ; Mon, 09 Sep 2002 15:14:08 +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 17oOM6-0004AE-00; Mon, 09 Sep 2002 08:13:30 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 09 Sep 2002 08:14:06 -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 IAA07950 for ; Mon, 9 Sep 2002 08:13:52 -0500 (CDT) Original-Received: (qmail 16392 invoked by alias); 9 Sep 2002 13:13:07 -0000 Original-Received: (qmail 16387 invoked from network); 9 Sep 2002 13:13:07 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by gnus.org with SMTP; 9 Sep 2002 13:13:07 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.6/8.12.6) with ESMTP id g89DD3n3017150 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Mon, 9 Sep 2002 15:13:03 +0200 Original-To: ding@gnus.org Mail-Copies-To: nobody X-Hashcash: 0:020909:ding@gnus.org:403da16869f21675 In-Reply-To: (Reiner Steib's message of "Mon, 09 Sep 2002 14:43:43 +0200") Original-Lines: 62 User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46450 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46450 Reiner Steib <4uce.02.r.steib@gmx.net> writes: > Could we have an option to allow to specify the function to use? I'd > prefer `woman' (Emacs 21) instead of `man'. Or should I really use > "(fset 'man 'woman)"? That's not very customize friendly. I added the variable `gnus-button-man-handler'. 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? (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 :tag "Man" man) (function :tag "Woman" woman) function) :group 'gnus-article-buttons) > And, what about your idea [1] to make customize-links buttonized? > > - M-x customize-variable RET gnus-list-identifiers RET > - M-x customize-group RET gnus-article-treat RET > > I'd also like the following to be buttonized: > > - C-h v gnus-version RET > - C-h f gnus RET > - f gnus RET > - M-x apropos foo RET > - M-x apropos-variable foo RET > - M-x apropos-command foo RET > - ... > > At least the commands related to help or custom would be useful. And I > don't think that they are more dangerous than links as > . Sure, to buttonize all `M-x foo RET'-expressions > would be too dangerous. 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? IMHO as long as false positives are very uncommon, I like the buttons. > Another feature request: > > Gnus shows news: as links. But many people put MIDs in the > text without "news:" () or even without "<" and ">" > (mid@fqdn). WIBNI Gnus would buttonize those too? I know, that it's > not really possible to distinguish MID's and mail addresses (without > "mailto:") in this case. But couldn't we have a variable to allow: > > (a) always treat as MID > (b) always treat as mail address > (c) ask user > (d) don't buttonize at all Patches are welcome, I think. :-)