<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,4 @@
-;;;; This is a set of experiments on possible Emacs variants of TextMates' Command-T
+;;;; This is a set of experiments on possible Emacs variants of TextMate's Command-T
 
 ;; (string-matches &quot;h.*t&quot; '(&quot;hot&quot; &quot;post&quot; &quot;heat&quot;))
 (defun string-matches (re list)
@@ -37,7 +37,7 @@
 (defun phoenix-relevance-re (string)
   (apply 'concat (phoenix-splice (split-string string &quot;/&quot; t) &quot;[^/]*/[^/]*&quot;)))
 
-;; (phoenix-splice '(1 2 3) :foo)
+;; (phoenix-splice '(1 2 3) &quot;+&quot;)
 (defun phoenix-splice (list splice)
   (let ((result nil))
     (dolist (item list)
@@ -50,27 +50,6 @@
 (defun phoenix-find-file-top-dir ()
   (file-name-directory tags-file-name))
 
-(defun find-file-in-tag-files-dired (str)
-  &quot;Find files matching string, a la TextMate's Command-T&quot;
-  (interactive &quot;s&quot;)
-  (let ((matches (string-matches-in-tag-files str)))
-    (if (not matches) (error &quot;No matches&quot;))    
-    (switch-to-buffer (get-buffer-create &quot;*Choose A File*&quot;))
-    (setq buffer-read-only nil)
-    (widen)
-    (erase-buffer)
-    (kill-all-local-variables)
-    (setq default-directory (phoenix-find-file-top-dir))
-    (let* ((files (apply 'call-process (append '(&quot;ls&quot; nil t nil &quot;-al&quot;) matches)))
-           (ls-list (split-string (buffer-substring (point-min) (point-max)) &quot;\n&quot;)))
-      (erase-buffer)
-     (dolist (item (phoenix-relevance-sort str ls-list))
-       (insert-string (concat item &quot;\n&quot;)))
-      (dired-mode (phoenix-find-file-top-dir))
-      (set (make-local-variable 'dired-subdir-alist)
-           (list (cons default-directory (point-min-marker))))
-      (beginning-of-buffer))))
-
 ;; sort list by relevance to string
 ;; early match beats late match beats no match
 (defun phoenix-relevance-sort (str list)</diff>
      <filename>command_t.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>195d57e38b77e6998457e0c49d864c11fdea84bb</id>
    </parent>
  </parents>
  <author>
    <name>Stuart Halloway</name>
    <email>stu@thinkrelevance.com</email>
  </author>
  <url>http://github.com/stuarthalloway/phoenix-emacs/commit/2c717bb83c9b59f0ab0deee44265e42f553df55f</url>
  <id>2c717bb83c9b59f0ab0deee44265e42f553df55f</id>
  <committed-date>2008-03-14T12:51:11-07:00</committed-date>
  <authored-date>2008-03-14T12:51:11-07:00</authored-date>
  <message>removed some dead code</message>
  <tree>b3ae1e0b1276939128d9022d68fca2626a30b052</tree>
  <committer>
    <name>Stuart Halloway</name>
    <email>stu@thinkrelevance.com</email>
  </committer>
</commit>
