comparison README.multi-tty @ 83460:dbd791ef90a1

Eliminate wrong_kboard_jmpbuf. * src/keyboard.c (read_char, read_char_minibuf_menu_prompt) (read_key_sequence, read_filtered_event): Eliminate wrong_kboard_jmpbuf. git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-500
author Karoly Lorentey <lorentey@elte.hu>
date Sun, 29 Jan 2006 00:17:11 +0000
parents 845a93c68e9a
children 3ec9cf0f2305
comparison
equal deleted inserted replaced
83459:8d8bc8469c77 83460:dbd791ef90a1
402 ------------ 402 ------------
403 403
404 ** Understand how `quit_throw_to_read_char' works, and fix any bugs 404 ** Understand how `quit_throw_to_read_char' works, and fix any bugs
405 that come to light. 405 that come to light.
406 406
407 ** Replace wrong_kboard_jmpbuf with a special return value of
408 read_char. It is absurd that we use setjmp/longjmp just to return
409 to the immediate caller.
410
411 ** See if getcjmp can be eliminated somehow. Why does Emacs allow 407 ** See if getcjmp can be eliminated somehow. Why does Emacs allow
412 asynchronous input processing while it's reading input anyway? 408 asynchronous input processing while it's reading input anyway?
413 409
414 ** `delete-frame' events are handled by `special-event-map' 410 ** `delete-frame' events are handled by `special-event-map'
415 immediately when read by `read_char'. This is fine but it prevents 411 immediately when read by `read_char'. This is fine but it prevents
1450 by SIGIO or polling (SIGALRM). C-g either sets the Vquit_flag, 1446 by SIGIO or polling (SIGALRM). C-g either sets the Vquit_flag,
1451 signals a 'quit condition (when immediate_quit), or throws to 1447 signals a 'quit condition (when immediate_quit), or throws to
1452 `getcjmp' when Emacs was waiting for input when the C-g event 1448 `getcjmp' when Emacs was waiting for input when the C-g event
1453 arrived.) 1449 arrived.)
1454 1450
1451 -- Replace wrong_kboard_jmpbuf with a special return value of
1452 read_char. It is absurd that we use setjmp/longjmp just to return
1453 to the immediate caller.
1454
1455 (Done in patch-500.)
1455 1456
1456 ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d 1457 ;;; arch-tag: 8da1619e-2e79-41a8-9ac9-a0485daad17d
1457 1458