From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/19905 Path: main.gmane.org!not-for-mail From: Jack Vinson Newsgroups: gmane.emacs.gnus.general Subject: alternate button push? Date: 16 Dec 1998 11:46:21 -0600 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 X-Trace: main.gmane.org 1035158170 13991 80.91.224.250 (20 Oct 2002 23:56:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sun, 20 Oct 2002 23:56:10 +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 MAA24879 for ; Wed, 16 Dec 1998 12:48:34 -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 LAB00142; Wed, 16 Dec 1998 11:47:26 -0600 (CST) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Wed, 16 Dec 1998 11:47:32 -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 LAA05671 for ; Wed, 16 Dec 1998 11:47:18 -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 MAA24851 for ; Wed, 16 Dec 1998 12:47:07 -0500 (EST) Original-Received: by gatekeeper2.monsanto.com; id LAA11421; Wed, 16 Dec 1998 11:42:28 -0600 Original-Received: from mhstl1.monsanto.com(10.135.250.82) by gatekeeper2.monsanto.com via smap (4.1) id xma010492; Wed, 16 Dec 98 11:41:52 -0600 Original-Received: from [137.35.49.136] by mhstl1.monsanto.com; (5.65v3.2/1.1.8.2/02Sep98-1041AM) id AA06087; Wed, 16 Dec 1998 11:46:24 -0600 Original-To: ding@gnus.org X-Zippy: Who wants some OYSTERS with SEN-SEN an' COOL WHIP? User-Agent: Gnus/5.070068 (Pterodactyl Gnus v0.68) Emacs/20.3 Precedence: list X-Majordomo: 1.94.jlt7 Original-Lines: 17 Xref: main.gmane.org gmane.emacs.gnus.general:19905 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:19905 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. For example, the code that Stefan Waldherr just sent: Standard behavior is to save the object. I might want an alternate behavior that simply opens the object for view in the article buffer (or another buffer). With an html link, I might want to fire up my default browser as a normal action and fire up w3 as an alternate action. I was thinking that I could bind C-Return to the alternate, but it appears there are special text properties associated with buttons and I don't know if we can set these ourselves. -- Jack Vinson http://www.cis.upenn.edu/~vinson/ Zippy: ...Get me a GIN and TONIC!!...make it HAIR TONIC!!