--- Begin Message ---
Subject: |
emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working |
Date: |
Tue, 11 Sep 2012 13:44:17 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 |
I'm using idlwave mode with emacs 24.2 and filename completion in the
shell is not working. Typing TAB produces nothing: no errors and no
completions.
The problem seems to be fixed by this patch:
--- idlw-shell.el.orig 2012-09-11 13:35:35.549891109 -0500
+++ idlw-shell.el 2012-09-11 13:36:37.901886841 -0500
@@ -2187,7 +2187,7 @@
;; CWD might have changed, resync, to set default directory
(idlwave-shell-resync-dirs)
(let ((comint-file-name-chars idlwave-shell-file-name-chars))
- (comint-filename-completion)))
+ (comint-dynamic-complete-filename)))
(defun idlwave-shell-executive-command ()
"Return the name of the current executive command, if any."
Thanks,
Jose
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working |
Date: |
Wed, 12 Sep 2012 04:06:17 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 24.3
Jose Marino wrote:
> - (comint-filename-completion)))
> + (comint-dynamic-complete-filename)))
Thanks; applied to emacs-24 branch.
The obsolescence message for comint-dynamic-complete-as-filename seems
misleading to me:
This function is obsolete since 24.1;
use `comint-filename-completion' instead.
Surely it would be better to say `use comint-dynamic-complete-filename
instead', rather than just saying "See `comint-dynamic-complete-filename'"
in the doc.
--- End Message ---