From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#10116: M-x compile no longer completes filenames Date: Tue, 06 Dec 2011 17:16:46 -0500 Message-ID: References: <878vn7wpyu.fsf@jidanni.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1323209858 26947 80.91.229.12 (6 Dec 2011 22:17:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 6 Dec 2011 22:17:38 +0000 (UTC) Cc: 10116@debbugs.gnu.org To: jidanni@jidanni.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 06 23:17:33 2011 Return-path: Envelope-to: geb-bug-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 1RY3KN-0003e4-BT for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 23:17:31 +0100 Original-Received: from localhost ([::1]:55417 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY3KM-000497-So for geb-bug-gnu-emacs@m.gmane.org; Tue, 06 Dec 2011 17:17:30 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:48168) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY3KG-00043Y-Mv for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 17:17:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RY3KF-0005eV-Dq for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 17:17:24 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RY3KF-0005eR-2K for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 17:17:23 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RY3Ks-0004XA-GA for bug-gnu-emacs@gnu.org; Tue, 06 Dec 2011 17:18:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 06 Dec 2011 22:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10116 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10116-submit@debbugs.gnu.org id=B10116.132320985017390 (code B ref 10116); Tue, 06 Dec 2011 22:18:02 +0000 Original-Received: (at 10116) by debbugs.gnu.org; 6 Dec 2011 22:17:30 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RY3KM-0004WR-GF for submit@debbugs.gnu.org; Tue, 06 Dec 2011 17:17:30 -0500 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RY3KK-0004WK-AG for 10116@debbugs.gnu.org; Tue, 06 Dec 2011 17:17:29 -0500 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id pB6MGldi018969; Tue, 6 Dec 2011 17:16:47 -0500 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 342C6B42C1; Tue, 6 Dec 2011 17:16:47 -0500 (EST) In-Reply-To: <878vn7wpyu.fsf@jidanni.org> (jidanni@jidanni.org's message of "Wed, 23 Nov 2011 10:08:09 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4063=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4063> : streams <708397> : uri <1023002> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Tue, 06 Dec 2011 17:18:02 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54761 Archived-At: > As of emacs-snapshot: > Installed: 1:20111121-1 > M-x compile > make -k > no longer completes filenames. Indeed, the completion rules for `make' failed to mention that file names are perfectly valid arguments. I've just installed the patch below which should address this problem. > Furthermore, more TABs will get you > Error in post-command-hook (completion-in-region--postch): (error IO error > reading /var/tmp: Is a directory) > insert-file-contents-literally: IO error reading /var/tmp: Is a directory I can't reproduce this problem. Can you give more detailed steps to reproduce it? Stefan === modified file 'lisp/pcmpl-gnu.el' --- lisp/pcmpl-gnu.el 2011-12-02 14:44:19 +0000 +++ lisp/pcmpl-gnu.el 2011-12-06 22:11:15 +0000 @@ -99,7 +99,10 @@ "Completion for GNU `make'." (let ((pcomplete-help "(make)Top")) (pcomplete-opt "bmC/def(pcmpl-gnu-makefile-names)hiI/j?kl?no.pqrsStvwW.") - (while (pcomplete-here (pcmpl-gnu-make-rule-names) nil 'identity)))) + (while (pcomplete-here (completion-table-in-turn + (pcmpl-gnu-make-rule-names) + (pcomplete-entries)) + nil 'identity)))) (defun pcmpl-gnu-makefile-names () "Return a list of possible makefile names."