From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#7206: 24.0.50; Bugs with minibuffer completion Date: Wed, 13 Oct 2010 20:40:13 +0200 Message-ID: <87fwwa0wdu.fsf@escher.home> References: <877hhme9r8.fsf@leeloo.anubex.internal> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1286996690 20299 80.91.229.12 (13 Oct 2010 19:04:50 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 19:04:50 +0000 (UTC) Cc: 7206@debbugs.gnu.org To: Tim Van Holder Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 13 21:04:48 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P66d5-0000EV-UJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 21:04:48 +0200 Original-Received: from localhost ([127.0.0.1]:60955 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P66d5-00034K-5Q for geb-bug-gnu-emacs@m.gmane.org; Wed, 13 Oct 2010 15:04:47 -0400 Original-Received: from [140.186.70.92] (port=57621 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P66W1-0007EE-3t for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 14:57:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P66HE-0004Gq-Oc for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 14:42:13 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:39374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P66HE-0004Gl-N7 for bug-gnu-emacs@gnu.org; Wed, 13 Oct 2010 14:42:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1P66CE-0005mz-Bt; Wed, 13 Oct 2010 14:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 13 Oct 2010 18:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7206 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7206-submit@debbugs.gnu.org id=B7206.128699500922247 (code B ref 7206); Wed, 13 Oct 2010 18:37:02 +0000 Original-Received: (at 7206) by debbugs.gnu.org; 13 Oct 2010 18:36:49 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1P66C0-0005mm-JP for submit@debbugs.gnu.org; Wed, 13 Oct 2010 14:36:49 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.23] helo=mail.gmx.net) by debbugs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1P66Bx-0005mg-Kj for 7206@debbugs.gnu.org; Wed, 13 Oct 2010 14:36:46 -0400 Original-Received: (qmail invoked by alias); 13 Oct 2010 18:40:15 -0000 Original-Received: from i59F55F24.versanet.de (EHLO escher.home) [89.245.95.36] by mail.gmx.net (mp007) with SMTP; 13 Oct 2010 20:40:15 +0200 X-Authenticated: #20778731 X-Provags-ID: V01U2FsdGVkX1/a5RhTehfamWXkp4R28azGgb7acfFHzACRalb833 pc6U6/RSehA8P0 Original-Received: by escher.home (Postfix, from userid 1000) id A85E01042E; Wed, 13 Oct 2010 20:40:13 +0200 (CEST) In-Reply-To: <877hhme9r8.fsf@leeloo.anubex.internal> (Tim Van Holder's message of "Wed, 13 Oct 2010 11:12:59 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 13 Oct 2010 14:37:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:40860 Archived-At: --=-=-= Content-Type: text/plain On Wed, 13 Oct 2010 11:12:59 +0200 Tim Van Holder wrote: > Current bzr (r101947) has 2 issues with completion in the minibuffer: > > Recipe: > > $ emacs -Q > C-x C-f > > Issue #1: > > Enter anything that has a non-unique completion (or don't enter > anything at all after ther default directory name prompt), and press > [tab]. Instead of getting the "[Complete, but not unique]" prompt, you > get an error instead: > minibuffer-completion-help: Wrong type argument: listp, 0 > (the integer varies). > This also happens with non-path completions (e.g. C-h f). This is due to this change: 2010-10-13 IRIE Shinsuke (tiny change) * subr.el (last): Make it faster. (Bug#7174) Here is a fix: --=-=-= Content-Type: text/x-patch Content-Disposition: inline Content-Description: fix for last *** /data/steve/bzr/emacs/trunk/lisp/subr.el 2010-10-13 14:41:39.000000000 +0200 --- /data/steve/bzr/emacs/quickfixes/lisp/subr.el 2010-10-13 20:34:46.000000000 +0200 *************** *** 290,299 **** If N is bigger than the length of LIST, return LIST." (if n (and (> n 0) ! (let ((m (length list))) (if (< n m) (nthcdr (- m n) list) list))) (and list ! (nthcdr (1- (length list)) list)))) (defun butlast (list &optional n) "Return a copy of LIST with the last N elements removed." --- 290,299 ---- If N is bigger than the length of LIST, return LIST." (if n (and (> n 0) ! (let ((m (safe-length list))) (if (< n m) (nthcdr (- m n) list) list))) (and list ! (nthcdr (1- (safe-length list)) list)))) (defun butlast (list &optional n) "Return a copy of LIST with the last N elements removed." --=-=-= Content-Type: text/plain Steve Berman --=-=-=--