1. 22 Mar, 2009 1 commit
  2. 27 Feb, 2009 1 commit
  3. 08 Jan, 2009 1 commit
  4. 26 Dec, 2008 1 commit
  5. 14 May, 2008 1 commit
  6. 03 Apr, 2008 1 commit
  7. 02 Apr, 2008 1 commit
  8. 29 Mar, 2008 1 commit
  9. 20 Mar, 2008 1 commit
  10. 16 Mar, 2008 1 commit
  11. 19 Feb, 2008 1 commit
  12. 17 Feb, 2008 1 commit
  13. 08 Jan, 2008 1 commit
  14. 22 Dec, 2007 1 commit
  15. 13 Sep, 2007 1 commit
  16. 10 Sep, 2007 2 commits
  17. 25 Jul, 2007 1 commit
  18. 25 Jun, 2007 1 commit
  19. 08 Jun, 2007 1 commit
  20. 14 Jan, 2007 1 commit
  21. 26 Dec, 2006 1 commit
  22. 19 Oct, 2006 1 commit
  23. 25 Sep, 2006 1 commit
  24. 26 Jul, 2006 1 commit
  25. 18 Jul, 2006 1 commit
  26. 12 Jul, 2006 1 commit
  27. 11 Jul, 2006 1 commit
  28. 25 May, 2006 1 commit
  29. 06 Feb, 2006 1 commit
  30. 03 Jan, 2006 1 commit
    • Karoly Lorentey's avatar
      Overhaul and simplify single_kboard API. Allow calls to `recursive-edit' in... · b3e6f69c
      Karoly Lorentey authored
      Overhaul and simplify single_kboard API.  Allow calls to `recursive-edit' in process filters.  Small fixes.
      
      * lisp/server.el (server-process-filter): Protect `display-splash-screen'
        call in a condition-case.  Explain why.
      
      * src/callint.c (Fcall_interactively): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/fns.c (Fy_or_n_p): Ditto.
      
      * src/frame.c (Fdelete_frame): Remove unused variable `count'.
      
      * src/keyboard.c (wrong_kboard_jmpbuf): Remove global variable.
      
      * src/keyboard.c (read_char): Add wrong_kboard_jmpbuf parameter to allow
        for recursive calls.  Update longjmp invocations.  Remember the
        original current_kboard, and longjmp to `wrong_kboard_jmpbuf' when a
        filter, timer or sentinel changes it.  Comment out unnecessary calls to
        `record_single_kboard_state' and `any_kboard_state'.  Update recursive
        calls.
      
      * src/keyboard.c (read_key_sequence): Add `wrong_kboard_jmpbuf' local
        variable.  Update setjmp and read_char calls.  Abort if
        interrupted_kboard died in read_char.
      
      * src/keyboard.c (any_kboard_state, single_kboard_state)
        (record_single_kboard_state): Comment out obsolete functions.
        (push_frame_kboard): Remove function.
        (pop_kboard): Switch out of single_kboard mode if the
        kboard has been deleted.
        (temporarily_switch_to_single_kboard): Change first
        parameter to a frame pointer.  Throw an error when caller wants to
        change kboards while in single_kboard mode.
        (restore_kboard_configuration): Abort if pop_kboard changed
        the kboard in single_kboard mode.
        (Frecursive_edit): Switch to single_kboard mode only in
        nested command loops.
        (cmd_error, command_loop, command_loop_1, timer_check):
        Comment out unnecessary call to `any_kboard_state' and
        `record_single_kboard_state'.
      
      * src/keyboard.c (delete_kboard): Exit single_kboard mode if we have just
        deleted that kboard.
      
      * src/keyboard.c (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not
        `fatal_error_signal'.
      
      * src/keyboard.h (read_char, single_kboard_state)
        (record_single_kboard_state): Remove.
        (temporarily_switch_to_single_kboard): Update.
      
      * src/lread.c: Include setjmp.h.  Update declaration of `read_char'.
        (read_filtered_event): Call `read_char' with a local
        `wrong_kboard_jmpbuf'.
      
      * src/minibuf.c (read_minibuf): Update call to
        `temporarily_switch_to_single_kboard'.
      
      * src/termchar.h (tty_display_info): Rename `previous_terminal_frame'
        member to `previous_frame'.
      
      * src/xdisp.c (redisplay_internal): Update references to
        `previous_terminal_frame'.
        (display_mode_line, Fformat_mode_line): Replace calls to
        `push_frame_kboard' with `push_kboard'.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-489
      b3e6f69c
  31. 11 Sep, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix crash after y-or-n-p prompt triggered by emacsclient. (Reported by Han... · 256c9c3a
      Karoly Lorentey authored
      Fix crash after y-or-n-p prompt triggered by emacsclient. (Reported by Han Boetes, analysis by Kalle Olavi Niemitalo.)
      
      * src/keyboard.c (temporarily_switch_to_single_kboard)
        (record_single_kboard_state, restore_kboard_configuration):  New functions.
        (timer_check): Use record_single_kboard_state instead of
        naive single_kboard state management.
      
      * src/fns.c: Include termhooks.h.
        (Fy_or_n_p): Use temporarily_switch_to_single_kboard to prevent crashes
        caused by bogus longjmps in read_char.
      
      * src/callint.c (Fcall_interactively): Use
        temporarily_switch_to_single_kboard instead of single_kboard_state.
        Make sure it is correctly unwinded.
      
      * src/keyboard.c (recursive_edit_unwind): Remove single_kboard stuff.
        (Frecursive_edit): Use temporarily_switch_to_single_kboard for
        single_kboard state management.
      
      * src/minibuf.c (read_minibuf): Use temporarily_switch_to_single_kboard
        instead of simply calling single_kboard_state.
      
      * src/keyboard.c (push_device_kboard): Remove function.
        (push_kboard): New function.
        (push_frame_kboard): Use it.
        (pop_frame_kboard): Rename to pop_kboard.
      
      * src/xdisp.c (display_mode_line, Fformat_mode_line): Update uses.
      
      * src/data.c: Include termhooks.h.
        (Fterminal_local_value, Fset_terminal_local_value): Update.
      
      * src/Makefile.in (data.o, fns.o): Add termhooks.h dependency.
      
      * src/keyboard.h (push_device_kboard, pop_frame_kboard): Remove declarations.
        (push_kboard, pop_kboard, temporarily_switch_to_single_kboard)
        (record_single_kboard_state): New declarations.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-414
      256c9c3a
  32. 07 Aug, 2005 1 commit
  33. 04 Jul, 2005 1 commit
  34. 17 Mar, 2005 1 commit
  35. 21 Nov, 2004 1 commit
  36. 09 Nov, 2004 1 commit
  37. 07 Nov, 2004 1 commit
  38. 26 Oct, 2004 1 commit
  39. 31 Jul, 2004 1 commit