From unknown Fri Aug 15 16:17:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12418 <12418@debbugs.gnu.org> To: bug#12418 <12418@debbugs.gnu.org> Subject: Status: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working Reply-To: bug#12418 <12418@debbugs.gnu.org> Date: Fri, 15 Aug 2025 23:17:33 +0000 retitle 12418 emacs 24.2; idlw-shell.el: filename completion in IDL shell i= s not working reassign 12418 emacs submitter 12418 Jose Marino severity 12418 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Sep 11 15:38:44 2012 Received: (at submit) by debbugs.gnu.org; 11 Sep 2012 19:38:44 +0000 Received: from localhost ([127.0.0.1]:55172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBWIG-0008Di-Gc for submit@debbugs.gnu.org; Tue, 11 Sep 2012 15:38:44 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55814) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBWC1-00084u-F4 for submit@debbugs.gnu.org; Tue, 11 Sep 2012 15:32:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBWBG-0002Dz-0p for submit@debbugs.gnu.org; Tue, 11 Sep 2012 15:31:35 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:50534) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBWBF-0002Dv-TZ for submit@debbugs.gnu.org; Tue, 11 Sep 2012 15:31:29 -0400 Received: from eggs.gnu.org ([208.118.235.92]:42836) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBWBA-0003in-9M for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 15:31:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBWB2-00020G-3Y for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 15:31:24 -0400 Received: from smtpout.nso.edu ([146.5.111.252]:23878) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBWB1-000201-RV for bug-gnu-emacs@gnu.org; Tue, 11 Sep 2012 15:31:16 -0400 Received: from [143.109.166.3] ([143.109.166.3]) (authenticated bits=0) by smtpout.nso.edu (8.14.4/8.14.4) with ESMTP id q8BIiOF7040031 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO) for ; Tue, 11 Sep 2012 12:44:25 -0600 (MDT) (envelope-from marinoj@nso.edu) Message-ID: <504F8681.209@nso.edu> Date: Tue, 11 Sep 2012 13:44:17 -0500 From: Jose Marino User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120910 Thunderbird/15.0.1 MIME-Version: 1.0 To: bug-gnu-emacs@gnu.org Subject: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 11 Sep 2012 15:38:43 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) 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 From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 12 04:07:06 2012 Received: (at 12418-done) by debbugs.gnu.org; 12 Sep 2012 08:07:06 +0000 Received: from localhost ([127.0.0.1]:55905 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBhyT-0000uQ-TW for submit@debbugs.gnu.org; Wed, 12 Sep 2012 04:07:06 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:44462) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TBhyR-0000uJ-Pb for 12418-done@debbugs.gnu.org; Wed, 12 Sep 2012 04:07:04 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TBhxh-0007h9-S2; Wed, 12 Sep 2012 04:06:18 -0400 From: Glenn Morris To: 12418-done@debbugs.gnu.org Subject: Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working References: <504F8681.209@nso.edu> X-Spook: NASA Ron Brown EuroFed wire transfer Legion of Doom X-Ran: |cSf]~2l0cK|@.:f]qgqZliE[8LWu&%G6tpCX9j (Jose Marino's message of "Tue, 11 Sep 2012 13:44:17 -0500") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -7.3 (-------) X-Debbugs-Envelope-To: 12418-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -7.3 (-------) 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. From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 08:36:59 2012 Received: (at 12418) by debbugs.gnu.org; 13 Sep 2012 12:36:59 +0000 Received: from localhost ([127.0.0.1]:58975 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC8fB-0006mO-Ka for submit@debbugs.gnu.org; Thu, 13 Sep 2012 08:36:58 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:28213) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TC8f9-0006mH-Oh for 12418@debbugs.gnu.org; Thu, 13 Sep 2012 08:36:56 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqmt/2dsb2JhbABEtBGBCIIVAQEEAVYjBQsLNBIUGA2IQAW6CY0mgx4DozOBWIMF X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="198234316" Received: from 76-10-169-173.dsl.teksavvy.com (HELO pastel.home) ([76.10.169.173]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Sep 2012 08:36:03 -0400 Received: by pastel.home (Postfix, from userid 20848) id 1554F59445; Thu, 13 Sep 2012 08:36:03 -0400 (EDT) From: Stefan Monnier To: 12418@debbugs.gnu.org Subject: Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working Message-ID: References: <504F8681.209@nso.edu> Date: Thu, 13 Sep 2012 08:36:03 -0400 In-Reply-To: (Glenn Morris's message of "Wed, 12 Sep 2012 04:06:17 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12418 Cc: rgm@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> - (comint-filename-completion))) >> + (comint-dynamic-complete-filename))) > 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', Actually, that depends on what comint-dynamic-complete-as-filename was used for: if it was used as a *command*, then comint-dynamic-complete-filename is a good replacement. But if it was used within something like comint-dynamic-complete-functions, then the better replacement is comint-filename-completion. IOW, in the case of idlw-shell.el, the better replacement is indeed comint-filename-completion, tho it requires changes in idlwave-shell-complete (basically making it an alias to completion-at-point and turning its body into a list of functions to put on completion-at-point-functions). Stefan From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 14:25:55 2012 Received: (at 12418) by debbugs.gnu.org; 13 Sep 2012 18:25:55 +0000 Received: from localhost ([127.0.0.1]:60457 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCE6t-0006Y4-K9 for submit@debbugs.gnu.org; Thu, 13 Sep 2012 14:25:55 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:39988) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCE6q-0006Xw-UJ for 12418@debbugs.gnu.org; Thu, 13 Sep 2012 14:25:53 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1TCE5y-0006Rh-Lx; Thu, 13 Sep 2012 14:24:58 -0400 From: Glenn Morris To: Stefan Monnier Subject: Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working References: <504F8681.209@nso.edu> X-Spook: Tony Blair industrial intelligence Mossad Serbian SAPO X-Ran: D3?1.>M&$.*t>!9fV:DD7q\Gpa4JQb0ID[-:a($}%n8kcUwZ`%61J6fCt&Lw@%KUuyw%Co X-Hue: magenta X-Debbugs-No-Ack: yes X-Attribution: GM Date: Thu, 13 Sep 2012 14:24:58 -0400 Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: 12418 Cc: 12418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Stefan Monnier wrote: > Actually, that depends on what comint-dynamic-complete-as-filename was > used for: if it was used as a *command*, then > comint-dynamic-complete-filename is a good replacement. But if it was > used within something like comint-dynamic-complete-functions, then the > better replacement is comint-filename-completion. Could you make the obsolescence message less definitive-sounding then? > IOW, in the case of idlw-shell.el, the better replacement is indeed > comint-filename-completion, tho it requires changes in > idlwave-shell-complete (basically making it an alias to > completion-at-point and turning its body into a list of functions to put > on completion-at-point-functions). Hopefully you feel like doing that (or reopening this report). From debbugs-submit-bounces@debbugs.gnu.org Thu Sep 13 21:18:47 2012 Received: (at 12418) by debbugs.gnu.org; 14 Sep 2012 01:18:47 +0000 Received: from localhost ([127.0.0.1]:60861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKYR-0008R6-7q for submit@debbugs.gnu.org; Thu, 13 Sep 2012 21:18:47 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:29644) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TCKYP-0008Qz-L3 for 12418@debbugs.gnu.org; Thu, 13 Sep 2012 21:18:46 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av0EAG6Zu09MCqmt/2dsb2JhbABEtBGBCIIVAQEEAVYjEAsOJhIUGA0kiBwFugmQRAOjM4FYgwU X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="198299786" Received: from 76-10-169-173.dsl.teksavvy.com (HELO pastel.home) ([76.10.169.173]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 13 Sep 2012 21:17:49 -0400 Received: by pastel.home (Postfix, from userid 20848) id 899D15944B; Thu, 13 Sep 2012 21:17:49 -0400 (EDT) From: Stefan Monnier To: Glenn Morris Subject: Re: bug#12418: emacs 24.2; idlw-shell.el: filename completion in IDL shell is not working Message-ID: References: <504F8681.209@nso.edu> Date: Thu, 13 Sep 2012 21:17:49 -0400 In-Reply-To: (Glenn Morris's message of "Thu, 13 Sep 2012 14:24:58 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 12418 Cc: 12418@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) >> Actually, that depends on what comint-dynamic-complete-as-filename was >> used for: if it was used as a *command*, then >> comint-dynamic-complete-filename is a good replacement. But if it was >> used within something like comint-dynamic-complete-functions, then the >> better replacement is comint-filename-completion. > Could you make the obsolescence message less definitive-sounding then? I don't think it's worth the trouble: the use of comint-dynamic-complete-filename is very rare. >> IOW, in the case of idlw-shell.el, the better replacement is indeed >> comint-filename-completion, tho it requires changes in >> idlwave-shell-complete (basically making it an alias to >> completion-at-point and turning its body into a list of functions to put >> on completion-at-point-functions). > Hopefully you feel like doing that (or reopening this report). I don't really feel like it, but I will probably be the first to get to it, regardless of how slowly I do it :-( Stefan From unknown Fri Aug 15 16:17:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 12 Oct 2012 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator