emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: precedence of the keymap property


From: Pavel Janík
Subject: Re: precedence of the keymap property
Date: Thu, 03 Jan 2002 11:43:22 +0100
User-agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.1.50 (i386-suse-linux-gnu)

   From: Richard Stallman <address@hidden>
   Date: Wed, 2 Jan 2002 17:30:59 -0700 (MST)

Hi,

   >    I would suggest to promote the keymap property to take precedence
   >    over the minor mode keymaps.
   > 
   > I wrote that change myself.  The resulting Emacs does basically work.
   > Do you want to see if it achieves the goal?

this change will cause Emacs to segfault from time to time:

Program received signal SIGSEGV, Segmentation fault.
0x080de217 in access_keymap (map=88, idx=405489228, t_ok=2, noinherit=0, 
    autoload=1) at keymap.c:541
541         for (tail = XCDR (map);

(gdb) where
#0  0x080de217 in access_keymap (map=88, idx=405489228, t_ok=2, noinherit=0, 
    autoload=1) at keymap.c:541
#1  0x080d8e00 in follow_key (key=405489228, nmaps=7, current=0xbfffef14, 
    defs=0xbfffeef4, next=0xbfffef14) at keyboard.c:7853
#2  0x080d9e87 in read_key_sequence (keybuf=0xbffff084, bufsize=30, 
    prompt=405256156, dont_downcase_last=0, can_return_switch_frame=1, 
    fix_current_buffer=1) at keyboard.c:8582
#3  0x080d1974 in command_loop_1 () at keyboard.c:1437
#4  0x08124e65 in internal_condition_case (bfun=0x80d1680 <command_loop_1>, 
    handlers=405352548, hfun=0x80d12b8 <cmd_error>) at eval.c:1298
#5  0x080d1558 in command_loop_2 () at keyboard.c:1243
#6  0x081249f1 in internal_catch (tag=405313900, 
    func=0x80d1534 <command_loop_2>, arg=405256156) at eval.c:1058
#7  0x080d1502 in command_loop () at keyboard.c:1222
#8  0x080d105d in recursive_edit_1 () at keyboard.c:948
#9  0x080d1190 in Frecursive_edit () at keyboard.c:1004
#10 0x080d0012 in main (argc=3, argv=0xbffff644, envp=0xbffff654)
    at emacs.c:1600
#11 0x403307ee in __libc_start_main () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) y

This happened about five times for me today.
-- 
Pavel Janík

panic ("No CPUs found.  System halted.\n");
                  -- 2.4.3 arch/parisc/kernel/setup.c



reply via email to

[Prev in Thread] Current Thread [Next in Thread]