Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

ido-find-file confused when cursor over C comment #16

Closed
mheffner opened this Issue Oct 19, 2009 · 3 comments

Comments

Projects
None yet
3 participants

If a C-mode buffer contains the text:

/******************************************************************************

inserting the cursor anywhere in the comment and running ido-find-file will try to locate a file named "/******************************************************************************" and fail.

Is this a bug with ido?

Owner

technomancy commented Oct 21, 2009

It's a quirk of ido-mode; I've run into it myself editing JS files. I'm sure it's possible to work around, but I haven't seen a fix yet. Would love to get a patch for it.

@DarwinAwardWinner DarwinAwardWinner added a commit to DarwinAwardWinner/emacs-starter-kit that referenced this issue Nov 25, 2011

@DarwinAwardWinner DarwinAwardWinner Prevent ido-find-file from suggesting "/******" when run on a C comment
Fixes #16.
930544b
Contributor

DarwinAwardWinner commented Nov 27, 2011

You can close this now, I guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment