GNU bug report logs - #15022
[Kevin Layer] 24.3: BUG REPORT: comint completion yields error

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Sun, 4 Aug 2013 18:32:01 UTC

Severity: normal

Merged with 16950

Found in version 24.3

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: bug-gnu-emacs <at> gnu.org
Subject: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
Date: Sun, 04 Aug 2013 14:31:25 -0400
[Message part 1 (text/plain, inline)]
Forwarding to bug-gnu-emacs <at> gnu.org.


        Stefan

[Message part 2 (message/rfc822, inline)]
From: Kevin Layer <layer <at> known.net>
To: emacs-devel <at> gnu.org
Subject: 24.3: BUG REPORT: comint completion yields error
Date: Sun, 04 Aug 2013 10:20:16 -0700
This took a while to figure out.  How to reproduce:

You need a directory with .rpm files in it.  Let's call that
/foo/bar/.  Then,

emacs -q
M-x shell RET
rpm --install /foo/bar/<TAB>

where <TAB> is you pressing the TAB key.  I get this:

Debugger entered--Lisp error: (void-variable regexp)
  signal(void-variable (regexp))
  completion--some...
  completion--nth-completion...
  completion-try-completion...
  completion--do-completion()
  minibuffer-complete()
  call-interactively(minibuffer-complete)
  ...
  apply...
  ...
  completion-in-region...
  completion-at-point()
  call-interactively(completion-at-point nil nil)

Very tricky to track down.  I think it's in the pcomplete code.
Specifically, it appears that it has something to do with this
pcomplete-dirs-or-entries in pcomplete.el, since I see that code on
the stack at the point of error.

If you omit the "rpm" part of the input, it does not happen.

Good luck with this one!

Kevin Layer

This bug report was last modified 11 years and 80 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.