1. 28 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Rewrite abbrev.c in Elisp. · e047f448
      Stefan Monnier authored
      * image.c (Qcount): Don't declare as extern.
      (syms_of_image): Initialize and staticpro `Qcount'.
      * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions.
      * emacs.c (main): Don't call syms_of_abbrev.
      * Makefile.in (obj): Remove abbrev.o.
      (abbrev.o): Remove.
      * abbrev.c: Remove.
      Rewrite abbrev.c in Elisp.
      * abbrev.el (abbrev-mode): Move custom group from cus-edit.el.
      (abbrev-table-get, abbrev-table-put, abbrev-get)
      (abbrev-put, make-abbrev-table, abbrev-table-p, clear-abbrev-table)
      (define-abbrev, abbrev--check-chars, define-global-abbrev)
      (define-mode-abbrev, abbrev--active-tables, abbrev-symbol)
      (abbrev-expansion, abbrev--before-point, expand-abbrev)
      (unexpand-abbrev, abbrev--write, abbrev--describe)
      (insert-abbrev-table-description, define-abbrev-table):
      New funs, largely transcribed from abbrev.c.
      (abbrev-with-wrapper-hook): New macro.
      (abbrev-table-name-list, global-abbrev-table)
      (abbrev-minor-mode-table-alist, fundamental-mode-abbrev-table)
      (abbrevs-changed, abbrev-all-caps, abbrev-start-location)
      (abbrev-start-location-buffer, last-abbrev, last-abbrev-text)
      (last-abbrev-location, pre-abbrev-expand-hook, abbrev-expand-function):
      New vars, largely transcribed from abbrev.c.
      * cus-edit.el (abbrev-mode): Remove.  Move to abbrev.el.
      * cus-start.el: Remove abbrev-all-caps and pre-abbrev-expand-hook.
      * loadup.el: Load "abbrev.el" before "lisp-mode.el".
  2. 21 Oct, 2007 1 commit
    • Dan Nicolaescu's avatar
      * textmodes/reftex.el: Move require easymenu before first use. · 729f1525
      Dan Nicolaescu authored
      (reftex-info): Require info at compile too.
      * textmodes/org-publish.el (org-publish-org-to-html)
      (org-publish-org-to): Require org at compile time too.
      (org-publish-attachment): Require at compile time too.
      * term/tty-colors.el (w32-tty-standard-colors): Pacify
      * term/pc-win.el (frame-creation-function-alist): Add to this
      instead of setting frame-creation-function.
      * play/blackbox.el (bb-up, bb-down): Use forward-line.
      * net/rcirc.el (rcirc-markup-text-functions): Move definition
      * calendar/todo-mode.el: Require calendar at compile time.
      * calendar/cal-islam.el: Require diary-lib at compile time.
      * calendar/cal-hebrew.el: Require diary-lib and holidays at
      compile time.
      * w32-vars.el: Provide w32-vars.
      * term/w32-win.el: Require w32-vars.
      (w32-color-map): Pacify byte-compiler.
      * loadup.el: Load w32-wars before term/w32-win.
  3. 21 Sep, 2007 1 commit
  4. 03 Sep, 2007 1 commit
  5. 23 Aug, 2007 1 commit
  6. 21 Aug, 2007 1 commit
  7. 25 Jul, 2007 1 commit
  8. 04 Jun, 2007 1 commit
  9. 19 May, 2007 2 commits
    • Dan Nicolaescu's avatar
      * loadup.el: Load mac-win on a Mac. Avoid loading both x-win and · caf49fb0
      Dan Nicolaescu authored
      * term/mac-win.el:
      (mac-initialize-window-system): New function. Move global setup
      * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here.
      (SYSTEM_PURESIZE_EXTRA): Only define on Carbon.
      * emacsclient.c (decode_options): Don't use a tty on mac carbon.
    • Dan Nicolaescu's avatar
      * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. · 80ca7302
      Dan Nicolaescu authored
      * termhooks.h (union display_info): Add mac_display_info.
      * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD
      is defined.
      * macterm.h (struct mac_display_info): Add terminal.
      * w32term.c (w32_initialize): Make static.
      * macterm.c (XTset_terminal_modes): Add a terminal parameter.
      (XTreset_terminal_modes): Likewise.
      (x_clear_frame): Add a frame parameter.
      (note_mouse_movement): Get rif from the frame.
      (mac_term_init): Initialize the terminal.
      (mac_initialize): Make static and move terminal initialization ...
      (mac_create_terminal): ... in this new function.
      * macmenu.c: Reorder includes.
      (Fx_popup_menu): Use terminal specific mouse_position_hook.
      * macfns.c (x_set_mouse_color): Get rif from the frame.
      (x_set_tool_bar_lines): Don't use updating_frame.
      (mac_window): Add 2 new parameters for consistency with other
      (Fx_create_frame): Fix doc string. Rename the parameter.
      (Fx_create_frame): Set the frame parameters following what is done
      in X11 and w32.
      (Fx_open_connection): Remove window-system check.
      (start_hourglass): Likewise.
      (x_create_tip_frame): Get the keyboard from the terminal.
      * w32fns.c (Fx_create_frame): Use kboard from the terminal.
      * term/mac-win.el: Provide mac-win.
      (mac-initialized): New variable.
      (mac-initialize-window-system): New function. Move global setup
      (handle-args-function-alist, frame-creation-function-alist):
      (window-system-initialization-alist): Add mac entries.
      * loadup.el: Load mac-win on a Mac.
  10. 15 May, 2007 1 commit
  11. 21 Jan, 2007 1 commit
  12. 24 May, 2006 1 commit
  13. 20 Feb, 2006 1 commit
  14. 06 Feb, 2006 1 commit
  15. 03 Feb, 2006 1 commit
  16. 22 Dec, 2005 1 commit
    • Karoly Lorentey's avatar
      Reimplement and extend support for terminal-local environment variables. · f35ca2fe
      Karoly Lorentey authored
      * lisp/termdev.el: New file.  Move terminal parameter-related functions
        here from frame.el.
        (terminal-getenv, with-terminal-environment): Reimplement and extend.
        (terminal-setenv, terminal-setenv-internal): New functions.
      * lisp/frame.el (make-frame-on-tty, framep-on-display, suspend-frame):
        Extend doc string, update parameter names.
        (terminal-id, terminal-parameter-alist, terminal-parameters)
        (terminal-parameter-p, terminal-parameter, set-terminal-parameter)
        (terminal-handle-delete-frame, terminal-getenv, terminal-getenv)
        (with-terminal-environment): Move to termdev.el.
      * lisp/loadup.el: Load termdev as well.
      * lisp/Makefile.in (lisp, shortlisp): Add termdev.elc.
      * lisp/makefile.MPW (shortlisp): Ditto.
      * lisp/ebuff-menu.el (electric-buffer-menu-mode-map): Bind C-z to
        `suspend-frame', not `suspend-emacs'.
      * lisp/echistory.el (electric-history-map): Ditto.
      * lisp/ebrowse.el (ebrowse-electric-list-mode-map): Ditto.
      * lisp/ebrowse.el (ebrowse-electric-position-mode-map): Ditto.
      * lisp/startup.el (normal-splash-screen): Use `save-buffers-kill-display'
        instead of `save-buffers-kill-emacs'.
      * lisp/x-win.el (x-initialize-window-system): Add 'global-ok option to
      * src/term.c (suspend-tty): Update doc string.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-456
  17. 29 Nov, 2005 1 commit
  18. 28 Nov, 2005 1 commit
  19. 19 Nov, 2005 1 commit
    • Karoly Lorentey's avatar
      Store client's environment in terminal parameters, not server parameters. · 59e085e0
      Karoly Lorentey authored
      * lisp/loadup.el: Don't load server.
      * lisp/ldefs-boot.el: Update.
      * lib-src/emacsclient.c (main): Send environment only when a new display
        is created.
      * lisp/server.el (server-save-buffers-kill-display): Add autoload
        cookie.  Move stuff not specific to server into `save-buffers-kill-display'.
      * lisp/files.el (save-buffers-kill-display): New function.
        (ctl-x-map): Bind it to C-x C-c.
      * lisp/frame.el (terminal-getenv): New function.
      * lisp/international/mule-cmds.el (set-locale-environment): Use it.
      * lisp/frame.el (with-terminal-environment): New macro.
      * lisp/server.el (server-getenv, server-with-client-environment): Remove.
        (server-getenv-from, server-with-environment): New functions.
        (server-process-filter): Change syntax of environment
        variables.  Put environment into terminal parameters, not client parameters.
      * lisp/term/rxvt.el: Don't require server.
        (rxvt-set-background-mode): Use terminal-getenv, not server-getenv.
      * lisp/term/x-win.el (x-initialize-window-system): Ditto.
      * lisp/term/xterm.el (terminal-init-xterm): Ditto.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-443
  20. 16 Nov, 2005 1 commit
  21. 07 Nov, 2005 1 commit
  22. 31 Oct, 2005 1 commit
    • Dan Nicolaescu's avatar
      * loadup.el: Load emacs-lisp/syntax, font-lock and jit-lock so · c94f08ff
      Dan Nicolaescu authored
      that global-font-lock-mode can be enabled by default.
      * font-lock.el (font-lock-keywords, font-lock-mode-internal)
      (font-lock-add-keywords, font-lock-remove-keywords)
      (font-lock-fontify-buffer): Remove autoload cookies.
      * jit-lock.el (jit-lock-register): Likewise.
      * emacs-lisp/syntax.el (syntax-ppss): Likewise.
      * puresize.h (BASE_PURESIZE): Increment to 1170000.
  23. 28 Oct, 2005 1 commit
  24. 06 Aug, 2005 1 commit
  25. 04 Jul, 2005 1 commit
  26. 12 Jun, 2005 1 commit
  27. 06 May, 2005 1 commit
  28. 30 Apr, 2005 1 commit
  29. 18 Apr, 2005 1 commit
    • Karoly Lorentey's avatar
      Fix bootstrap error during loadup. · 774a8da1
      Karoly Lorentey authored
      * lisp/loadup.el: Load dnd.el before x-dnd.el.
      * src/Makefile.in (SOME_MACHINE_LISP): Add dnd.elc.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-329
  30. 16 Apr, 2005 1 commit
  31. 27 Dec, 2004 1 commit
  32. 18 May, 2004 1 commit
  33. 12 Apr, 2004 1 commit
  34. 25 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Removed %T in mode-line-format. Trivial documentation changes. · da8e1115
      Karoly Lorentey authored
      lisp/bindings.el (mode-line-buffer-identification): Use the
      conditional formatting feature instead of builtin support.
      src/buffer.c (Vmode_line_format): Removed %T documentation.
      src/xdisp.c (decode_mode_spec): Removed %T processing.
      lib-src/emacsclient.c (pass_signal_to_emacs, init_signals): Added
      src/cm.c: Cosmetic changes.
      src/termchar.h: Ditto.
      src/keyboard.c (interrupt_signal, handle_interrupt): Updated
      src/process.c (add_keyboard_wait_descriptor): Added docs.
      src/sysdep.c (init_all_sys_modes, init_sys_modes)
      (reset_all_sys_modes): Added docs.
      src/term.c (tty_ring_bell, tty_set_terminal_modes)
      (tty_reset_terminal_modes, tty_update_end, set_terminal_window)
      (tty_set_terminal_window, clear_to_end, tty_clear_to_end)
      (tty_clear_frame, tty_clear_end_of_line, write_glyphs)
      (tty_write_glyphs, insert_glyphs, tty_insert_glyphs, delete_glyphs)
      (tty_delete_glyphs, tty_ins_del_lines, get_named_tty_display)
      (init_initial_display, delete_tty): Added docs.
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-65
  35. 22 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Romain Francoise's and Ami Fischman's bugfixes. · e9cda827
      Karoly Lorentey authored
      src/term.c (create_tty_output): Fix syntax error.  Reported by Ami
      Fischman (ami at fischman dot org).
      lisp/loadup.el: Load term/x-win.el if X is available.
      lisp/startup.el (handle-args-function-alist)
      (window-system-initialization-alist): New variables.
      (command-line): Don't load term/x-win.el, use the above variables.
      lisp/x-win.el: (x-initialize-window-system): New function, move X
      initialization here.
      (x-initialized): New variable.
      lisp/frame.el (make-frame-on-display): Don't initialize X twice, and
      make sure to pass the correct display parameter to x-open-connection.
      Reported by Romain Francoise (romain at orebokech dot com).
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-58
  36. 11 Jan, 2004 1 commit
    • Karoly Lorentey's avatar
      Support for opening X frames from a tty session. · 2246281f
      Karoly Lorentey authored
      lisp/cus-face.el (custom-declare-face): Handle multiple concurrent
      display methods correctly.
      lisp/faces.el (x-create-frame-with-faces): Set the window-system frame
      parameter instead of frame-creation-function.
      (tty-create-frame-with-faces): Ditto.
      lisp/frame.el (frame-creation-function): Removed.
      (frame-creation-function-alist): New variable.
      (frame-initialize): Use initial-window-system instead of window-system.
      Add window-system parameter to initial-frame-alist.
      Removed tty initialization, it was moved to frame-creation-function-alist.
      (frame-notice-user-settings): Use initial-window-system instead of window-system.
      (make-frame-on-display): Make sure term/x-win is loaded.  Added
      window-system parameter for make-frame.
      (make-frame-on-tty): Removed unnecessary autoload declaration.  Added
      window-system parameter for make-frame.
      (make-frame): Use frame-creation-function-alist to determine the
      function to use depending on the specified window system.
      (select-frame-by-name): Use the window-system function instead of the
      lisp/startup.el (window-system):  New variable (previously built-in,
      now frame-local).
      (normal-top-level, command-line): Use initial-window-system instead
      of window-system.
      lisp/loadup.el:  Load startup.el before faces.el, for the
      window-system variable.
      lisp/term/x-win.el: Check for the x-create-frame function instead of
      window-system to see if X is available.  Don't exit Emacs if the
      display can not be opened when X is not the initial display method.
      Set up frame-creation-function-alist instead of
      frame-creation-function.  Provide the x-win feature.
      src/dispnew.c (Vwindow_system): Renamed to Vinitial_window_system.
      (init_display, syms_of_display): Updated to use Vinitial_window_system
      instead of Vwindow_system.
      src/emacs.c (shut_down_emacs): Updated to use Vinitial_window_system
      instead of Vwindow_system.
      src/keyboard.c (Fset_input_mode): Call reset_all_sys_modes, not
      reset_sys_modes.  Ditto for init_all_sys_modes.  Process the quit
      parameter correctly.
      src/sysdep.c (init_sys_modes, reset_sys_modes): Unconditionally set up
      the terminal.  We don't get called if there is nothing to do anymore.
      (sys_select): Use Vinitial_window_system, not Vwindow_system.
      src/window.h (Vwindow_system): Renamed to Vinitial_window_system.
      src/xfns.c (Fx_create_frame): Don't check_x.  We initialize it anyway.
      (x_display_info_for_name, Fx_open_connection): Don't look at
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-54
  37. 08 Nov, 2003 1 commit
  38. 01 Sep, 2003 1 commit
  39. 30 Jun, 2003 1 commit