all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
@ 2013-08-04 18:31 Stefan Monnier
  2013-08-08 14:39 ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: Stefan Monnier @ 2013-08-04 18:31 UTC (permalink / raw)
  To: 15022; +Cc: Kevin Layer

[-- 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

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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-04 18:31 bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error Stefan Monnier
@ 2013-08-08 14:39 ` Michael Heerdegen
  2013-08-08 14:58   ` Kevin Layer
  2013-08-08 17:15   ` Glenn Morris
  0 siblings, 2 replies; 7+ messages in thread
From: Michael Heerdegen @ 2013-08-08 14:39 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: 15022, Kevin Layer

Hi,

> 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)

FWIW; I can't reproduce this here.  This is
GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
of 2013-08-04 on dex, modified by Debian.

Does this also happen with emacs -Q (capital "Q")?


Thanks,

Michael.





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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-08 14:39 ` Michael Heerdegen
@ 2013-08-08 14:58   ` Kevin Layer
  2013-08-08 15:42     ` Michael Heerdegen
  2013-08-08 17:15   ` Glenn Morris
  1 sibling, 1 reply; 7+ messages in thread
From: Kevin Layer @ 2013-08-08 14:58 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 15022

Michael Heerdegen wrote:

>> Hi,
>> 
>> > 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)
>> 
>> FWIW; I can't reproduce this here.  This is
>> GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
>> of 2013-08-04 on dex, modified by Debian.
>> 
>> Does this also happen with emacs -Q (capital "Q")?

Yes, it does for me.

$ rpm --install /tftpboot/<TAB>

just yielded the error on my system.

Is 24.3.50 halfway to the next emacs version?  Maybe it's fixed there.

>> 
>> 
>> Thanks,
>> 
>> Michael.





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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-08 14:58   ` Kevin Layer
@ 2013-08-08 15:42     ` Michael Heerdegen
  2013-08-09  4:50       ` Kevin Layer
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Heerdegen @ 2013-08-08 15:42 UTC (permalink / raw)
  To: Kevin Layer; +Cc: 15022

Kevin Layer <layer@known.net> writes:


> >> FWIW; I can't reproduce this here.  This is
> >> GNU Emacs 24.3.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2)
> >> of 2013-08-04 on dex, modified by Debian.
> >> 
> >> Does this also happen with emacs -Q (capital "Q")?
>
> Yes, it does for me.
>
> $ rpm --install /tftpboot/<TAB>
>
> just yielded the error on my system.
>
> Is 24.3.50 halfway to the next emacs version?  Maybe it's fixed there.

It's a build of trunk.

But I also tried with a build of the 24.2 release, and with 23.
Couldn't reproduce your error there either.

What Emacs version do you use exactly?  If you could try with a newer
version, that would be good.

Else, can you please post a complete backtrace of the error?  Please
load the source of minibuffer.el before (if you have it - this avoids
that the important parts of the backtrace appear as bytecode).


Thanks,

Michael.





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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-08 14:39 ` Michael Heerdegen
  2013-08-08 14:58   ` Kevin Layer
@ 2013-08-08 17:15   ` Glenn Morris
  1 sibling, 0 replies; 7+ messages in thread
From: Glenn Morris @ 2013-08-08 17:15 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 15022, Kevin Layer


I see this in 24.3 but not current trunk, so it seems fixed.

http://savannah.gnu.org/projects/emacs/





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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-08 15:42     ` Michael Heerdegen
@ 2013-08-09  4:50       ` Kevin Layer
  2013-08-09 10:17         ` Michael Heerdegen
  0 siblings, 1 reply; 7+ messages in thread
From: Kevin Layer @ 2013-08-09  4:50 UTC (permalink / raw)
  To: Michael Heerdegen; +Cc: 15022

Michael Heerdegen wrote:

>> What Emacs version do you use exactly?  If you could try with a newer
>> version, that would be good.

See Subject.  It says exactly there.
 
>> Else, can you please post a complete backtrace of the error?  Please
>> load the source of minibuffer.el before (if you have it - this avoids
>> that the important parts of the backtrace appear as bytecode).

Given that Glenn verified the claim, do you still want this?





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

* bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error
  2013-08-09  4:50       ` Kevin Layer
@ 2013-08-09 10:17         ` Michael Heerdegen
  0 siblings, 0 replies; 7+ messages in thread
From: Michael Heerdegen @ 2013-08-09 10:17 UTC (permalink / raw)
  To: Kevin Layer; +Cc: 15022

Kevin Layer <layer@known.net> writes:

> >> Else, can you please post a complete backtrace of the error?  Please
> >> load the source of minibuffer.el before (if you have it - this avoids
> >> that the important parts of the backtrace appear as bytecode).
>
> Given that Glenn verified the claim, do you still want this?

No.  Hopefully, the problem has already been fixed.


Thanks,

Michael.





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

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

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-04 18:31 bug#15022: [Kevin Layer] 24.3: BUG REPORT: comint completion yields error Stefan Monnier
2013-08-08 14:39 ` 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

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.