From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#7229: 23.1; ido guess and ffap bug Date: Sat, 13 Jul 2013 03:03:28 +0400 Message-ID: <8761wfpein.fsf@yandex.ru> References: <20101016200828.264940@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1373670252 8513 80.91.229.3 (12 Jul 2013 23:04:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 12 Jul 2013 23:04:12 +0000 (UTC) Cc: Thibault Kruse , 7229@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jul 13 01:04:11 2013 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 1UxmNm-0000o7-ST for geb-bug-gnu-emacs@m.gmane.org; Sat, 13 Jul 2013 01:04:10 +0200 Original-Received: from localhost ([::1]:43737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmNm-0008Vy-GK for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Jul 2013 19:04:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38989) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmNh-0008V0-4l for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 19:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxmNe-0002IL-O7 for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 19:04:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:57078) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxmNe-0002IH-KT for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 19:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxmNd-0002jX-Uf for bug-gnu-emacs@gnu.org; Fri, 12 Jul 2013 19:04:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <20101016200828.264940@gmx.net> Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Jul 2013 23:04:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7229 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 7229-submit@debbugs.gnu.org id=B7229.137367022410467 (code B ref 7229); Fri, 12 Jul 2013 23:04:01 +0000 Original-Received: (at 7229) by debbugs.gnu.org; 12 Jul 2013 23:03:44 +0000 Original-Received: from localhost ([127.0.0.1]:51394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmNL-0002ij-8z for submit@debbugs.gnu.org; Fri, 12 Jul 2013 19:03:43 -0400 Original-Received: from mail-la0-f47.google.com ([209.85.215.47]:53995) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxmNH-0002iM-S6 for 7229@debbugs.gnu.org; Fri, 12 Jul 2013 19:03:40 -0400 Original-Received: by mail-la0-f47.google.com with SMTP id fe20so7985859lab.6 for <7229@debbugs.gnu.org>; Fri, 12 Jul 2013 16:03:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:user-agent:date:message-id :mime-version:content-type:x-antivirus:x-antivirus-status; bh=hWaJLcPjUldtCp/wQc2BnkwZrJEDf8ez3qVliKWi0e0=; b=ZqCZSoKQUlx/iGuKrzgve0juqFbzFWUof67cYamrkAT7Lw08h64TMuSGchzoNXbCCd 4H9O0boq+qBaZSRAHPAn9yqa4nXx0jQWE0IKiR1QXvd9QM2FkJVfkCzFZQDWD9cRjX6d +j4aPPyVny8qEy021AC1tCiX1kwoQR5TOLlKLiwaoEVZWkUCa/dLTIdcuk2WVmBoScov VhUwYtIv6m6SzjFbtOUWMiMTxxyeunPyIzR/scYt5YrlhR6c21NS5oNsa/ja1WuVyQZp kdbeg1I9/h0xApt4trao5Aeh+Y64hGoAZCscQCPdqoAvRxoFFTuSbHIL7A23QH64lJB8 p9Pw== X-Received: by 10.152.121.73 with SMTP id li9mr20670313lab.42.1373670213702; Fri, 12 Jul 2013 16:03:33 -0700 (PDT) Original-Received: from SOL ([178.252.98.87]) by mx.google.com with ESMTPSA id e5sm14649457lbw.3.2013.07.12.16.03.32 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 12 Jul 2013 16:03:32 -0700 (PDT) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (windows-nt) X-Antivirus: avast! (VPS 130712-1, 12.07.2013), Outbound message X-Antivirus-Status: Clean X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x 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:76304 Archived-At: Leo Liu writes: > On 2010-10-17 04:08 +0800, Thibault Kruse wrote: >> enter /** >> cursor at the end of that line >> M-x ido-find-file (or C-x f): ido suggests /**, instead of pwd >> enter >> cursor at the end of that line >> M-x ido-find-file (or C-x f): ido suggests /, instead of pwd >> >> same for M-x ffap > > I don't see any bugs here. ido and ffap seem working consistently per > your request (/** and / are valid file names). Maybe we should be able to restrict `ffap-file-at-point' to local files (which it checks for existence). After all, the variable that enables this behavior is called `ido-use-filename-at-point', and the description does not tell you that the thing at point could be interpreted as a remote URL.