GNU bug report logs -
#10116
M-x compile no longer completes filenames
Previous Next
Reported by: jidanni <at> jidanni.org
Date: Wed, 23 Nov 2011 02:10:01 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 10116 in the body.
You can then email your comments to 10116 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10116
; Package
emacs
.
(Wed, 23 Nov 2011 02:10:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
jidanni <at> jidanni.org
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Wed, 23 Nov 2011 02:10:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
As of emacs-snapshot:
Installed: 1:20111121-1
M-x compile
make -k <TAB>
no longer completes filenames.
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
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10116
; Package
emacs
.
(Tue, 06 Dec 2011 22:18:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 10116 <at> debbugs.gnu.org (full text, mbox):
> As of emacs-snapshot:
> Installed: 1:20111121-1
> M-x compile
> make -k <TAB>
> 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."
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10116
; Package
emacs
.
(Wed, 07 Dec 2011 00:24:02 GMT)
Full text and
rfc822 format available.
Message #11 received at 10116 <at> debbugs.gnu.org (full text, mbox):
>> 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
SM> I can't reproduce this problem. Can you give more detailed steps to
SM> reproduce it?
Easy as cake.
$ set emacs-snapshot
$ apt-cache policy $@
emacs-snapshot:
Installed: 1:20111206-1 # How can I give you a more exact version ? BUG !
$ mkdir v
$ cd v #no files here
$ emacs -Q -nw -f compile
TAB
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10116
; Package
emacs
.
(Wed, 07 Dec 2011 01:31:01 GMT)
Full text and
rfc822 format available.
Message #14 received at 10116 <at> debbugs.gnu.org (full text, mbox):
>>> 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
SM> I can't reproduce this problem. Can you give more detailed steps to
SM> reproduce it?
> Easy as cake.
> $ set emacs-snapshot
> $ apt-cache policy $@
> emacs-snapshot:
> Installed: 1:20111206-1 # How can I give you a more exact version ? BUG !
> $ mkdir v
> $ cd v #no files here
> $ emacs -Q -nw -f compile
> TAB
OK, I can reproduce it now and I have a fix for it. But I have one
question: you originally said you wanted to complete on filenames, but
this bug shows up when there's no Makefile, in which case you'd first
want to specify a file via -f, right?
Stefan
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#10116
; Package
emacs
.
(Wed, 07 Dec 2011 01:41:02 GMT)
Full text and
rfc822 format available.
Message #17 received at 10116 <at> debbugs.gnu.org (full text, mbox):
SM> this bug shows up when there's no Makefile, in which case you'd first
SM> want to specify a file via -f, right?
Yes, tons of possibilities... and I hit TAB by accident and discovered
the bug.
Reply sent
to
Stefan Monnier <monnier <at> IRO.UMontreal.CA>
:
You have taken responsibility.
(Thu, 08 Dec 2011 13:22:01 GMT)
Full text and
rfc822 format available.
Notification sent
to
jidanni <at> jidanni.org
:
bug acknowledged by developer.
(Thu, 08 Dec 2011 13:22:02 GMT)
Full text and
rfc822 format available.
Message #22 received at 10116-done <at> debbugs.gnu.org (full text, mbox):
SM> I can't reproduce this problem. Can you give more detailed steps to
SM> reproduce it?
> Easy as cake.
> $ set emacs-snapshot
> $ apt-cache policy $@
> emacs-snapshot:
> Installed: 1:20111206-1 # How can I give you a more exact version ? BUG !
> $ mkdir v
> $ cd v #no files here
> $ emacs -Q -nw -f compile
> TAB
OK, thanks, fixed,
Stefan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Fri, 06 Jan 2012 12:24:02 GMT)
Full text and
rfc822 format available.
This bug report was last modified 13 years and 219 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.