From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19985 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: Re: alternate button push? Date: 21 Dec 1998 16:43:24 -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 1035158261 14569 80.91.224.250 (20 Oct 2002 23:57:41 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:57:41 +0000 (UTC) Return-Path: Original-Received: from karazm.math.uh.edu (karazm.math.uh.edu [129.7.128.1]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id RAA17446 for ; Mon, 21 Dec 1998 17:44:47 -0500 (EST) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by karazm.math.uh.edu (8.9.1/8.9.1) with ESMTP id QAB02479; Mon, 21 Dec 1998 16:44:35 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 21 Dec 1998 16:44:13 -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 QAA03385 for ; Mon, 21 Dec 1998 16:44:05 -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 RAA17426 for ; Mon, 21 Dec 1998 17:43:57 -0500 (EST) Original-Received: by gatekeeper2.monsanto.com; id QAA11643; Mon, 21 Dec 1998 16:39:02 -0600 Original-Received: from mhstl1.monsanto.com(10.135.250.82) by gatekeeper2.monsanto.com via smap (4.1) id xma011437; Mon, 21 Dec 98 16:38:47 -0600 Original-Received: from [137.35.49.136] by mhstl1.monsanto.com; (5.65v3.2/1.1.8.2/02Sep98-1041AM) id AA10582; Mon, 21 Dec 1998 16:43:24 -0600 Original-To: ding@gnus.org X-Zippy: I'm in LOVE with DON KNOTTS!! In-Reply-To: Hrvoje Niksic's message of "Sun, 20 Dec 1998 00:45:07 +0100" User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 21 Xref: main.gmane.org gmane.emacs.gnus.general:19985 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19985 >>>>> "Hrvoje" == Hrvoje Niksic writes: Hrvoje> Jack Vinson writes: >> Is there a way to set up code for an "alternate" button press? >> Normally, I want the default button behavior in Gnus. Sometimes, >> however, I want to do something different with the thing under the >> button. Hrvoje> Modify `gnus-mime-button-map'. For instance: Hrvoje> (define-key gnus-mime-button-map [(control return)] ) I had to simply define-key for [C-return] in the gnus-article-mode-map. I have created a function which does _something_ different with a URL, but it isn't very elegant. Is there a good place to look for pointers on how to deal with the text properties that have been set for buttons? Lars suggested gnus-data, but I don't know what to do with it once I have it. -- Jack Vinson http://www.cis.upenn.edu/~vinson/ Zippy: FUN is never having to say you're SUSHI!!