From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David =?UTF-8?Q?R=C3=B6thlisberger?= Newsgroups: gmane.emacs.bugs Subject: bug#11201: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Apple Message framework v1257) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1333888465 3898 80.91.229.3 (8 Apr 2012 12:34:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 8 Apr 2012 12:34:25 +0000 (UTC) To: 11201@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Apr 08 14:34:25 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 1SGrJz-000259-3J for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2012 14:34:19 +0200 Original-Received: from localhost ([::1]:60434 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJy-0007kl-Ac for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Apr 2012 08:34:18 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:38679) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJu-0007kf-Em for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:34:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SGrJs-0000LL-K8 for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:34:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47964) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SGrJs-0000LH-EM for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:34:12 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1SGrKf-0001a2-R9 for bug-gnu-emacs@gnu.org; Sun, 08 Apr 2012 08:35:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: David =?UTF-8?Q?R=C3=B6thlisberger?= Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Apr 2012 12:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 11201 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.13338884666030 (code B ref -1); Sun, 08 Apr 2012 12:35:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Apr 2012 12:34:26 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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== Original-Received: by 10.216.135.206 with SMTP id u56mr2326854wei.29.1333888405444; Sun, 08 Apr 2012 05:33:25 -0700 (PDT) Original-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) 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-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:58584 Archived-At: 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