From unknown Sun Aug 10 09:07:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#11201 <11201@debbugs.gnu.org> To: bug#11201 <11201@debbugs.gnu.org> Subject: Status: 24.0.93; ido.el: Documentation for C-j in ido-find-file and ido-switch-buffer Reply-To: bug#11201 <11201@debbugs.gnu.org> Date: Sun, 10 Aug 2025 16:07:48 +0000 retitle 11201 24.0.93; ido.el: Documentation for C-j in ido-find-file and i= do-switch-buffer reassign 11201 emacs submitter 11201 David R=C3=B6thlisberger severity 11201 minor thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 08 08:34:26 2012 Received: (at submit) by debbugs.gnu.org; 8 Apr 2012 12:34:26 +0000 Received: from localhost ([127.0.0.1]:44502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGrK6-0001ZD-8M for submit@debbugs.gnu.org; Sun, 08 Apr 2012 08:34:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:44026) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1SGrK3-0001Z6-QG for submit@debbugs.gnu.org; Sun, 08 Apr 2012 08:34:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGrJE-0000H0-Aa for submit@debbugs.gnu.org; Sun, 08 Apr 2012 08:33:33 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:56116) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJE-0000Gw-4l for submit@debbugs.gnu.org; Sun, 08 Apr 2012 08:33:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:55028) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJC-0007kC-FT for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:33:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGrJA-0000Gj-I9 for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:33:29 -0400 Received: from mail-we0-f169.google.com ([74.125.82.169]:39811) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJA-0000GU-8p for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:33:28 -0400 Received: by werj55 with SMTP id j55so2758474wer.0 for ; Sun, 08 Apr 2012 05:33:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:content-type:content-transfer-encoding:subject:date :message-id:to:mime-version:x-mailer; bh=x9qzh1pbcDIxiklXsM8z6mcjFhw0BebggiSnLO5e2hc=; b=xCt90wMugWoxuLCWvcjyC7+Ol71lVBeOFZdiLMqpS2NEZPorTtSJBHMg1jFKvtprIl CRvxuM2jF9KmJasrxD4/V6cKrrWj7LhPV9YhN/cyOuq24ljJT3eS5w1Ook4tPu/NNuyD vTR0ON8AkNFs9wriPkwToD/8Gc+SXrGoLv59DMkET+ZU3kcxnsn0dOy3q4aXYrEFCi00 mY6K3hTN7C0uRILZRwgvcoPpaYirJwECIEnW/rMPGxHCg7VE2ufqxB8Mp/vk3z5YKWHc iWEH2rF0rUgcJiP9F9k3yS4gt2M4Cwn8yIntTkHiwsTIfKzCGQxHgQB9EdOlSTmOLPPg 3D/w== Received: by 10.216.135.206 with SMTP id u56mr2326854wei.29.1333888405444; Sun, 08 Apr 2012 05:33:25 -0700 (PDT) Received: from [192.168.1.100] (94-194-137-39.zone8.bethere.co.uk. [94.194.137.39]) by mx.google.com with ESMTPS id ff9sm22027828wib.2.2012.04.08.05.33.23 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 08 Apr 2012 05:33:24 -0700 (PDT) From: =?iso-8859-1?Q?David_R=F6thlisberger?= Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.0.93; ido.el: Documentation for C-j in ido-find-file and ido-switch-buffer Date: Sun, 8 Apr 2012 13:33:22 +0100 Message-Id: <8793BE32-4C7A-4D70-BA7B-987FF49475C4@rothlis.net> To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1257) X-Mailer: Apple Mail (2.1257) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) The documentation string for 'ido-find-file' has the following = description for 'C-j': > Select the current prompt as the buffer or file. > If no buffer or file is found, prompt for a new one. I found this rather confusing. The word "prompt" isn't used anywhere = else in the documentation string to mean what the user has typed; = whereas "string", "input string" and "substring" are used several times. = 'ido-switch-buffer' has the same problem. When I was a new user of 'ido', the most annoying thing was not being = able to visit a new, non-existent file or buffer, because the name I = wanted would match part of another file/buffer name. I reading the = documentation several times but still didn't realize that's what C-j = does. The second sentence ("If no buffer or file is found, prompt for a new = one") seems to be flat-out false. I have not been able to reproduce this = behaviour under ido-find-file or ido-switch-buffer, with empty input or = otherwise. Patch below. Kind regards, Dave. From: David Rothlisberger Date: Sun, 8 Apr 2012 12:56:56 +0100 Subject: [PATCH] * ido.el: Documentation for C-j in ido-find-file and ido-switch-buffer. --- lisp/ido.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lisp/ido.el b/lisp/ido.el index fe94c7f..4f1bf04 100644 --- a/lisp/ido.el +++ b/lisp/ido.el @@ -4046,8 +4046,7 @@ (defun ido-switch-buffer () RET Select the buffer at the front of the list of matches. If the list is empty, possibly prompt to create new buffer. =20 -\\[ido-select-text] Select the current prompt as the buffer. -If no buffer is found, prompt for a new one. +\\[ido-select-text] Use the current input string verbatim. =20 \\[ido-next-match] Put the first element at the end of the list. \\[ido-prev-match] Put the last element at the start of the list. @@ -4133,8 +4132,7 @@ (defun ido-find-file () RET Select the file at the front of the list of matches. If the list is empty, possibly prompt to create new file. =20 -\\[ido-select-text] Select the current prompt as the buffer or file. -If no buffer or file is found, prompt for a new one. +\\[ido-select-text] Use the current input string verbatim. =20 \\[ido-next-match] Put the first element at the end of the list. \\[ido-prev-match] Put the last element at the start of the list. --=20 1.7.9.2 From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 14:15:50 2012 Received: (at 11201) by debbugs.gnu.org; 19 Jun 2012 18:15:50 +0000 Received: from localhost ([127.0.0.1]:48879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh2xy-0005ZW-6W for submit@debbugs.gnu.org; Tue, 19 Jun 2012 14:15:50 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:58097) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh2xw-0005ZN-Dy for 11201@debbugs.gnu.org; Tue, 19 Jun 2012 14:15:48 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q5JICM43016436; Tue, 19 Jun 2012 14:12:23 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id B46D3B422C; Tue, 19 Jun 2012 14:12:22 -0400 (EDT) From: Stefan Monnier To: "Kim F. Storm" Subject: Bug report about IDO docstring for C-j Message-ID: Date: Tue, 19 Jun 2012 14:12:22 -0400 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Level: X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0.1 X-NAI-Spam-Rules: 2 Rules triggered BODY_START_GREETING=0.1, RV4255=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4255> : streams <770546> : uri <1143615> X-Spam-Score: -3.5 (---) X-Debbugs-Envelope-To: 11201 Cc: 11201@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) Hi Kim, Hope you're having fun and still using Emacs. Could you take a look at this bug report http://debbugs.gnu.org/cgi/bugreport.cgi?bug=11201. Replacing "prompt" with "input string" should address the main issue, but I'm not completely sure about the behavior when no file/buffer is found, whether it's a doc bug or a code bug. Stefan From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 19 14:50:46 2012 Received: (at 11201) by debbugs.gnu.org; 19 Jun 2012 18:50:46 +0000 Received: from localhost ([127.0.0.1]:48912 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh3Vl-0007EC-W2 for submit@debbugs.gnu.org; Tue, 19 Jun 2012 14:50:46 -0400 Received: from sommerhuse-i-danmark.dk ([193.201.35.153]:52294 helo=ispc3.dotserv.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sh3Vj-0007E5-GN for 11201@debbugs.gnu.org; Tue, 19 Jun 2012 14:50:44 -0400 Received: from localhost (localhost [127.0.0.1]) by ispc3.dotserv.com (Postfix) with ESMTP id 9DE2C80121DAD; Tue, 19 Jun 2012 20:47:19 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at ispc3.dotserv.com Received: from ispc3.dotserv.com ([127.0.0.1]) by localhost (ispc3.dotserv.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lLRz1cG3YwtE; Tue, 19 Jun 2012 20:47:16 +0200 (CEST) Received: from [10.1.82.9] (unknown [90.184.79.200]) (Authenticated sender: storm@cua.dk) by ispc3.dotserv.com (Postfix) with ESMTPSA id 6376F803289C9; Tue, 19 Jun 2012 20:47:16 +0200 (CEST) Message-ID: <4FE0C933.40309@cua.dk> Date: Tue, 19 Jun 2012 20:47:15 +0200 From: Kim Storm User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.24) Gecko/20111114 Icedove/3.1.16 MIME-Version: 1.0 To: Stefan Monnier Subject: Re: Bug report about IDO docstring for C-j References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11201 Cc: 11201@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) Hi Stefan The changes looks good. Thanks. The prompting for a new file/buffer was removed a long time ago. Kim From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 20 11:56:06 2012 Received: (at 11201-done) by debbugs.gnu.org; 20 Jun 2012 15:56:06 +0000 Received: from localhost ([127.0.0.1]:50050 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShNGH-0008LO-PU for submit@debbugs.gnu.org; Wed, 20 Jun 2012 11:56:06 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.182]:24534) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1ShNGG-0008LI-GJ for 11201-done@debbugs.gnu.org; Wed, 20 Jun 2012 11:56:04 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09MCrYj/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA6MzgViDBQ X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="191782429" Received: from 76-10-182-35.dsl.teksavvy.com (HELO pastel.home) ([76.10.182.35]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 20 Jun 2012 11:52:35 -0400 Received: by pastel.home (Postfix, from userid 20848) id 6974B59086; Wed, 20 Jun 2012 11:52:34 -0400 (EDT) From: Stefan Monnier To: David =?iso-8859-1?Q?R=F6thlisberger?= Subject: Re: bug#11201: 24.0.93; ido.el: Documentation for C-j in ido-find-file and ido-switch-buffer Message-ID: References: <8793BE32-4C7A-4D70-BA7B-987FF49475C4@rothlis.net> Date: Wed, 20 Jun 2012 11:52:34 -0400 In-Reply-To: <8793BE32-4C7A-4D70-BA7B-987FF49475C4@rothlis.net> ("David =?iso-8859-1?Q?R=F6thlisberger=22's?= message of "Sun, 8 Apr 2012 13:33:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 11201-done Cc: 11201-done@debbugs.gnu.org, Kim Storm X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > I found this rather confusing. The word "prompt" isn't used anywhere else in > the documentation string to mean what the user has typed; whereas "string", > "input string" and "substring" are used several times. 'ido-switch-buffer' > has the same problem. Thanks, I installed your patch, Stefan From unknown Sun Aug 10 09:07:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 19 Jul 2012 11:24:02 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator