bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#7229: 23.1; ido guess and ffap bug


From: Leo Liu
Subject: bug#7229: 23.1; ido guess and ffap bug
Date: Fri, 12 Jul 2013 09:20:33 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (OS X 10.8.4)

--- Begin Message --- Subject: Aw: Re: bug#7229: 23.1; ido guess and ffap bug Date: Fri, 12 Jul 2013 01:50:57 +0200 (CEST) Wow, that's almost 3 years ago. Thanks for even rlooking into it.

Then maybe call it sub-optimal default behavior instead of a bug.
If that kind of consistency is most important, then my request is invalid.
However IMHO, out of 1000 times a user presses C-x f after "/**", he will in 1000 cases not intent to open a file called /**, even if such a file could exist. So I would tend towards making the tool do what the user wants, not what is most consistent in theory, but that may just be me.

In the second case, the cursor is not on '/', but on '/>'. Suggesting '/' instead of nothing, ignoring the '>' character seems bad to me, though maybe it is consistent with some other behavior. Close as "wont fix" by all means if my position is not persuasive.

Gesendet: Donnerstag, 11. Juli 2013 um 18:23 Uhr
Von: "Leo Liu" <address@hidden>
An: "Thibault Kruse" <address@hidden>
Cc: address@hidden
Betreff: Re: bug#7229: 23.1; ido guess and ffap bug
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 <test />
> 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).

Leo


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]