all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: 15022@debbugs.gnu.org
Cc: Kevin Layer <layer@known.net>
Subject: bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
Date: Sun, 04 Aug 2013 14:31:25 -0400	[thread overview]
Message-ID: <jwv8v0h48ch.fsf-monnier+emacs@gnu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 55 bytes --]

Forwarding to bug-gnu-emacs@gnu.org.


        Stefan


[-- Attachment #2: Type: message/rfc822, Size: 3949 bytes --]

From: Kevin Layer <layer@known.net>
To: emacs-devel@gnu.org
Subject: 24.3: BUG REPORT: comint completion yields error
Date: Sun, 04 Aug 2013 10:20:16 -0700
Message-ID: <1005.1375636816@tines.known.net>

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

             reply	other threads:[~2013-08-04 18:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-04 18:31 Stefan Monnier [this message]
2013-08-08 14:39 ` bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error Michael Heerdegen
2013-08-08 14:58   ` Kevin Layer
2013-08-08 15:42     ` Michael Heerdegen
2013-08-09  4:50       ` Kevin Layer
2013-08-09 10:17         ` Michael Heerdegen
2013-08-08 17:15   ` Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwv8v0h48ch.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=15022@debbugs.gnu.org \
    --cc=layer@known.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.