From: Per Abrahamsen <abraham@dina.kvl.dk>
Cc: ding@ifi.uio.no
Subject: Re: `local-map' text property
Date: Mon, 18 Dec 1995 13:54:04 +0100 [thread overview]
Message-ID: <199512181254.NAA09112@ssv4.dina.kvl.dk> (raw)
In-Reply-To: Lars Magne Ingebrigtsen's message of 17 Dec 1995 16:55:44 +0100
>>>>> "LMI" == Lars Magne Ingebrigtsen <larsi@ifi.uio.no> writes:
LMI> I just can't seem to get that to work:
LMI> (local-map (keymap (97 . gnus-article-prev-page)
LMI> (mouse-2 . gnus-article-prev-page)))
Works for me when I test it as below. The second line doesn't do
anything useful though, as the local map property is activated by
point, not by the mouse location.
(defvar mymap (make-sparse-keymap))
(define-key mymap "a" "hello")
(put-text-property 1 7 'local-map mymap)
prev parent reply other threads:[~1995-12-18 12:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1995-12-17 15:55 Lars Magne Ingebrigtsen
1995-12-18 12:54 ` Per Abrahamsen [this message]
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=199512181254.NAA09112@ssv4.dina.kvl.dk \
--to=abraham@dina.kvl.dk \
--cc=ding@ifi.uio.no \
/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).