1. 06 May, 2008 1 commit
  2. 01 May, 2008 1 commit
  3. 13 Apr, 2008 1 commit
    • Stefan Monnier's avatar
      * minibuffer.el (completion-all-completion-with-base-size): New var. · e2947429
      Stefan Monnier authored
      (completion--some): New function.
      (completion-table-with-context, completion--file-name-table):
      Return the base-size if requested.
      (completion-table-in-turn): Generalize to multiple arguments.
      (complete-in-turn): Compatibility alias.
      (completion-styles-alist): New var.
      (completion-styles): New customization.
      (minibuffer-try-completion, minibuffer-all-completions):
      New functions.
      (minibuffer--do-completion, minibuffer-complete-and-exit)
      (minibuffer-try-word-completion): Use them.
      (display-completion-list, minibuffer-completion-help): Use them.
      Handle all-completions's new base-size info to set completion-base-size.
      * info.el (Info-read-node-name-1): Use completion-table-with-context,
      completion-table-with-terminator and complete-with-action.
      Remove the now obsolete completion-base-size-function property.
      * simple.el (completion-list-mode-map): Move init into declaration.
      (completion-list-mode): Use define-derived-mode.
      (completion-setup-function): Use any completion-base-size that may
      have been set before.  Remove handling of completion-base-size-function.
      * loadup.el: Move abbrev.el up earlier.
      e2947429
  4. 12 Apr, 2008 1 commit
  5. 11 Apr, 2008 1 commit
  6. 09 Apr, 2008 1 commit
  7. 22 Feb, 2008 1 commit
  8. 01 Feb, 2008 1 commit
  9. 30 Jan, 2008 1 commit
  10. 07 Jan, 2008 2 commits
  11. 10 Nov, 2007 1 commit
  12. 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".
      e047f448
  13. 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
      byte-compiler.
      
      * 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
      earlier.
      
      * 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.
      729f1525
  14. 14 Oct, 2007 1 commit
  15. 21 Sep, 2007 1 commit
  16. 03 Sep, 2007 1 commit
  17. 23 Aug, 2007 1 commit
  18. 21 Aug, 2007 1 commit
  19. 25 Jul, 2007 1 commit
  20. 16 Jun, 2007 1 commit
  21. 04 Jun, 2007 1 commit
  22. 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
      mac-win.
      * term/mac-win.el:
      (mac-initialize-window-system): New function. Move global setup
      here.
      
      * 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.
      caf49fb0
    • 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
      systems.
      (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
      here.
      (handle-args-function-alist, frame-creation-function-alist):
      (window-system-initialization-alist): Add mac entries.
      
      * loadup.el: Load mac-win on a Mac.
      80ca7302
  23. 15 May, 2007 1 commit
  24. 21 Jan, 2007 1 commit
  25. 26 Oct, 2006 1 commit
  26. 24 May, 2006 1 commit
  27. 20 Feb, 2006 1 commit
  28. 06 Feb, 2006 1 commit
  29. 03 Feb, 2006 1 commit
  30. 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
        `terminal-getenv'.
      
      * src/term.c (suspend-tty): Update doc string.
      
      git-archimport-id: lorentey@elte.hu--2004/emacs--multi-tty--0--patch-456
      f35ca2fe
  31. 29 Nov, 2005 1 commit
  32. 28 Nov, 2005 1 commit
  33. 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
      59e085e0
  34. 16 Nov, 2005 1 commit
  35. 07 Nov, 2005 1 commit
  36. 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.
      c94f08ff
  37. 28 Oct, 2005 1 commit
  38. 06 Aug, 2005 1 commit