[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Describing local-map/keymap in overlays/text properties
From: |
Lars Magne Ingebrigtsen |
Subject: |
Re: Describing local-map/keymap in overlays/text properties |
Date: |
Mon, 08 Jul 2013 16:14:14 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
After all this discussion, it turns out that there's already code for
outputting this data in `describe-buffer-bindings':
start1 = get_local_map (BUF_PT (XBUFFER (buffer)),
XBUFFER (buffer), Qkeymap);
if (!NILP (start1))
{
describe_map_tree (start1, 1, shadow, prefix,
"\f\n`keymap' Property Bindings", nomenu,
0, 0, 0);
shadow = Fcons (start1, shadow);
}
I only found this out after implementing just this again, in exactly the
same manner. :-/
However! It doesn't work. get_local_map seems to return Qnil always
when fed Qkeymap. And I don't quite understand why. I must be
overlooking something pretty obvious again...
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- Describing local-map/keymap in overlays/text properties, Lars Magne Ingebrigtsen, 2013/07/04
- Re: Describing local-map/keymap in overlays/text properties, Andreas Schwab, 2013/07/05
- Re: Describing local-map/keymap in overlays/text properties, Lars Ingebrigtsen, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Eli Zaretskii, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Lars Ingebrigtsen, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Eli Zaretskii, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Lars Ingebrigtsen, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Eli Zaretskii, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Lars Ingebrigtsen, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Eli Zaretskii, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties,
Lars Magne Ingebrigtsen <=
- Re: Describing local-map/keymap in overlays/text properties, Lars Magne Ingebrigtsen, 2013/07/08
- Re: Describing local-map/keymap in overlays/text properties, Stephen Leake, 2013/07/06
- RE: Describing local-map/keymap in overlays/text properties, Drew Adams, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, James Cloos, 2013/07/06
- Re: Describing local-map/keymap in overlays/text properties, Andreas Schwab, 2013/07/07
- Re: Describing local-map/keymap in overlays/text properties, James Cloos, 2013/07/07
- RE: Describing local-map/keymap in overlays/text properties, Drew Adams, 2013/07/06