Gnus development mailing list
 help / color / mirror / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: Re: Buttonize man page links
Date: Mon, 09 Sep 2002 15:12:59 +0200	[thread overview]
Message-ID: <iluelc31f38.fsf@latte.josefsson.org> (raw)
In-Reply-To: <v9y9abib9c.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Mon, 09 Sep 2002 14:43:43 +0200")

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
> - <f1> 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
> <info://gnus/Top>. 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:<mid@fqdn> as links. But many people put MIDs in the
> text without "news:" (<mid@fqdn>) 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. :-)




  reply	other threads:[~2002-09-09 13:12 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <lcoumukovevvjjmjdn1svsl8ns6316aoca@4ax.com>
     [not found] ` <3D6FED17.6040201@yahoo.com.cn>
     [not found]   ` <m3ptvr2j4k.fsf@hartford-hwp.com>
     [not found]     ` <ilu8z2c4hl5.fsf@latte.josefsson.org>
     [not found]       ` <alfu5t$m59$1@quimby.gnus.org>
2002-09-09 12:43         ` Reiner Steib
2002-09-09 13:12           ` Simon Josefsson [this message]
2002-09-09 14:12             ` Reiner Steib
2002-09-09 14:16             ` Per Abrahamsen
2002-09-09 17:15               ` Andreas Fuchs
2002-09-10  7:26             ` Mats Lidell
2002-09-18 20:41             ` [patch] More buttons for emacs stuff, MIDs, mail addresses (was: Buttonize man page links) Reiner Steib
2002-09-19 11:42               ` [patch] More buttons for emacs stuff, MIDs, mail addresses Reiner Steib
2002-09-20 15:58               ` Kai Großjohann
2002-09-23 18:12                 ` Reiner Steib
2002-09-23 19:55                   ` Kai Großjohann
2002-09-24  0:32                     ` Katsumi Yamaoka
2002-09-24  8:07                       ` Kai Großjohann
2002-09-24 12:40                         ` Katsumi Yamaoka
2002-09-24 20:28                         ` XEmacs compiler warnings (was: [patch] More buttons for emacs stuff, MIDs, mail addresses) Reiner Steib
2002-09-25 13:16                           ` XEmacs compiler warnings Kai Großjohann
2002-09-25 17:44                             ` Reiner Steib
2002-09-24 20:29                       ` [patch] More buttons for emacs stuff, MIDs, mail addresses Reiner Steib
2002-09-24 20:39                         ` Paul Jarc
2002-09-24 22:15                           ` Reiner Steib
2002-09-25 13:52                         ` Kai Großjohann
2002-09-25 14:51                           ` Reiner Steib
2002-09-25 15:02                             ` Kai Großjohann
2002-09-24 19:28                   ` Raymond Scholz
2002-09-24 19:49                     ` Frank Schmitt
2002-09-24 20:56                     ` Reiner Steib
2002-10-16 17:20                       ` Raymond Scholz
2002-10-16 20:10                         ` Raymond Scholz
2002-10-17 15:03                         ` Reiner Steib
2002-12-29 17:55                       ` Lars Magne Ingebrigtsen
2002-12-30 17:58                         ` Reiner Steib
2003-01-01 19:09                           ` Lars Magne Ingebrigtsen
2003-01-01 20:38                             ` Reiner Steib
2003-01-01 20:59                               ` Lars Magne Ingebrigtsen
2003-01-07 18:21                                 ` Docu and menu patches for message.el/message.texi (was: [patch] More buttons for emacs stuff, MIDs, mail addresses) Reiner Steib
2003-01-08  4:08                                   ` Docu and menu patches for message.el/message.texi Lars Magne Ingebrigtsen
2003-01-08 12:03                                     ` Reiner Steib
2003-01-08 12:28                                       ` Lars Magne Ingebrigtsen
2003-01-08 15:12                                         ` Reiner Steib
2003-01-08 16:05                                           ` Lars Magne Ingebrigtsen
2003-01-02 16:47                         ` [patch] More buttons for emacs stuff, MIDs, mail addresses Reiner Steib
2003-01-02 18:00                           ` Henrik Enberg
2003-01-02 18:16                             ` Norbert Koch
2003-01-02 18:29                           ` Lars Magne 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=iluelc31f38.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /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).