summaryrefslogtreecommitdiff
path: root/lisp/comint.el
Commit message (Collapse)AuthorAgeFilesLines
* Merge from emacs-23Stefan Monnier2011-01-141-3/+3
|\
| * Add 2011 to FSF/AIST copyright years.Glenn Morris2011-01-021-1/+1
| |
* | * lisp/comint.el (comint-highlight-prompt): Inherit from minibuffer-prompt.Chong Yidong2011-01-091-3/+1
| |
* | Merge from emacs-23Stefan Monnier2010-12-131-18/+19
|\ \ | |/
| * Doc fixes for comint functions (Bug#7499).Chong Yidong2010-12-041-18/+19
| | | | | | | | | | | | | | | | | | * lisp/comint.el (comint-dynamic-list-input-ring) (comint-dynamic-complete-filename) (comint-replace-by-expanded-filename) (comint-dynamic-simple-complete) (comint-dynamic-list-filename-completions) (comint-dynamic-list-completions): Doc fix (Bug#7499).
* | * lisp/comint.el (comint-input-ring-file-name): Doc fix.Glenn Morris2010-12-091-2/+2
| |
* | Merge from emacs-23Stefan Monnier2010-11-171-0/+1
|\ \ | |/
| * * comint.el (comint-kill-region): Fix last change.Stefan Monnier2010-11-171-1/+1
| |
| * Make the yank-handler argument obsolete.Stefan Monnier2010-11-171-0/+1
| | | | | | | | | | * simple.el (kill-new, kill-append, kill-region): * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
| * Fix bug#7224.Glenn Morris2010-10-231-1/+2
| | | | | | | | * lisp/comint.el (comint-password-prompt-regexp): Match "enter the password".
* | * lisp/comint.el (comint-password-prompt-regexp): Make it less vague.Glenn Morris2010-10-231-5/+7
| | | | | | | | | | | | | | | | | | Bump custom version. The initial regexp-opt was bracketed by \\( \\)?, so it might as well have not been there at all. This change makes it non-optional, and adds back "^". Hopefully the behaviour is now closer to that of emacs-23, before it was re-written in http://debbugs.gnu.org/2817.
* | Remove some functions, variables and aliases obsolete since at least 21.1.Glenn Morris2010-10-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/misc/misc.texi (Shell Mode): Remove reference to old function name. * src/character.c (Fchar_bytes): Remove obsolete function. (syms_of_character): Remove Schar_bytes. * lisp/subr.el (char-bytes): Remove obsolete function. * lisp/emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias. * lisp/isearch.el (isearch-return-char): Remove obsolete function. * lisp/mouse.el: No longer provide mldrag. (mldrag-drag-mode-line, mldrag-drag-vertical-line): Remove obsolete aliases. * lisp/comint.el (comint-kill-output): Remove obsolete alias. * lisp/shell.el: Comment fix. * lisp/composite.el (decompose-composite-char): Remove obsolete function. * lisp/ps-def.el (decompose-composite-char): Remove unused function. * lisp/iswitchb.el (iswitchb-default-keybindings): Remove obsolete function. * lisp/outline.el (outline-visible): Remove obsolete function. * lisp/term/pc-win.el (x-frob-font-slant, x-frob-font-weight): * lisp/faces.el (internal-find-face, internal-get-face) (frame-update-faces, frame-update-face-colors) (x-frob-font-weight, x-frob-font-slant) (internal-frob-font-weight, internal-frob-font-slant) (x-make-font-bold, x-make-font-demibold, x-make-font-unbold) (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic) (x-make-font-bold-italic): Remove functions and aliases, obsolete since Emacs 21.1. * lisp/emulation/viper-util.el (viper-get-face): * lisp/obsolete/lucid.el (find-face, get-face): Use facep. * lisp/vc/ediff-init.el (ediff-valid-color-p, ediff-get-face): Remove unused functions. * lisp/vc/ediff-util.el (ediff-submit-report): Doc fix. * etc/NEWS: Mention above changes.
* | Tiny comint.el change.Glenn Morris2010-09-231-8/+6
| | | | | | | | | | * lisp/comint.el (comint-use-prompt-regexp-instead-of-fields): Move alias before definition, so it does not need autoloading.
* | Add "Package:" file headers to denote built-in packages.Chong Yidong2010-08-291-0/+1
| |
* | * comint.el (comint-mode): Make directory tracking functionsMichael Albinus2010-08-061-0/+3
| | | | | | | | functional on remote files. (Bug#6764)
* | Merge changes from emacs-23 branch.Chong Yidong2010-07-101-2/+6
|\ \ | |/
| * Doc fix.Štěpán Němec2010-06-231-2/+6
| | | | | | | | | | * lisp/comint.el (make-comint, make-comint-in-buffer): Mention return value in the docstrings. (Bug#6498)
* | Fix for comint-password-prompt-regexp (Bug#6367).Chong Yidong2010-06-111-1/+1
| | | | | | | | | | | | | | * lisp/comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change (Bug#6367). * comint-testsuite.el: New file.
* | Remove obsolete comment.Juri Linkov2010-05-211-1/+0
| |
* | Update comint-password-prompt-regexp (Bug#2817).Chong Yidong2010-04-101-5/+11
|/ | | | | * comint.el (comint-password-prompt-regexp): Use regexp-opt, and recognize ssh-keygen prompt (Bug#2817).
* Add 2010 to copyright years.Glenn Morris2010-01-131-1/+1
|
* * comint.el (comint-input-ring-size): Make it a defcustom andChong Yidong2010-01-011-2/+5
| | | | increase the default to 500.
* Don't lazy-highlight the comint output in history Isearch mode.Juri Linkov2009-12-071-5/+5
| | | | | | | * comint.el (comint-history-isearch-search): Instead of `comint-line-beginning-position', use `comint-after-pmark-p' to check if point if before the process mark, and go to `process-mark' in this case.
* (comint-insert-input): Ignore clicks to the right ofStefan Monnier2009-12-011-1/+4
| | | | the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
* (comint-mode-map): Rebind `M-r' fromJuri Linkov2009-11-301-6/+6
| | | | | | | | `comint-previous-matching-input' to `comint-history-isearch-backward-regexp'. Unbind `M-s' to allow global key binding `M-s'. Add menu items for `comint-history-isearch-backward' and `comint-history-isearch-backward-regexp'. (Bug#3746)
* Implement Isearch in comint input history. (Bug#3746)Juri Linkov2009-11-231-0/+196
| | | | | | | | | | | | | | * comint.el (comint-mode): Add `comint-history-isearch-setup' to `isearch-mode-hook'. (comint-history-isearch): New defcustom. (comint-history-isearch-backward) (comint-history-isearch-backward-regexp): New commands. (comint-history-isearch-message-overlay): New buffer-local variable. (comint-history-isearch-setup, comint-history-isearch-end) (comint-goto-input, comint-history-isearch-search) (comint-history-isearch-message, comint-history-isearch-wrap) (comint-history-isearch-push-state) (comint-history-isearch-pop-state): New functions.
* * widget.el (define-widget): Purecopy the docstring.Dan Nicolaescu2009-11-111-1/+1
| | | | | | | | | | | | | | | | | * international/mule-cmds.el (charset): Do not purecopy the docstring here, define-widget does it. * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote): * textmodes/bibtex-style.el (auto-mode-alist): * progmodes/inf-lisp.el (inferior-lisp-prompt): * progmodes/compile.el (compile-command): * language/korea-util.el (default-korean-keyboard): * international/mule-conf.el (file-coding-system-alist): * emacs-lisp/eldoc.el (eldoc-minor-mode-string): * tooltip.el (tooltip-frame-parameters): * newcomment.el (comment-end, comment-padding): * dired.el (dired-trivial-filenames): * comint.el (comint-file-name-prefix): Purecopy initial values.
* * comint.el (comint-replace-by-expanded-history-before-point):Chong Yidong2009-11-031-4/+1
| | | | Replace !! with the previous input string literally (Bug#1795).
* (comint-dynamic-list-completions): Use choose-completion rather thanGlenn Morris2009-10-241-1/+1
| | | | obsolete alias mouse-choose-completion.
* (comint-read-input-ring, comint-write-input-ring)Stefan Monnier2009-10-221-29/+30
| | | | | | | | | (comint-substitute-in-file-name) (comint-dynamic-complete-as-filename) (comint-dynamic-simple-complete) (comint-dynamic-list-filename-completions) (comint-dynamic-list-completions) (comint-redirect-results-list-from-process): Minor simplifications.
* Replace completion-base-size by completion-base-position to fix bugsStefan Monnier2009-10-151-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | such as (bug#4699). * simple.el (completion-base-position): New var. (completion-base-size): Mark as obsolete. (choose-completion): Make it work for mouse events as well. Pass the new base-position to choose-completion-string. (choose-completion-guess-base-position): New function, extracted from choose-completion-delete-max-match. (choose-completion-delete-max-match): Use it. Make obsolete. (choose-completion-string): Use the new base-position info. (completion-root-regexp): Delete. (completion-setup-function): Preserve completion-base-position. Eliminate obsolete base-size manipulation. * minibuffer.el (display-completion-list): Don't mess with base-size. (minibuffer-completion-help): Set completion-base-position instead. * mouse.el (mouse-choose-completion): Redefine as a mere alias to choose-completion. * textmodes/bibtex.el (bibtex-complete): * emacs-lisp/crm.el (crm--choose-completion-string): Adjust to new calling convention. * complete.el (partial-completion-mode): Use minibufferp to avoid bumping into incompatible change to choose-completion-string-functions. * ido.el (ido-choose-completion-string): Make its calling convention more permissive. * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete base-size manipulation. (comint-dynamic-list-input-ring): Use dotimes and push. * iswitchb.el (iswitchb-completion-help): Remove dead-code call to fundamental-mode. Use `or'.
* Use `called-interactively-p' instead of `interactive-p'.Juanma Barranquero2009-10-021-2/+3
|
* * comint.el (comint-exec, comint-run, make-comint): DocChong Yidong2009-09-251-3/+5
| | | | fixes (Bug#4542).
* (comint-exec-1): Check command is non-null first.Nick Roberts2009-08-301-1/+1
| | | | Part of gdb-mi.el change (2009-08-28).
* (comint-insert-input): Be careful to only set point if weStefan Monnier2009-08-301-10/+13
| | | | don't delegate to some other command.
* (comint-insert-input): Doc fix.Glenn Morris2009-06-231-1/+1
|
* Add 2009 to copyright years.Glenn Morris2009-01-051-1/+1
|
* (comint-save-input-ring-index): Add missing initial value.Glenn Morris2008-12-201-2/+3
|
* * align.el:Lute Kamstra2008-12-031-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * allout.el: * apropos.el: * arc-mode.el: * autoinsert.el: * avoid.el: * battery.el: * bookmark.el: * buff-menu.el: * calculator.el: * chistory.el: * cmuscheme.el: * comint.el: * compare-w.el: * dabbrev.el: * delim-col.el: * desktop.el: * diff-mode.el: * diff.el: * dired-aux.el: * dired-x.el: * dired.el: * dos-vars.el: * ediff-diff.el: * ediff-help.el: * ediff-init.el: * ediff-merg.el: * ediff-mult.el: * ediff-ptch.el: * ediff-vers.el: * ediff-wind.el: * ediff.el: * emerge.el: * facemenu.el: * faces.el: * ffap.el: * filecache.el: * find-dired.el: * font-core.el: * font-lock.el: * forms.el: * fringe.el: * help-at-pt.el: * hippie-exp.el: * ido.el: * image-file.el: * imenu.el: * indent.el: * info.el: * isearchb.el: * iswitchb.el: * jit-lock.el: * jka-compr.el: * log-edit.el: * lpr.el: * ls-lisp.el: * man.el: * menu-bar.el: * midnight.el: * mouse-sel.el: * mouse.el: * msb.el: * outline.el: * paren.el: * pcmpl-cvs.el: * pcmpl-gnu.el: * pcomplete.el: * pcvs-info.el: * pcvs-parse.el: * printing.el: * ps-mule.el: * ps-print.el: * replace.el: * ruler-mode.el: * saveplace.el: * sb-image.el: * scroll-bar.el: * sha1.el: * shadowfile.el: * shell.el: * sort.el: * speedbar.el: * strokes.el: * tempo.el: * term.el: * terminal.el: * time-stamp.el: * time.el: * tree-widget.el: * type-break.el: * vc-cvs.el: * vc-hg.el: * vc-mcvs.el: * vc-rcs.el: * vc-sccs.el: * vc.el: * view.el: * w32-vars.el: * whitespace.el: * wid-edit.el: Remove leading * from docstrings of defcustoms, deffaces, defconsts and defuns.
* (comint-show-output): Adjust to stickiness changes of the output field.Romain Francoise2008-09-281-5/+1
|
* (comint-dynamic-complete-as-filename): Quote directory name whenChong Yidong2008-09-251-1/+1
| | | | reinserting it.
* (comint-output-filter): Make output field properties front-stickyMiles Bader2008-09-191-1/+3
| | | | Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1420
* (comint-dynamic-list-filename-completions): Quote common substring.Chong Yidong2008-08-271-1/+1
|
* (comint-dynamic-complete-as-filename): Generalize last change to allowChong Yidong2008-08-271-13/+6
| | | | quoting of characters before point.
* (comint-dynamic-complete-as-filename): If case is ignored whileChong Yidong2008-08-261-3/+16
| | | | matching, replace the entire filename with completion.
* * progmodes/compile.el (compilation-start): Don't disable undo inStefan Monnier2008-06-131-6/+2
| | | | | | comint buffer. Don't override the comint-filter with our own. (compilation-filter): Change point's insertion-type. * comint.el (comint-output-filter): Use copy-marker.
* * window.c (Vwindow_point_insertion_type): New var.Stefan Monnier2008-06-101-42/+4
| | | | | | | | | | | | | | | | | (set_window_buffer): Use it. (syms_of_window): Init and export it to Lisp. * progmodes/compile.el (compilation-mode): Set window-point-insertion-type. (compilation-filter): Don't use insert-before-markers any more. * emacs-lisp/trace.el (trace-make-advice): Set window-point-insertion-type in the trace buffer. * startup.el (normal-top-level): Set window-point-insertion-type in *Messages*. * net/telnet.el (telnet-mode): Set window-point-insertion-type. (telnet-filter): Don't use insert-before-markers any more. * comint.el (comint-mode): Set window-point-insertion-type. (comint-output-filter): Don't use insert-before-markers any more. * button.el (make-text-button): Allow `start' to be a string.
* Switch to recommended form of GPLv3 permissions notice.Glenn Morris2008-05-061-6/+4
|
* * comint.el (comint-dynamic-simple-complete):Juri Linkov2008-03-211-4/+6
| | | | | | | | | | | Use variable `stub' for the second arg `common-substring' of `comint-dynamic-list-completions'. (comint-dynamic-list-filename-completions): Use variable `filenondir' for the second arg `common-substring' of `comint-dynamic-list-completions'. (comint-dynamic-list-completions): Add new optional arg `common-substring'. Add `common-substring' as the second arg of the call to `display-completion-list'. Doc fix.
* (comint-dynamic-complete-as-filename)Juri Linkov2008-03-211-8/+21
| | | | | | | | | | | | (comint-dynamic-list-filename-completions) (comint-dynamic-simple-complete): Use `minibuffer-message' to display message "No completions of %s" when a command is called in the minibuffer. (comint-dynamic-simple-complete): Don't display other completion messages when a command is called in the minibuffer. (comint-dynamic-list-completions): Use `minibuffer-message' to display message " [Type space to flush ...]" when a command is called in the minibuffer.