Gnus development mailing list
 help / color / mirror / Atom feed
From: Jack Vinson <jvinson@chevax.ecs.umass.edu>
Subject: Re: alternate button push?
Date: 21 Dec 1998 16:43:24 -0600	[thread overview]
Message-ID: <wkbtkxglpv.fsf@chevax.ecs.umass.edu> (raw)
In-Reply-To: Hrvoje Niksic's message of "Sun, 20 Dec 1998 00:45:07 +0100"

>>>>> "Hrvoje" == Hrvoje Niksic <hniksic@srce.hr> writes:

Hrvoje> Jack Vinson <jvinson@chevax.ecs.umass.edu> 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)] <your-command>)

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 <jvinson@chevax.ecs.umass.edu>    http://www.cis.upenn.edu/~vinson/
Zippy: FUN is never having to say you're SUSHI!!



  reply	other threads:[~1998-12-21 22:43 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-12-16 17:46 Jack Vinson
1998-12-19 21:53 ` Lars Magne Ingebrigtsen
1998-12-19 23:45 ` Hrvoje Niksic
1998-12-21 22:43   ` Jack Vinson [this message]
1998-12-21 22:49     ` Hrvoje Niksic
1998-12-22 16:36       ` Jack Vinson
1998-12-23 14:25         ` Hrvoje Niksic
1998-12-21 23:13     ` Kai.Grossjohann
1998-12-22 19:10       ` Dave Love
1998-12-22 23:16         ` Kai.Grossjohann
1998-12-23 14:24         ` Hrvoje Niksic
1998-12-28 12:53           ` Robert Bihlmeyer
1998-12-28 15:02             ` Hrvoje Niksic

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=wkbtkxglpv.fsf@chevax.ecs.umass.edu \
    --to=jvinson@chevax.ecs.umass.edu \
    /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).