This reverts commit 6937396.
This reverts commit 9b0e11a.
…ate" This reverts commit 746c032.
Why? If you're in a project-folder that would be otherwise excluded by *textmate-gf-exclude*, then textmate-goto-file is rendered non-functional because EVERY file will ignored. By making find output relative paths, the ignore regular expression will only operate on files and directories within the project. Additionally, `format' will escape double-quotes for us if we use it and use %S as the placeholder. This eliminates an unnecessary dependency on textmate-string-replace.
In environments where textmate-cached-project-files would return a list of files with each containing the full path, the completing read would display each entry with the full path for each file, and append the project root to the displayed path, resulting in Emacs opening a non-existing file in a non-existing folder. The fix should be safe for platforms where textmate-cached-project-files already returns relative paths.
When using textmate-goto-symbol with ECB (instead of a TAGS file), the symbol-list contains overlays to mark the position instead an integer. Detect if position contains an overlay, and use (overlay-start position) if so.