1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-28 07:45:00 +00:00
Commit Graph

387 Commits

Author SHA1 Message Date
Juri Linkov
c59a65bdac * comint.el (comint-dynamic-simple-complete):
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.
2008-03-21 23:58:06 +00:00
Juri Linkov
4b0dc1de40 (comint-dynamic-complete-as-filename)
(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.
2008-03-21 23:51:40 +00:00
Stefan Monnier
f130385591 Fix up indentation and comment style. Remove `function'. 2008-03-12 17:56:57 +00:00
Kenichi Handa
40dd88cfb3 (comint-exec-1): Don't change the coding-system for
decoding to dos-like EOL.
(comint-carriage-motion): Fully rewrite.
2008-03-05 01:57:57 +00:00
Miles Bader
1bad168e59 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-1006
2008-01-22 23:53:46 +00:00
Glenn Morris
b11a06ccc7 (comint-regexp-arg): Fix no-input case. 2008-01-16 08:11:05 +00:00
Glenn Morris
2d216b52ea (comint-regexp-arg): Fix no-input case. 2008-01-16 08:10:36 +00:00
Nick Roberts
d1497e8d4d (comint-insert-input): Set point first. 2008-01-10 11:28:33 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
409cc4a3ea Add 2008 to copyright years. 2008-01-07 02:45:14 +00:00
Miles Bader
b17f53abc2 Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-966
2007-12-28 22:26:14 +00:00
Richard M. Stallman
6143495cd6 (comint-mode-map): Explicitly bind delete' and kp-delete'
so they never do EOF.
2007-12-25 16:56:28 +00:00
Richard M. Stallman
55a3770f70 (comint-password-prompt-regexp): Match `Enter Password'. 2007-12-22 16:23:36 +00:00
Glenn Morris
d8e27e33f6 Chris Moore <christopher.ian.moore at gmail.com>
(comint-password-prompt-regexp): Handle `[sudo] password'-style prompt.
2007-10-25 03:53:10 +00:00
Glenn Morris
a6151b2c10 Chris Moore <christopher.ian.moore at gmail.com>
(comint-password-prompt-regexp): Handle `[sudo] password'-style
prompt.
2007-10-23 07:10:56 +00:00
Miles Bader
b2529d56b5 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 116-121)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-889
2007-10-15 02:07:53 +00:00
Eli Zaretskii
0506e86613 (comint-password-prompt-regexp): Add 'LDAP'. 2007-10-13 11:34:19 +00:00
Glenn Morris
ae5a55fa6c (comint-mode): Don't set scroll-conservatively. 2007-09-02 01:29:35 +00:00
Glenn Morris
a295dea3ad (comint-mode): Don't set scroll-conservatively. 2007-09-02 01:27:57 +00:00
Michael Albinus
66a100be19 * comint.el (comint-exec-1): Raise an error if
`start-file-process' does not return a process object.

* shell.el (shell): Prompt for `default-directory' if it is a
remote file name, and if called with a prefix arg.
2007-08-22 19:47:57 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
b4aa60262c Switch license to GPLv3 or later. 2007-07-25 04:50:21 +00:00
Jason Rumney
d93290ed10 (comint-simple-send): Concat newline before sending.
(comint-password-prompt-regexp): Recognize plink's passphrase prompt.
2007-07-22 22:55:09 +00:00
Jason Rumney
3af378034d (comint-simple-send): Concat newline before sending.
(comint-password-prompt-regexp): Recognize plink's passphrase prompt.
2007-07-15 01:00:55 +00:00
Stefan Monnier
c788d36681 (comint-dynamic-complete-as-filename,comint-dynamic-list-filename-completions):
Use read-file-name-completion-ignore-case.
2007-07-12 04:14:48 +00:00
Michael Albinus
4b29e550e6 * comint.el (make-comint, make-comint-in-buffer)
(comint-exec-1): Replace `start-process' by `start-file-process'.

* progmodes/compile.el (compilation-start): Revert redefining
`start-process'.
2007-07-10 19:52:11 +00:00
Chong Yidong
2bf75913fc (comint-send-input): Widen the buffer first. 2007-04-02 14:01:02 +00:00
Stefan Monnier
dbb56e39bf (comint-proc-query, comint-dynamic-list-completions):
Fix calls to get-buffer-window to find windows in other frames.
Reported by David Hansen <david.hansen@gmx.net>.
2007-03-28 00:51:08 +00:00
Chong Yidong
34bd6b4dfd (comint-arguments): Mark backslash-escaped chars.
(comint-delim-arg): Don't treat them as delimiters.
2007-03-17 18:08:50 +00:00
Eli Zaretskii
d695bd172e (comint-read-input-ring): Use comint-input-ring-size from the comint buffer
instead of the temporary one.
2007-02-23 19:22:09 +00:00
Romain Francoise
e3633d8bdc Delete extra copy of `comint-copy-old-input' added in previous change to
this file.
2007-01-31 13:20:52 +00:00
J.D. Smith
46bb060f6c - Prevent non-keyword fontification by default. 2007-01-31 05:53:30 +00:00
Chong Yidong
445de73cf6 (comint-insert-input): Handle situation where the selected buffer is
not the clicked buffer.
2007-01-29 02:31:22 +00:00
Glenn Morris
d7a0267c8d Add 2007 to copyright years. 2007-01-21 03:53:13 +00:00
Richard M. Stallman
15b8c5c69d Comment change. 2006-12-17 20:39:33 +00:00
Romain Francoise
c169c5a33b Revert last change. 2006-12-09 13:10:01 +00:00
Romain Francoise
5641e7a93a (comint-insert-input): Delete obsolete comment.
Examine input field without moving point.
2006-12-09 11:14:35 +00:00
Richard M. Stallman
4c1793001c (comint-exec-1): Provide Emacs version and `comint' in INSIDE_EMACS. 2006-11-28 02:19:20 +00:00
Chong Yidong
cfefbbf440 (comint-exec-1): Set EMACS and INSIDE_EMACS to t. 2006-11-18 21:01:33 +00:00
Richard M. Stallman
c207f52608 (comint-mode): Bind font-lock-defaults non-nil. 2006-09-28 19:09:19 +00:00
Paul Eggert
4b1aaa8b07 * etc/NEWS: In terminal-oriented subshells, the EMACS environment
variable now defaults to Emacs's absolute file name, instead of
to "t".
* etc/PROBLEMS: Adjust tcsh advice for this.
* make-dist (EMACS): Exit and fail if the EMACS environment
variable is set to something other than an absolute file name.
* lisp/comint.el (comint-exec-1): Set EMACS to the full name of Emacs,
not to "t".
* lisp/progmodes/compile.el (compilation-start): Likewise.
* lisp/progmodes/idlwave.el (idlwave-rescan-asynchronously):
Don't use expand-file-name on invocation-directory, since this
might mishandle special characters in invocation-directory.
* man/faq.texi (Escape sequences in shell output): EMACS is now set
to Emacs's absolute file name, not to "t".
(^M in the shell buffer): Likewise.
* man/misc.texi (Interactive Shell): Likewise.
2006-09-12 16:43:25 +00:00
Luc Teirlinck
5d72601f6a (comint-send-input): Do not add help-echo and mouse-face to input if
`comint-use-prompt-regexp' is non-nil.
2006-06-02 02:04:15 +00:00
Reiner Steib
a8dc674f5f (comint-kill-whole-line): Rename arg to count. Fix
doc string.
2006-05-26 16:44:53 +00:00
Nick Roberts
3e12c6736d (comint-insert-input): Just make it when
comint-use-prompt regexp is nil (default) and with the mouse.
(comint-copy-old-input): Reinstate from 2004-06-23.
(comint-mode-map): Bind C-c C-m to it.
2006-05-10 21:31:09 +00:00
Miles Bader
9a4d87c8d5 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-272
(comint-insert-input): Remove redundant calls to setq and goto-char
2006-05-10 02:07:12 +00:00
Miles Bader
1627b55f61 Revision: emacs@sv.gnu.org/emacs--devo--0--patch-271
Rename "field-at-point" to "field-at-pos"
2006-05-10 01:58:37 +00:00
Nick Roberts
8c74ff6983 (comint-insert-input): Make it work when comint-use-prompt-regexp is t.
Use field-at-point.
2006-05-10 00:34:02 +00:00
Romain Francoise
7fcece574b (comint-match-partial-filename): Doc fix. 2006-04-22 23:30:13 +00:00
J.D. Smith
374407b3db Remove C-c C-j binding. 2006-04-19 21:17:12 +00:00
J.D. Smith
c3d2959c21 (comint-previous-input): Don't clobber input line when moving off either
end of the input history ring.
(comint-delete-input): New function, used by `comint-previous-input' and
others.
(comint-previous-matching-input): Use `coming-delete-input'. Save the
partial input if leaving the edit line.  Goto point-max before deleting
input to avoid partial input fragments hanging around.
(comint-restore-input): New function, used by `comint-previous-input',
and bound to "C-c C-j".
2006-04-18 23:49:28 +00:00