Subject: bug#12418: closed (Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working)

From: [email-masked] (GNU bug Tracking System)
Date: Wed, 12 Sep 2012 08:08:02 +0000

Your bug report

#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
12418: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12418
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working
From: Glenn Morris <[email-masked]>
To: [email-masked]
Date: Wed, 12 Sep 2012 04:06:17 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

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.

Subject: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working
From: Jose Marino <[email-masked]>
To: [email-masked]
Date: Tue, 11 Sep 2012 13:44:17 -0500
List-Id: <debbugs-submit.debbugs.gnu.org>

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