From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Andreas_R=F6hler?= Newsgroups: gmane.emacs.help Subject: Re: Why is TAB-completion in shell not working for some commands? Date: Wed, 09 Nov 2011 09:41:26 +0100 Message-ID: <4EBA3CB6.70503@easy-emacs.de> References: <74F7A456-B7B9-4241-A11D-4EC5CF27DDAC@math.ethz.ch> <4EBA2101.9010603@easy-emacs.de> <40781343-DF59-4B4A-A4A6-6E50DEE3ADBB@math.ethz.ch> <4EBA2376.7050006@easy-emacs.de> <4EBA2713.2070301@easy-emacs.de> <4EBA2B13.9090709@easy-emacs.de> <4EBA39DE.6040903@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1320828102 4677 80.91.229.12 (9 Nov 2011 08:41:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 9 Nov 2011 08:41:42 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Marius Hofert Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 09 09:41:37 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RO3iy-0003ik-P2 for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2011 09:41:36 +0100 Original-Received: from localhost ([::1]:41701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO3iy-0006Nc-4v for geh-help-gnu-emacs@m.gmane.org; Wed, 09 Nov 2011 03:41:36 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45238) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO3is-0006Fp-51 for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 03:41:30 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RO3ir-00050Q-8l for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 03:41:30 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.186]:51571) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RO3iq-00050K-Q6 for help-gnu-emacs@gnu.org; Wed, 09 Nov 2011 03:41:29 -0500 Original-Received: from [192.168.178.27] (brln-4db9a0be.pool.mediaWays.net [77.185.160.190]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0M0bdu-1R50P23rbS-00v7l6; Wed, 09 Nov 2011 09:41:27 +0100 User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.23) Gecko/20110920 SUSE/3.1.15 Thunderbird/3.1.15 In-Reply-To: X-Provags-ID: V02:K0:VyrMIIjftUzaVcckhGC0bEHW+gDtJtSThgntwO6Cv8+ qm62qedhAS8syrdpXR6MqafKcx3RXHNHRJ45AZ2PRIMvO6QoTH qYRhS8gmTeIXbl/KfyVSnJhxzZ9xo0gBzT0h+n7Soh4t76evsK cEy95aqiohYHp4A7Srmpw39zreG09P58WSvkcENLoWlW8cF/3Q PTlwzXg255fqXWCmBWifPijjb6pwwYFWDGQ+xJwLHcAlL0ptoB ulzjvgjZigsNcTUSOxVH4wZkRpWmzysbO3Pyql2fuztz/mWzJW ZG6dHOgDFNfYVCuW2JgayJqakjWA+79fVuhwh1MUyyYjxtAwUx r8Rm3YjRXq0HHFkBXJA8LGd7l52IH9LbmArJILHib X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.227.126.186 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82811 Archived-At: Am 09.11.2011 09:34, schrieb Marius Hofert: > > On 2011-11-09, at 09:29 , Andreas Röhler wrote: > >> Am 09.11.2011 08:54, schrieb Marius Hofert: >>> I just figured out that if I start emacs from the Mac's terminal (via "emacs" which starts /Applications/Emacs.app/Contents/MacOS/Emacs) and open an emacs shell with M-x shell, I can tab-complete a2ps. >>> >>> Hmmm... so the GUI version seems to act weird... >>> >> >> If you do after shell prompt >> >> M-x describe-variable RET completion-at-point-functions [ ... ] > => looks like the same output would assume a bug in shell.el comint-completion-at-point is defined as (defun comint-completion-at-point () (run-hook-with-args-until-success 'comint-dynamic-complete-functions)) so you could try same play looking for contents of comint-dynamic-complete-functions