From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Milan Zamazal Newsgroups: gmane.emacs.bugs Subject: bug#12092: 24.1; Completion cycling completely broken in shell Date: Mon, 30 Jul 2012 13:24:40 +0200 Message-ID: <878ve1xzif.fsf@blackbird.nest.zamazal.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1343647571 18546 80.91.229.3 (30 Jul 2012 11:26:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 30 Jul 2012 11:26:11 +0000 (UTC) To: 12092@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jul 30 13:26:11 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Svo70-0004PH-1Y for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 13:26:10 +0200 Original-Received: from localhost ([::1]:59022 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo6z-0000Q0-Bf for geb-bug-gnu-emacs@m.gmane.org; Mon, 30 Jul 2012 07:26:09 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36362) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo6p-00007V-Gh for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:26:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svo6f-0006lO-Tf for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:25:59 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo6f-0006lK-Oz for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:25:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SvoDe-0005c1-5j for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Milan Zamazal Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 30 Jul 2012 11:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12092 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134364794821532 (code B ref -1); Mon, 30 Jul 2012 11:33:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Jul 2012 11:32:28 +0000 Original-Received: from localhost ([127.0.0.1]:50162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvoD1-0005bB-S0 for submit@debbugs.gnu.org; Mon, 30 Jul 2012 07:32:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59091) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SvoCz-0005b4-6M for submit@debbugs.gnu.org; Mon, 30 Jul 2012 07:32:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svo5q-0006LX-8o for submit@debbugs.gnu.org; Mon, 30 Jul 2012 07:25:08 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:38796) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo5q-0006LP-5m for submit@debbugs.gnu.org; Mon, 30 Jul 2012 07:24:58 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36135) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo5l-0007wT-7u for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:24:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Svo5a-0006JS-5Z for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:24:53 -0400 Original-Received: from ip51.strelice.net ([217.66.176.51]:49803 helo=zamazal.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Svo5Z-0006JM-Ut for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 07:24:42 -0400 Original-Received: from blackbird.nest.zamazal.org ([192.168.129.12]) by zamazal.org with esmtp (Exim 4.72) (envelope-from ) id 1Svo5Y-0002vV-Kn for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 13:24:40 +0200 Original-Received: from pdm by blackbird.nest.zamazal.org with local (Exim 4.80) (envelope-from ) id 1Svo5Y-0004hL-AS for bug-gnu-emacs@gnu.org; Mon, 30 Jul 2012 13:24:40 +0200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:62621 Archived-At: 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