emacs-devel
[Top][All Lists]
Advanced

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

Re: Changes for emacs 28


From: Ergus
Subject: Re: Changes for emacs 28
Date: Sat, 12 Sep 2020 05:22:32 +0200

On Fri, Sep 11, 2020 at 06:29:02PM -0300, Caio Henrique wrote:
Ergus <spacibba@aol.com> writes:

For me it happens always if I do:

emacs -Q
Do anything
C-/  (for undo)

Independently of how many times I do "undo" with C-/ it never gets
activated. If I click anywhere then it does.

Sorry, I still don't know what is wrong. Looking the code of other
buttons like copy and paste, I don't know what I'm missing.


Actually this seems to be a bug somewhere updating the {tool,menu}-bars.

Try this:

1) emacs -Q
2) Insert this in scratch:
(global-set-key [menu-bar edit] 'undefined)

3) And at the end of the line do:
C-x C-e

The menu-bar won't hide Edit menu until you click it and for me it
blocks emacs after that when I try to reinsert text.

The backtrace shows this:

(gdb) bt
#0  0x00007fa6ed75cc96 in pselect () at /usr/lib/libc.so.6
#1  0x000055def30f481c in really_call_select (arg=0x7ffde562dc70) at 
../../src/thread.c:592
#2  0x000055def30f55ff in flush_stack_call_func (arg=0x7ffde562dc70, 
func=0x55def30f47b0 <really_call_select>) at ../../src/lisp.h:3791
#3  thread_select (func=<optimized out>, max_fds=max_fds@entry=9, 
rfds=rfds@entry=0x7ffde562dd70, wfds=wfds@entry=0x7ffde562ddf0, efds=efds@entry=0x0, 
timeout=timeout@entry=0x7ffde562e3a0, sigmask=0x0)
    at ../../src/thread.c:624
#4  0x000055def310faeb in xg_select (fds_lim=9, rfds=rfds@entry=0x7ffde562e4b0, 
wfds=wfds@entry=0x7ffde562e530, efds=efds@entry=0x0, 
timeout=timeout@entry=0x7ffde562e3a0, sigmask=sigmask@entry=0x0)
    at ../../src/xgselect.c:131
#5  0x000055def30d2d85 in wait_reading_process_output
    (time_limit=time_limit@entry=0, nsecs=nsecs@entry=0, 
read_kbd=read_kbd@entry=-1, do_display=true, 
wait_for_cell=wait_for_cell@entry=0x0, wait_proc=wait_proc@entry=0x0, 
just_wait_proc=0)
    at ../../src/process.c:5601
#6  0x000055def301aa5d in kbd_buffer_get_event (end_time=0x0, 
used_mouse_menu=0x7ffde562ed1b, kbp=<synthetic pointer>) at 
../../src/lisp.h:1007
#7  read_event_from_main_queue (used_mouse_menu=0x7ffde562ed1b, 
local_getcjmp=0x7ffde562e940, end_time=0x0) at ../../src/keyboard.c:2156
#8  read_decoded_event_from_main_queue (used_mouse_menu=<optimized out>, prev_event=<optimized 
out>, local_getcjmp=<optimized out>, end_time=<optimized out>) at 
../../src/keyboard.c:2220
#9  read_char (commandflag=1, map=0x55def4e4b563, prev_event=0x0, 
used_mouse_menu=0x7ffde562ed1b, end_time=0x0) at ../../src/keyboard.c:2830
#10 0x000055def301d1d4 in read_key_sequence (keybuf=<optimized out>, prompt=0x0, 
dont_downcase_last=<optimized out>, can_return_switch_frame=true, fix_current_buffer=true, 
prevent_redisplay=<optimized out>)
    at ../../src/keyboard.c:9547
#11 0x000055def301eb5c in command_loop_1 () at ../../src/lisp.h:1007
#12 0x000055def308c647 in internal_condition_case (bfun=bfun@entry=0x55def301e970 
<command_loop_1>, handlers=handlers@entry=0x90, hfun=hfun@entry=0x55def3015080 
<cmd_error>) at ../../src/eval.c:1356
#13 0x000055def300f7b4 in command_loop_2 (ignore=ignore@entry=0x0) at 
../../src/lisp.h:1007
#14 0x000055def308c5a1 in internal_catch (tag=tag@entry=0xd5f0, 
func=func@entry=0x55def300f790 <command_loop_2>, arg=arg@entry=0x0) at 
../../src/eval.c:1117
#15 0x000055def300f75b in command_loop () at ../../src/lisp.h:1007
#16 0x000055def3014c96 in recursive_edit_1 () at ../../src/keyboard.c:714
#17 0x000055def3014fc2 in Frecursive_edit () at ../../src/keyboard.c:786
#18 0x000055def2f29dac in main (argc=2, argv=<optimized out>) at
../../src/emacs.c:2047

But it is totally frozen.




reply via email to

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