From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#5724: 23.1.94; ido bug in next match Date: Mon, 15 Mar 2010 16:48:18 +0000 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: dough.gmane.org 1268672112 2746 80.91.229.12 (15 Mar 2010 16:55:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 15 Mar 2010 16:55:12 +0000 (UTC) To: storm@cua.dk, 5724@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Mar 15 17:55:06 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 1NrDZH-0002bG-Ot for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Mar 2010 17:55:04 +0100 Original-Received: from localhost ([127.0.0.1]:34120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrDZH-00076m-4p for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Mar 2010 12:55:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrDZB-00074N-Dk for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:54:57 -0400 Original-Received: from [140.186.70.92] (port=44322 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrDZ8-0006zd-KZ for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:54:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrDZ3-0008SV-FN for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:54:54 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40894) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrDZ3-0008SN-Db for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:54:49 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NrDTS-00069W-DJ; Mon, 15 Mar 2010 12:49:02 -0400 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Leo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Mar 2010 16:49:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-GNU-PR-Message: report 5724 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: storm@cua.dk, bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.126867171123641 (code B ref -1); Mon, 15 Mar 2010 16:49:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Mar 2010 16:48:31 +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 1NrDSw-00069G-MW for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:48:30 -0400 Original-Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrDSu-00069B-N9 for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:48:29 -0400 Original-Received: from lists.gnu.org ([199.232.76.165]:41430) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NrDSp-0004Dt-V0 for submit@debbugs.gnu.org; Mon, 15 Mar 2010 12:48:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NrDSp-0004BQ-LW for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:48:23 -0400 Original-Received: from [140.186.70.92] (port=44824 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NrDSo-00049T-9F for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:48:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1NrDSm-0007MB-F9 for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:48:22 -0400 Original-Received: from ppsw-0.csi.cam.ac.uk ([131.111.8.130]:37748) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NrDSm-0007M1-5D for bug-gnu-emacs@gnu.org; Mon, 15 Mar 2010 12:48:20 -0400 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from wlan-gw.st-edmunds.cam.ac.uk ([131.111.223.101]:49444 helo=Victoria.local) by ppsw-0.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.150]:587) with esmtpsa (PLAIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1NrDSk-00025w-36 (Exim 4.70) (return-path ); Mon, 15 Mar 2010 16:48:19 +0000 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 15 Mar 2010 12:49: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:35583 Archived-At: --=-=-= In ido mode, C-s rotate the matches. The following steps exhibits a delicate bug which seemingly causes the matches to re-order. 1. Emacs -q -l long-list.el (attached) take a look at the first 4 matches in the minibuffer 2. C-s Normally you expect C-s to get you one step closer to the fourth item but it just pushes it one step further in this case. This is also reproducible with the ido.el included in Emacs 22. It may have something to do with prefix-matches, matches, suffix-mathes in ido-set-matches-1. BTW, in my local copy of ido.el I have integrated recentf into it so ido automatically pulls in visited files when switching buffers and the user input does not match any. I have a long recentf-list. --=-=-= Content-Type: application/emacs-lisp Content-Disposition: attachment; filename=long-list.el Content-Transfer-Encoding: quoted-printable Content-Description: long-list.el (setq mylist '("ido.el" "emacs23/src/sysdep.c" "leo/model/README" "emacs23/= src/process.c" "init" "README-ido" "recentf" "mach_init.h" "custom" "ido.or= g" "memoir.cls" "alloc.c" "exclude" "config" "git.org" "sysctl.h" "proc.h" = "proc_info.c" "proc_info.h" "fixes.el" "MFE.org" "leothesis.org" "leo.org" = "Maybe.org" "Tasks.org" "site.el" "lisp-irc.doc" "chap3.tex" "thesis.tex" "= emacs23/config.status" "emacs23/src/eval.c" "task.c" "pgrp.c" "faults.c" "c= sw.c" "cpu.c" "sys/errno.h" "include/errno.h" "keyboard.c" "callint.c" "ema= cs23/src/bytecode.c" "libtop.h" "thread_info.h" "kernel_types.h" "libtop.c"= "emacs-23.1.93/src/sysdep.c" "emacs23/Makefile" "bbc.gpg" "OSTypes.h" "ema= cs23/src/config.h" "emacs23/src/TAGS" "README-mac" "org.el" "org.diff" "ref= tex-toc.el" "Reference" "bookmarks" ".dir-locals.el" "sources/emacs23/READM= E" "emacs23/INSTALL" "emacs-23.1.93/src/config.h" "systime.h" "emacs-23.1.9= 3/src/TAGS" "c10.c" "MacTypes.h" "DriverServices.h" "clock_types.h" "Compon= ents.k.h" "CoreServices.h" "Users/phd/clock.h" "sys/time.h" "include/mach/c= lock.h" "time_value.h" "clock_reply.h" "clock_priv.h" "timer.c" "clock.c" "= Headers/kern/clock.h" "task_info.h" "bsd_kern.c" "proc.c" "emacs-23.1.93/sr= c/bytecode.c" "emacs-23.1.93/src/eval.c" "emacs-23.1.93/src/process.c" "lib= proc.h" "dproc.c" "gnus" "processor.h" "kern/task.h" "Headers/mach/clock.h"= "mach_traps.h" "mach_time.h" "test4.c" "test3.c" "test2.c" "test.c" "ms.or= g.gpg" "calc-histogram.el" "siunitx.sty" "if.h" "kern_control.h" "un.h" "st= at.h" "types.h" "param.h" "ucred.h" "vm.h" "resource.h" "audit.h" "film.org= .gpg" "machine.h" "host_info.h" "task_policy.h" "sched.h" "test8.c" "host_s= pecial_ports.h" "x86_64/task.h" "mach/task.h" "mach_syscalls.h" "mach_param= .h" "mach.h" "deprecated.lisp" "mac.diff" "host_priv.h" "_endian.h" "etc/TO= DO" "xsteve.el" "sys/_structs.h" "timeb.h" "times.h" "include/time.h" "cdef= s.h" "test7.c" "vmmeter.h" "include/_structs.h" "timeconv.h" "utime.h" "thr= ead_status.h" "task_access.defs" "task_ledger.h" "task_special_ports.h" "ta= sk.defs" "thread_act.h" "vm_map.h" "contrib/ChangeLog" "slime/ChangeLog" "m= essage.h" "mach_types.h" "mach_host.h" "mach_vm.h" "wait.h" "resourcevar.h"= "kern_memorystatus.h" "ev.h" "buf.h" "attr.h" "Processes.h" "appleapiopts.= h" "queue.h" "boolean.h" "event.h" "test6.c" "kk.c" "vmparam.h" "test5.c" "= .CFUserTextEncoding" "vproc.h" "proc2.c" "MoreProcesses.h" "MoreProcesses.c= p" ".authinfo.gpg" "magit.el" "Emacs_2010-03-08-115648_Victoria.crash" "kil= l-ring-browse.el" "steady-state.lisp" "Create New Mailing List Mailbox.scpt= " "clos.tex" "swank.lisp" "scores" "history" "leothesis.cls" "download.txt"= "solver.lisp" "loop.lisp" "leo/TODO" "swank.diff" "swank-sbcl.lisp" "swank= -ccl.lisp" "swank-backend.lisp" "lib/macros.lisp" "cache" "emms/Makefile" "= lisp/Makefile" "gst-wrapper" "RELEASE" "sources/emms/README" "NEWS" "FAQ" "= .ccl-init.lisp" "oac.el" "_rev.tex" "emacsbook.tex" "emacs4latex.tex" "prac= journ.cls" "tests/roots-multi.lisp" "solve-minimize-fit/roots-multi.lisp" "= cn.el" "macros4me.el" "tex4me.el" "ns.el" "tramp" "alarm.el" "MacBook.org" = "sources/elim/README" "elim/Makefile" "convert.lisp" "ffi.lisp" "version.li= sp-expr" "device.lisp" "sch.tex" "prelim2e.sty" "t1pfu.fd" "cn" "lock.lisp"= "clnotes.cls" "general.tex" "ncl.tex" "cn-128k.m3u" "l0-float.lisp" "gamma= .lisp" "with-unique-names.lisp" "compose.lisp" "COPYRIGHT" "HEADER" "babel_= 0.3.0/NOTES" "AppleScript.org" "00Photonics.bib" "chap2.tex" "chap4.tex" "c= olophon.tex" "chap7.tex" "chap6.tex" "chap5.tex" "chap1.tex" "publications.= tex" "acknowledge.tex" "abstract.tex" "declaration.tex" "titlepage.tex" "cs= quotes.sty" "glossaries.sty" "hyperref.sty" "pgfplots/ChangeLog" "pgf/Chang= eLog" "biblatex.sty" "amsmath.sty" "numbers.lisp" "model/packages.lisp" "qd= soa.asd" "onlisp.lisp" "beamer-notes.tex" "futura.sty" "qdsoa-test.lisp" "m= odel/plot.lisp" "Map_IssX.txt" "Map_Sym.txt" "Map_IssW.txt" "normal.lisp" "= ode-example.lisp" "=E4=BB=A5=E7=88=B6=E4=B9=8B=E5=90=8D.lrc" "=E7=BE=8E=E4= =B8=BD=E7=9A=84=E7=A5=9E=E8=AF=9D.lrc" "sysutils.lisp" "cairo-1.9.6/INSTALL= " "libffi-unix.lisp" "time-domain.lisp" "common.lisp" "auctex.diff" "gtd.or= g" "Notes.org" "ode-system.lisp" "swank-arglists.lisp" "swank-fancy-inspect= or.lisp" "swank-indentation.lisp" "swank-hyperdoc.lisp" "swank-motd.lisp" "= xref.lisp" "metering.lisp" "maref.lisp" "marray.lisp" "callback-included.li= sp" "scheme-paean.txt" "release-notes.txt" "l0-cfm-support.lisp" "libffi-un= ix.c" "level-2.lisp" "defmfun.lisp" "minimization-multi.lisp" "api.lisp" "l= 0-misc.lisp" "swank.rb" "swank.asd" "swank-source-path-parser.lisp" "swank-= source-file-cache.lisp" "swank-loader.lisp" "defsystem.lisp" "asdf.lisp" "q= dsoa-test.asd" "x04c.c" "x02c.c" "surface-plot.lisp" "window/plot.lisp" "cl= asses.lisp" "x-y-plot.lisp" "x17c.c" "examples/CMakeLists.txt" "defcfun.lis= p" "misc.lisp" "system-examples.lisp" "english.tex" "diode-lasers.tex" "Jou= rnal.org" "Emacs.org" "stepping.lisp" "foreign-array.lisp" "ode.lisp" "swan= k-allegro.lisp" "swank-rpc.lisp" "swank-gray.lisp" "sbcl-pprint-patch.lisp"= "PROBLEMS" "evolution.lisp" "both.lisp" "array-tests.lisp" "matrix.lisp" "= vector.lisp" "c/Makefile" "nonlinear.c" "monte-carlo.lisp" "test/packages.l= isp" "lisp-unit.lisp" "floating-point.lisp" "monte-carlo-test.lisp" "test.l= isp" "qrng-test.lisp" "cl-qrng-test.asd" "package.fasl" "sobol.lisp" "contr= ol.lisp" "l1-clos.lisp" "multimediasymbols.sty" "l1-utils.lisp" "window.lis= p" "3D-window.lisp" "color-table.lisp" "axis.lisp" "package.lisp" "slime.te= x" "window/macros.lisp" "l1-aprims.lisp" "lingo.tex" "PRBS.HTM" "MAKEPRI" "= LINUX.TXT" "beamerouterthemelogosidebar.sty" "geometry.sty" "Publications.b= ib" "etoolbox.sty" "Business.org" "TWLM.h" "TWLM.cpp" "numerical-sop.tex" "= nx0.lisp" "loadlib.lisp" "cmap1_blue_yellow.pal" "cmap0_white_bg.pal" "cmap= 0_default.pal" "window-examples.lisp" "mathematical.lisp" "Tasks.org_archiv= e" "macros.sty" "uffi.asd" "cffi-uffi-compat.asd" "uffi-compat.lisp" "doc/M= akefile" "lisp.bib" "sn.txt" "agenda" "MFE.org_archive" "leo.org_archive" "= GU.org" "mhchem.sty" "mlist.sty" "varioref.sty" "microtype.sty" "enumitem.s= ty" ".gitconfig" ".gitignore" "jmt.lisp" "l1-files.lisp" "l0-numbers.lisp" = "cairo.c" "aqt.c" "sources/pango-1.26.2/README" "pango-1.26.2/INSTALL" "lib= iconv-1.13.1/NOTES" "acglib.m4" "aclocal.m4" "configure.in" "sources/gettex= t-0.17/README" "gettext-0.17/INSTALL" "glib-2.22.4/INSTALL" "load-asdf-inst= all.lisp" "variables.lisp" "installer.lisp" "defpackage.lisp" "split-sequen= ce.lisp" "port.lisp" "loader.lisp" "lift-standard.config" "digitool.lisp" "= dead-letter.lisp" "conditions.lisp" "asdf-install.asd" "letter-scrlttr2.tex= " "beamerexample-conference-talk.tex" "mathptmx.sty" "beamerbasefont.sty" "= beamer.cls" "beamerouterthemesidebar.sty" "beamer-cn.tex" "fad.lisp" "l1-pa= thnames.lisp" "demo.conf" "trivial-configuration-parser.lisp" "fft.lisp" "b= las1.lisp" "beamerthemeBerkeley.sty" "beamercolorthemealbatross.sty" "beame= rcolorthemelily.sty" "beamercolorthemestructure.sty" "beamercolorthemewhale= .sty" "beamercolorthemeorchid.sty" "pgfbaseimage.sty" "latex-beamer/INSTALL= " "beamercolorthemeexample.tex" "multimedia.sty" "AUTHORS" "FILES" "sources= /latex-beamer/README" "Copyright" "plplot/CMakeLists.txt" "plplot/INSTALL" = "sources/plplot/README" "utility-functions.lisp" "prepare-mcl-environment.l= isp" "pmcl-kernel.c" "AQTAdapter.h" "cairo-version.h" "cairo.h" "NSString.h= " "gd.h" "NSObject.h" "pgf/INSTALL" "generic/pgf/README" "sources/pgf/READM= E" ".bash_profile" "profile" "bashrc" "contour-plot.lisp" "mac-unicode-debu= g-2.8" "ccl-32.diff" "monte-carlo-structs.lisp" "ccl-64.diff" "sequences.li= sp" "gsl-1.13/config.status" "fontenc.sty" "ae.sty" "lmodern.sty")) (ido-mode) (ido-completing-read "Test: " mylist nil nil "sou") --=-=-= In GNU Emacs 23.1.94.1 (x86_64-apple-darwin10.2.0, Carbon Version 1.6.0 AppKit 1038.25) of 2010-03-14 on Victoria.local Windowing system distributor `Apple Inc.', version 10.6.2 configured using `configure '--prefix=/usr/local/unix/emacs' '--with-mac' 'CFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: iso-latin-1-unix default enable-multibyte-characters: t --=-=-=--