1. 19 Jan, 2014 1 commit
  2. 13 Jan, 2014 1 commit
  3. 01 Jan, 2014 1 commit
  4. 17 Sep, 2013 1 commit
    • Stefan Monnier's avatar
      * lisp/eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var. · e8b66a6a
      Stefan Monnier authored
      (eshell-post-rewrite-command-hook): Make obsolete.
      (eshell-parse-command): Simplify.
      (eshell-structure-basic-command): Remove unused arg `vocal-test'.
      (eshell--cmd): Declare.
      (eshell-parse-pipeline): Remove unused var `final-p'.
      Pass a dynvar to eshell-post-rewrite-command-hook.
      Implement the new eshell-post-rewrite-command-function.
      (eshell-invoke-directly): Remove unused arg `input'.
      * lisp/eshell/esh-io.el (eshell-io-initialize):
      Use eshell-post-rewrite-command-function.
      (eshell--apply-redirections): Rename from eshell-apply-redirections;
      adjust to new calling convention.
      (eshell-create-handles): Rename args to avoid clashing with dynvar
      `standard-output'.
      
      Fixes: debbugs:15399
      e8b66a6a
  5. 12 Sep, 2013 1 commit
  6. 11 Sep, 2013 2 commits
    • Stefan Monnier's avatar
      * lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization. · 656bd483
      Stefan Monnier authored
      (eshell-self-insert-command, eshell-send-invisible): Remove
      unused argument.
      (eshell-handle-control-codes): Remove unused var `orig'.
      Avoid delete-backward-char.
      
      Fixes: debbugs:15338
      656bd483
    • Stefan Monnier's avatar
      Use define-derived-mode (and derived-mode-p). · 1b3b87df
      Stefan Monnier authored
      * lisp/play/snake.el (snake-mode):
      * lisp/play/mpuz.el (mpuz-mode):
      * lisp/play/landmark.el (lm-mode):
      * lisp/play/blackbox.el (blackbox-mode):
      * lisp/play/5x5.el (5x5-mode):
      * lisp/obsolete/options.el (Edit-options-mode):
      * lisp/net/quickurl.el (quickurl-list-mode):
      * lisp/net/newst-treeview.el (newsticker-treeview-mode):
      * lisp/mail/rmailsum.el (rmail-summary-mode):
      * lisp/mail/mspools.el (mspools-mode):
      * lisp/locate.el (locate-mode):
      * lisp/ibuffer.el (ibuffer-mode):
      * lisp/emulation/ws-mode.el (wordstar-mode):
      * lisp/emacs-lisp/debug.el (debugger-mode):
      * lisp/array.el (array-mode):
      * lisp/net/eudc.el (eudc-mode): Use define-derived-mode.
      * lisp/net/mairix.el (mairix-searches-mode-font-lock-keywords):
      Move initialization into declaration.
      (mairix-searches-mode): Use define-derived-mode.
      * lisp/net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
      (eudc-edit-hotlist): Use dolist.
      * lisp/man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
      (Man-mode): Use define-derived-mode.
      * lisp/info.el (Info-edit-mode-map): Rename from Info-edit-map.
      (Info-edit-mode): Use define-derived-mode.
      (Info-cease-edit): Use Info-mode.
      * lisp/eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
      into declaration.
      (eshell-mode): Use define-derived-mode.
      * lisp/chistory.el (command-history-mode-map): Rename from
      command-history-map.
      (command-history-mode): Use define-derived-mode.
      * lisp/calc/calc.el (calc-trail-mode-map): New var.
      (calc-trail-mode): Use define-derived-mode.
      (calc-trail-buffer): Set calc-main-buffer manually.
      * lisp/bookmark.el (bookmark-insert-annotation): New function.
      (bookmark-edit-annotation): Use it.
      (bookmark-edit-annotation-mode): Make it a proper major mode.
      (bookmark-send-edited-annotation): Use derived-mode-p.
      * lisp/arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
      closer to its ideal place.  Use \' to match EOS.
      
      * lisp/cedet/semantic/grammar.el (semantic-grammar-mode): Use define-derived-mode.
      (semantic-grammar-mode-syntax-table): Rename from
      semantic-grammar-syntax-table.
      (semantic-grammar-mode-map): Rename from semantic-grammar-map.
      * lisp/cedet/data-debug.el (data-debug-mode-map): Rename from data-debug-map.
      (data-debug-mode): Use define-derived-mode.
      
      * lisp/gnus/score-mode.el (gnus-score-mode-map): Move initialization
      into declaration.
      (gnus-score-mode): Use define-derived-mode.
      * lisp/gnus/gnus-srvr.el (gnus-browse-mode): Use define-derived-mode.
      * lisp/gnus/gnus-kill.el (gnus-kill-file-mode-map): Move initialization
      into declaration.
      (gnus-kill-file-mode): Use define-derived-mode.
      (gnus-kill-file-edit-file, gnus-kill-file-enter-kill, gnus-kill):
      Use derived-mode-p.
      * lisp/gnus/gnus-group.el (gnus-group-mode): Use define-derived-mode.
      (gnus-group-setup-buffer, gnus-group-name-at-point)
      (gnus-group-make-web-group, gnus-group-enter-directory)
      (gnus-group-suspend): Use derived-mode-p.
      * lisp/gnus/gnus-cus.el (gnus-custom-mode): Use define-derived-mode.
      * lisp/gnus/gnus-bookmark.el (gnus-bookmark-bmenu-mode): Use define-derived-mode.
      * lisp/gnus/gnus-art.el (gnus-article-mode): Use define-derived-mode.
      (gnus-article-setup-buffer, gnus-article-prepare)
      (gnus-article-prepare-display, gnus-sticky-article)
      (gnus-kill-sticky-article-buffer, gnus-kill-sticky-article-buffers)
      (gnus-bind-safe-url-regexp, gnus-article-check-buffer)
      (gnus-article-read-summary-keys): Use derived-mode-p.
      1b3b87df
  7. 05 Aug, 2013 1 commit
    • Dmitry Antipov's avatar
      Do not call to `selected-window' where it is assumed by default. · 290d5b58
      Dmitry Antipov authored
      Affected functions are `window-minibuffer-p', `window-dedicated-p',
      `window-hscroll', `window-width', `window-height', `window-buffer',
      `window-frame', `window-start', `window-point', `next-window'
      and `window-display-table'.
      * abbrev.el (abbrev--default-expand):
      * bs.el (bs--show-with-configuration):
      * buff-menu.el (Buffer-menu-mouse-select):
      * calc/calc.el (calc):
      * calendar/calendar.el (calendar-generate-window):
      * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
      (diary-make-entry):
      * comint.el (send-invisible, comint-dynamic-complete-filename)
      (comint-dynamic-simple-complete, comint-dynamic-list-completions):
      * completion.el (complete):
      * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
      * disp-table.el (describe-current-display-table):
      * doc-view.el (doc-view-insert-image):
      * ebuff-menu.el (Electric-buffer-menu-mouse-select):
      * ehelp.el (with-electric-help):
      * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
      * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
      * emacs-lisp/helper.el (Helper-help-scroller):
      * emulation/cua-base.el (cua--post-command-handler-1):
      * eshell/esh-mode.el (eshell-output-filter):
      * ffap.el (ffap-gnus-wrapper):
      * help-macro.el (make-help-screen):
      * hilit-chg.el (highlight-compare-buffers):
      * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
      * hl-line.el (global-hl-line-highlight):
      * icomplete.el (icomplete-simple-completing-p):
      * isearch.el (isearch-done):
      * jit-lock.el (jit-lock-stealth-fontify):
      * mail/rmailsum.el (rmail-summary-scroll-msg-up):
      * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
      * mpc.el (mpc-tagbrowser, mpc):
      * net/rcirc.el (rcirc-any-buffer):
      * play/gomoku.el (gomoku-max-width, gomoku-max-height):
      * play/landmark.el (landmark-max-width, landmark-max-height):
      * play/zone.el (zone):
      * progmodes/compile.el (compilation-goto-locus):
      * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
      * progmodes/etags.el (find-tag-other-window):
      * progmodes/fortran.el (fortran-column-ruler):
      * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
      * progmodes/verilog-mode.el (verilog-point-text):
      * reposition.el (reposition-window):
      * rot13.el (toggle-rot13-mode):
      * server.el (server-switch-buffer):
      * shell.el (shell-dynamic-complete-command)
      (shell-dynamic-complete-environment-variable):
      * simple.el (insert-buffer, set-selective-display)
      (delete-completion-window):
      * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
      (speedbar-recenter):
      * startup.el (fancy-splash-head):
      * textmodes/ispell.el (ispell-command-loop):
      * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
      * tutorial.el (help-with-tutorial):
      * vc/add-log.el (add-change-log-entry):
      * vc/compare-w.el (compare-windows):
      * vc/ediff-help.el (ediff-indent-help-message):
      * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
      * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
      (ediff-setup-control-frame):
      * vc/emerge.el (emerge-position-region):
      * vc/pcvs-util.el (cvs-bury-buffer):
      * window.el (walk-windows, mouse-autoselect-window-select):
      * winner.el (winner-set-conf, winner-undo): Related users changed.
      290d5b58
  8. 05 Jun, 2013 1 commit
  9. 23 May, 2013 1 commit
    • Glenn Morris's avatar
      Silence many eshell compilation warnings · f87b1284
      Glenn Morris authored
      * lisp/eshell/em-tramp.el: Adjust requires.
      (eshell-parse-command): Autoload.
      
      * lisp/eshell/em-xtra.el: Adjust requires.
      (eshell-parse-command): Autoload.
      
      * lisp/eshell/esh-ext.el: Adjust requires.
      (eshell-parse-command, eshell-close-handles): Autoload.
      
      * lisp/eshell/esh-io.el: Adjust requires.
      (eshell-output-filter): Autoload.
      
      * lisp/eshell/esh-util.el: No need to load tramp when compiling.
      (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime): Declare.
      (eshell-parse-ange-ls): Require ange-ftp and tramp.
      
      * lisp/eshell/em-alias.el, lisp/eshell/em-banner.el, lisp/eshell/em-basic.el:
      * lisp/eshell/em-cmpl.el, lisp/eshell/em-glob.el, lisp/eshell/em-pred.el:
      * lisp/eshell/em-prompt.el, lisp/eshell/em-rebind.el, lisp/eshell/em-smart.el:
      * lisp/eshell/em-term.el, lisp/eshell/esh-arg.el, lisp/eshell/esh-mode.el:
      * lisp/eshell/esh-opt.el, lisp/eshell/esh-proc.el:
      * lisp/eshell/esh-var.el: Adjust requires.
      
      * lisp/eshell/eshell.el: Do not require esh-util twice.
      (eshell-add-input-to-history): Declare.
      (eshell-command): Check history module is active before using it.
      f87b1284
  10. 01 Jan, 2013 1 commit
  11. 06 Oct, 2012 1 commit
  12. 15 Aug, 2012 1 commit
  13. 02 Jun, 2012 1 commit
    • Chong Yidong's avatar
      Remove incorrect uses of "modeline". · 37269466
      Chong Yidong authored
      * ansi-color.el (ansi-color-faces-vector): Change default faces.
      
      * cus-edit.el (mode-line):
      * dframe.el (dframe-mouse-hscroll):
      * emacs-lisp/re-builder.el:
      * emacs-lisp/easy-mmode.el (define-minor-mode):
      * frame.el (set-frame-name):
      * help.el (lookup-minor-mode-from-indicator):
      * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
      * progmodes/cc-cmds.el (c-toggle-auto-newline)
      (c-toggle-hungry-state):
      * progmodes/antlr-mode.el (antlr-language-alist):
      * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
      * progmodes/vhdl-mode.el (vhdl-mode):
      * progmodes/which-func.el (which-func, which-func-cleanup-function):
      * term/ns-win.el (ns-face-at-pos):
      * term/sup-mouse.el (sup-mouse-report):
      * textmodes/flyspell.el (flyspell-mode-line-string):
      * textmodes/ispell.el (ispell-highlight-face):
      * textmodes/reftex-global.el:
      * vc/vc-arch.el (vc-arch-mode-line-string):
      * vc/vc-cvs.el (vc-cvs-mode-line-string):
      * vc/vc-git.el (vc-git-mode-line-string):
      * vc/vc-hooks.el (vc-display-status)
      (vc-default-mode-line-string):
      * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
      
      * dired.el (dired-sort-set-mode-line): Rename from
      dired-sort-set-modeline.  All callers changed.
      
      * foldout.el (foldout-mode-line-string): Rename from
      foldout-modeline-string.  All callers changed.
      (foldout-update-mode-line): Rename from foldout-update-modeline.
      
      * strokes.el (strokes-lighter): Rename from
      strokes-modeline-string.
      
      * subr.el (redraw-modeline): Make into obsolete alias.
      
      * calendar/timeclock.el (timeclock-mode-line-display): Rename from
      timeclock-modeline-display.  Make old name an alias.
      (timeclock-update-mode-line): Likewise.  All callers changed.
      (timeclock-mode-line-display): No need to check before using
      add-hook.
      (timeclock-relative, timeclock-day-over-hook)
      (timeclock-use-elapsed, timeclock-mode-string)
      (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
      
      * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
      crisp-mode-modeline-string.
      
      * erc-track.el (erc-track, erc-track-faces-priority-list)
      (erc-track-faces-normal-list, erc-track-find-face)
      (erc-track-modified-channels): Fix modeline -> mode line in docs.
      
      * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
      eshell-status-in-modeline.
      
      * org-clock.el (org-clock-string-limit)
      (org-clock-modeline-total, org-clock-task-overrun-text)
      (org-clock-mode-line-entry): Doc fix, "modeline" -> "mode line".
      
      * play/solitaire.el (solitaire-build-mode-line): Rename from
      solitaire-build-modeline.  All callers changed.
      
      * play/zone.el (zone-hiding-mode-line): Rename from
      zone-hiding-modeline.  All callers changed.
      (zone): Remove unusued `modeline-hidden-level' property.
      
      * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
      xscheme-modeline-initialize.  All callers changed.
      
      * textmodes/sgml-mode.el (html-face-tag-alist)
      (html-tag-face-alist): Use mode-line face instead of obsolete
      alias modeline.
      
      Fixes: debbugs:10329
      37269466
  14. 11 Jan, 2012 1 commit
  15. 05 Jan, 2012 1 commit
  16. 17 Nov, 2011 1 commit
  17. 22 Apr, 2011 1 commit
  18. 05 Mar, 2011 3 commits
    • Glenn Morris's avatar
      Move eshell's self-tests to the test/ directory. · 81fb60b2
      Glenn Morris authored
      * lisp/eshell/esh-var.el: Don't require esh-test when compiling.
      * lisp/eshell/em-banner.el, lisp/eshell/esh-cmd.el, lisp/eshell/esh-mode.el:
      * lisp/eshell/esh-var.el, lisp/eshell/eshell.el: Move tests to esh-test.
      * lisp/eshell/esh-test.el: Move to ../../test/eshell.el
      
      * test/eshell.el: Move here from lisp/eshell/esh-test.el.
      81fb60b2
    • Glenn Morris's avatar
      Default all eshell hooks to nil (bug#5375) · d783d303
      Glenn Morris authored
      * eshell/esh-mode.el (eshell-kill-buffer-function): New function.
      (eshell-mode): Use eshell-kill-buffer-function.
      Run the -initialize functions independently of the -load-hooks.
      * eshell/esh-proc.el (eshell-kill-process-function): New function.
      (eshell-gather-process-output, eshell-sentinel)
      (eshell-interrupt-process, eshell-kill-process, eshell-quit-process):
      Use eshell-kill-process-function.
      * eshell/em-alias.el (eshell-alias-load-hook):
      * eshell/em-banner.el (eshell-banner-load-hook):
      * eshell/em-cmpl.el (eshell-cmpl-load-hook):
      * eshell/em-dirs.el (eshell-dirs-load-hook):
      * eshell/em-glob.el (eshell-glob-load-hook):
      * eshell/em-hist.el (eshell-hist-load-hook):
      * eshell/em-pred.el (eshell-pred-load-hook):
      * eshell/em-prompt.el (eshell-prompt-load-hook):
      * eshell/em-rebind.el (eshell-rebind-load-hook):
      * eshell/em-script.el (eshell-script-load-hook):
      * eshell/em-smart.el (eshell-smart-load-hook):
      * eshell/em-term.el (eshell-term-load-hook):
      * eshell/em-unix.el (eshell-unix-load-hook):
      * eshell/esh-arg.el (eshell-arg-load-hook):
      * eshell/esh-cmd.el (eshell-cmd-load-hook):
      * eshell/esh-ext.el (eshell-ext-load-hook):
      * eshell/esh-io.el (eshell-io-load-hook):
      * eshell/esh-mode.el (eshell-exit-hook):
      * eshell/esh-proc.el (eshell-proc-load-hook, eshell-kill-hook):
      * eshell/esh-var.el (eshell-var-load-hook):
      Set default hook values to nil.  (Bug#5375)
      d783d303
    • Glenn Morris's avatar
      Make eshell-for obsolete (replaced by dolist) · a9eeff78
      Glenn Morris authored
      * eshell/esh-util.el (eshell-for): Make it obsolete.
      * eshell/em-alias.el (eshell/alias, eshell-alias-completions):
      * eshell/em-dirs.el (eshell-save-some-last-dir):
      * eshell/em-hist.el (eshell-save-some-history, eshell-hist-parse-modifier):
      * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files, eshell-ls-entries):
      * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su):
      * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval, eshell/which):
      * eshell/esh-ext.el (eshell-find-interpreter):
      * eshell/esh-mode.el (eshell-mode):
      * eshell/esh-module.el (eshell-unload-extension-modules):
      * eshell/esh-proc.el (eshell-process-interact):
      * eshell/esh-test.el (eshell-test):
      * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list):
      * eshell/esh-var.el (eshell/env, eshell-environment-variables)
      (eshell-variables-list):
      * eshell/eshell.el (eshell-unload-all-modules):
      Replace eshell-for with dolist.
      a9eeff78
  19. 25 Jan, 2011 1 commit
  20. 15 Jan, 2011 1 commit
  21. 02 Jan, 2011 1 commit
  22. 25 Sep, 2010 1 commit
    • Glenn Morris's avatar
      Cosmetic doc fixes for eshell. · ec60da52
      Glenn Morris authored
      * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
      * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
      * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
      * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
      * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
      * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
      * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
      * eshell/esh-util.el, eshell/esh-var.el:
      Remove leading `*' from docs of faces and defcustoms.
      ec60da52
  23. 13 Jan, 2010 1 commit
  24. 03 Nov, 2009 1 commit
  25. 02 Oct, 2009 1 commit
  26. 22 Jan, 2009 3 commits
  27. 09 Jan, 2009 1 commit
  28. 05 Jan, 2009 1 commit
  29. 06 May, 2008 1 commit
  30. 10 Apr, 2008 1 commit
  31. 07 Jan, 2008 1 commit
  32. 05 Dec, 2007 1 commit
  33. 17 Nov, 2007 1 commit
    • Dan Nicolaescu's avatar
      * eshell/esh-util.el (eshell-under-xemacs-p): Remove. · a3269bc4
      Dan Nicolaescu authored
      * eshell/esh-mode.el (eshell-mode-syntax-table)
      (command-running-p):
      * eshell/esh-ext.el (eshell-external-command):
      * eshell/esh-cmd.el (require):
      * eshell/em-unix.el (eshell-plain-locate-behavior):
      * eshell/em-cmpl.el (eshell-cmpl-initialize): Replace
      eshell-under-xemacs-p with (featurep 'xemacs).
      * eshell/esh-mode.el (characterp,char-int): Remove unused
      conditional defaliases.
      
      * pcomplete.el (pcomplete-event-matches-key-specifier-p): Rename
      from event-matches-key-specifier-p, define unconditionally.
      (event-basic-type): Remove unused defalias.
      (pcomplete-show-completions):
      Use pcomplete-event-matches-key-specifier-p.
      
      * mh-e.el (mh-xemacs-flag): Remove.
      (mh-min-colors-defined-flag):
      * mh-xface.el (mh-show-xface-function):
      * mh-utils.el (mh-colors-available-p):
      * mh-show.el (mh-show-mode):
      * mh-gnus.el (mh-gnus-local-map-property):
      * mh-folder.el (mh-folder-mode-map)
      (mh-remove-xemacs-horizontal-scrollbar, mh-folder-mode):
      * mh-comp.el (mh-insert-x-mailer): Replace uses of mh-xemacs-flag
      with (featurep 'xemacs).
      a3269bc4
  34. 07 Nov, 2007 2 commits