Gnus development mailing list
 help / color / mirror / Atom feed
From: Hrvoje Niksic <hniksic@srce.hr>
Subject: Re: alternate button push?
Date: 21 Dec 1998 23:49:51 +0100	[thread overview]
Message-ID: <kigd85dw1o0.fsf@jagor.srce.hr> (raw)
In-Reply-To: Jack Vinson's message of "21 Dec 1998 16:43:24 -0600"

Jack Vinson <jvinson@chevax.ecs.umass.edu> writes:

> 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?

Try setting gnus-widget-button-keymap to something you can use.  For
instance:

(setq gnus-widget-button-keymap (make-sparse-keymap))
(define-key gnus-widget-button-keymap [mouse-2] 'your-function)
(define-key gnus-widget-button-keymap [return] 'your-function)

(defun your-function (event)
  (interactive "e")
  ...)



  reply	other threads:[~1998-12-21 22:49 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
1998-12-21 22:49     ` Hrvoje Niksic [this message]
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=kigd85dw1o0.fsf@jagor.srce.hr \
    --to=hniksic@srce.hr \
    /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).