unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* 24.3: BUG REPORT: comint completion yields error
@ 2013-08-04 17:20 Kevin Layer
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Layer @ 2013-08-04 17:20 UTC (permalink / raw)
  To: emacs-devel

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



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: 24.3: BUG REPORT: comint completion yields error
@ 2013-08-04 17:50 Kevin Layer
  0 siblings, 0 replies; 2+ messages in thread
From: Kevin Layer @ 2013-08-04 17:50 UTC (permalink / raw)
  To: emacs-devel

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

Actually, the above is not true.  Any directory at all.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-08-04 17:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-04 17:20 24.3: BUG REPORT: comint completion yields error Kevin Layer
  -- strict thread matches above, loose matches on Subject: below --
2013-08-04 17:50 Kevin Layer

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).