From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19999 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: Re: alternate button push? Date: 22 Dec 1998 10:36:31 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158284 14730 80.91.224.250 (20 Oct 2002 23:58:04 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:58:04 +0000 (UTC) Return-Path: Original-Received: from tetsuo.mspring.net (tetsuo.mspring.net [207.69.231.11]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id LAA06753 for ; Tue, 22 Dec 1998 11:39:04 -0500 (EST) Original-Received: from lisa.math.uh.edu (lisa.math.uh.edu [129.7.128.49]) by tetsuo.mspring.net (8.8.8/8.8.6) with ESMTP id LAA05514 for ; Tue, 22 Dec 1998 11:38:53 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by lisa.math.uh.edu (8.9.1/8.9.1) with ESMTP id KAA17141; Tue, 22 Dec 1998 10:38:30 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 22 Dec 1998 10:38:36 -0600 (CST) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.7.3/8.7.3) with ESMTP id KAA10687 for ; Tue, 22 Dec 1998 10:38:25 -0600 (CST) Original-Received: from gatekeeper2.monsanto.com (firewall-user@gatekeeper2.monsanto.com [199.89.234.124]) by sclp3.sclp.com (8.8.5/8.8.5) with SMTP id LAA06723 for ; Tue, 22 Dec 1998 11:38:10 -0500 (EST) Original-Received: by gatekeeper2.monsanto.com; id KAA07797; Tue, 22 Dec 1998 10:33:11 -0600 Original-Received: from mhstl1.monsanto.com(10.135.250.82) by gatekeeper2.monsanto.com via smap (4.1) id xma006113; Tue, 22 Dec 98 10:31:55 -0600 Original-Received: from [137.35.49.136] by mhstl1.monsanto.com; (5.65v3.2/1.1.8.2/02Sep98-1041AM) id AA12714; Tue, 22 Dec 1998 10:36:33 -0600 Original-To: ding@gnus.org X-Zippy: Uh-oh!! I forgot to submit to COMPULSORY URINALYSIS! In-Reply-To: Hrvoje Niksic's message of "Mon, 21 Dec 1998 23:49:51 +0100" User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 23 Xref: main.gmane.org gmane.emacs.gnus.general:19999 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19999 >>>>> "Hrvoje" == Hrvoje Niksic writes: Hrvoje> Try setting gnus-widget-button-keymap to something you can use. For Hrvoje> instance: [snip] This doesn't do anything for me. Gnus doesn't think [C-return] on the gnus-widget-button-keymap is terribly interesting. In fact 'C-h k C-return' tells me there is nothing bound to it in the *Article* buffer. I set this key to gnus-article-mode-map and it works just fine. The next question involves writing this function. I have a rather messy looking thing that looks at both the gnus-data text property (for MIME) and the gnus-button-entry (for other buttons, like URL's). Is this going to change as Lars updates the button handling routines? Is there an easier way to test for the kind of button that was pressed? I could imagine things like button-url-p, button-signature-p, button-citation-p, button-mime-p, and so forth. -- Jack Vinson http://www.cis.upenn.edu/~vinson/ Zippy: I'm totally DESPONDENT over the LIBYAN situation and the price of CHICKEN..