1. 11 Sep, 2005 9 commits
    • Karoly Lorentey's avatar
      Merged in changes from CVS trunk. · 26cbc048
      Karoly Lorentey authored
      Patches applied:
      
       * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-6
         Update from CVS
      
       * lorentey@elte.hu--2004/emacs--cvs-trunk--0--patch-7
         Sync with miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-539.
      
       * lorentey@elte.hu--2004/emacs--cvs-trunk--0--version-0
         Branch closed.  Use miles@gnu.org--gnu-2005/emacs--cvs-trunk--0 instead.
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-475
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-476
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-477
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-478
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-479
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-480
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-481
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-482
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-483
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-484
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-485
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-486
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-487
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-488
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-489
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-490
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-491
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-492
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-493
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-494
         Update from CVS: lisp/startup.el (command-line): Fix typo.
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-495
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-496
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-497
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-498
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-499
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-500
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-501
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-502
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-503
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-504
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-505
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-506
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-507
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-508
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-509
         Update from CVS: .cvsignore: Add `lock'.
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-510
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-511
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-512
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-513
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-514
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-515
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-516
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-517
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-518
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-519
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-520
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-521
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-522
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-523
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-524
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-525
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-526
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-527
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-528
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-529
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-530
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-531
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-532
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-533
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-534
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-535
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-536
         Merge from gnus--rel--5.10
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-537
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-538
         Update from CVS
      
       * miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-539
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-88
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-89
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-90
         Update FSF's address in GPL notices
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-91
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-92
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-93
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-94
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-95
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-96
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-97
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-98
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-99
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-100
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-101
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-102
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-103
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-104
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-105
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-106
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-107
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-108
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-109
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-110
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-111
         Merge from emacs--cvs-trunk--0
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-112
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-113
         Update from CVS
      
       * miles@gnu.org--gnu-2005/gnus--rel--5.10--patch-114
         Update from CVS
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-416
      26cbc048
    • Karoly Lorentey's avatar
      Fix bootstrap error in keyboard.c. · 9148bda2
      Karoly Lorentey authored
      * src/keyboard.c: Add forward declaration of restore_kboard_configuration.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-415
      9148bda2
    • 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
    • Karoly Lorentey's avatar
      Set Emacs version number to 22.0.51 to allow parallel installations of CVS... · ee0bcfbc
      Karoly Lorentey authored
      Set Emacs version number to 22.0.51 to allow parallel installations of CVS trunk and the multi-tty branch.
      
      * README: Set Emacs version to 22.0.51.
      * lispref/elisp.texi (EMACSVER): Set to 22.0.51.
      * man/emacs.texi (EMACSVER): Set to 22.0.51.
      * lisp/version.el (emacs-version): Set to 22.0.51.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-413
      ee0bcfbc
    • Karoly Lorentey's avatar
      Don't let server-save-buffers-kill-display unexpectedly kill Emacs on --no-wait's X frames. · 62c5106c
      Karoly Lorentey authored
      * lisp/server.el (server-process-filter): Use a dummy client with --no-wait's X frames.
        (server-save-buffers-kill-display): Explicitly delete frame after
        deleting its client, in case it was a dummy.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-412
      62c5106c
    • Karoly Lorentey's avatar
      Make `emacsclient -n <filename>' open new X frames when possible. (Reported by Bas Kok.) · b8ccaf6f
      Karoly Lorentey authored
      * lib-src/emacsclient.c (decode_options): Change --no-wait to imply
        --current-frame only on ttys and only when there are extra arguments.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-411
      b8ccaf6f
    • Karoly Lorentey's avatar
      Fix crashes in xdialog_show (and other places) with xterm-mouse-mode. · 62af879c
      Karoly Lorentey authored
      * src/dispextern.h (get_tty_device): Declare.
      
      * src/dispnew.c (Fsend_string_to_terminal): Add optional TERMINAL parameter.
      
      * src/fns.c (Fy_or_n_p, Fyes_or_no_p): Don't try to open an X dialog on
        tty terminals.
      
      * src/term.c (get_tty_device): Remove static qualifier.
      
      * src/xmenu.c (create_and_show_dialog, create_and_show_popup_menu)
        (free_frame_menubar, mouse_position_for_popup, set_frame_menubar)
        (update_frame_menubar, x_activate_menubar, xdialog_show, xmenu_show):
        Abort when given a non-X frame.
      
      * src/xmenu.c (Fx_popup_menu, Fx_popup_dialog): Throw an error when run
        on a non-X frame.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-410
      62af879c
    • Karoly Lorentey's avatar
      Make xt-mouse.el multi-tty-compatible. · 6bac1616
      Karoly Lorentey authored
      * lisp/xt-mouse.el (xterm-mouse-x, xterm-mouse-y): Convert to terminal parameters.
        (xterm-mouse-position-function, xterm-mouse-event): Update.
        (xterm-mouse-mode): Don't depend on current value of window-system.
        (turn-on-xterm-mouse-tracking, turn-off-xterm-mouse-tracking): Update
        for multi-tty.
        (turn-on-xterm-mouse-tracking-on-terminal) 
        (turn-off-xterm-mouse-tracking-on-terminal) 
        (xterm-mouse-handle-delete-frame): New functions.
        (delete-frame-functions, after-make-frame-functions) 
        (suspend-tty-functions, resume-tty-functions): Install extra hooks for multi-tty.
      
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-409
      6bac1616
    • Karoly Lorentey's avatar
      Fix `emacsclient +12 file' behaviour. (Reported by Han Boetes.) · 80a426c2
      Karoly Lorentey authored
      * lisp/server.el (server-process-filter): In `-position LINE' handler,
        don't ruin the request string until the line number is extracted.  Log
        opened files.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-408
      80a426c2
  2. 10 Sep, 2005 31 commits