GNU bug report logs - #12092
24.1; Completion cycling completely broken in shell

Previous Next

Package: emacs;

Reported by: Milan Zamazal <pdm <at> zamazal.org>

Date: Mon, 30 Jul 2012 11:33:01 UTC

Severity: normal

Found in versions 24.1, 24.2

Done: Chong Yidong <cyd <at> gnu.org>

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 12092 in the body.
You can then email your comments to 12092 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#12092; Package emacs. (Mon, 30 Jul 2012 11:33:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Milan Zamazal <pdm <at> zamazal.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 30 Jul 2012 11:33:02 GMT) Full text and rfc822 format available.

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

From: Milan Zamazal <pdm <at> zamazal.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 24.1; Completion cycling completely broken in shell
Date: Mon, 30 Jul 2012 13:24:40 +0200
When completion-cycle-threshold is set to a non-nil value, completion
starts doing weird things in interactive shells and becomes unusable.
Just one example:

  M-x set-variable RET completion-cycle-threshold RET t RET   (enable completion cycling)
  M-x shell RET   (start an interactive shell)
  cd /usr/   (type in a partial command line)
  TAB   (initial completion; `../ ' is inserted which is fine)
  TAB   (repeated completion; `../ ' is replaced with `.' and an error is signalled)

The error message is something like:

  minibuffer-force-complete: Args out of range: 615, 618


In GNU Emacs 24.1.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-06-29 on trouble, modified by Debian
Windowing system distributor `The X.Org Foundation', version 11.0.11201902
Configured using:
 `configure '--build' 'x86_64-linux-gnu' '--build' 'x86_64-linux-gnu'
 '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
 '--localstatedir=/var/lib' '--infodir=/usr/share/info'
 '--mandir=/usr/share/man' '--with-pop=yes'
 '--enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.1/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1/site-lisp:/usr/share/emacs/site-lisp'
 '--with-crt-dir=/usr/lib/x86_64-linux-gnu' '--with-x=yes'
 '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars'
 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2 -fstack-protector
 --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -O2'
 'CPPFLAGS=-D_FORTIFY_SOURCE=2''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: cs_CZ.UTF-8
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: C
  value of $XMODIFIERS: nil
  locale-coding-system: utf-8-unix
  default enable-multibyte-characters: t




Merged 12092 12221. Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Sun, 16 Sep 2012 03:28:02 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12092; Package emacs. (Mon, 17 Sep 2012 14:49:02 GMT) Full text and rfc822 format available.

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

From: Chong Yidong <cyd <at> gnu.org>
To: Milan Zamazal <pdm <at> zamazal.org>
Cc: 12092 <at> debbugs.gnu.org
Subject: Re: bug#12092: 24.1; Completion cycling completely broken in shell
Date: Mon, 17 Sep 2012 22:47:33 +0800
Milan Zamazal <pdm <at> zamazal.org> writes:

>   M-x set-variable RET completion-cycle-threshold RET t RET   (enable completion cycling)
>   M-x shell RET   (start an interactive shell)
>   cd /usr/   (type in a partial command line)
>   TAB   (initial completion; `../ ' is inserted which is fine)
>   TAB   (repeated completion; `../ ' is replaced with `.' and an error is signalled)

I've committed a fix for this particular bug.  Bug#12221 still remains a
problem, but that is a slightly different issue.




Disconnected #12221 from all other report(s). Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Sep 2012 14:49:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 12092 <at> debbugs.gnu.org and Milan Zamazal <pdm <at> zamazal.org> Request was from Chong Yidong <cyd <at> gnu.org> to control <at> debbugs.gnu.org. (Mon, 17 Sep 2012 14:49:03 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#12092; Package emacs. (Mon, 17 Sep 2012 17:03:02 GMT) Full text and rfc822 format available.

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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Milan Zamazal <pdm <at> zamazal.org>, 12092 <at> debbugs.gnu.org
Subject: Re: bug#12092: 24.1; Completion cycling completely broken in shell
Date: Mon, 17 Sep 2012 13:00:59 -0400
> I've committed a fix for this particular bug.  Bug#12221 still remains a
> problem, but that is a slightly different issue.

Yes, for 12221 the completion-in-region-mode needs to be improved.
Still on my TODO, and definitely needs to be fixed for 24.3.


        Stefan




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 16 Oct 2012 11:24:04 GMT) Full text and rfc822 format available.

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

Previous Next


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