 
 (defun floobits-event-room_info (req)
   (message "Successfully joined room %s" floobits-room)
-  (message "req is %s" req)
   (message "project path is %s" (floo-get-item req 'project_path))
-  (message "name is %s" (cdr (assoc "project_path" req)))
-  req
   (dired (floo-get-item req "project_path")))
-;req is ((name . room_info) (project_path . /Users/ggreer/.floobits/share/ggreer/vim-test))
-;req is ((name . room_info) (project_path . /Users/ggreer/.floobits/share/ggreer/vim-test))
-; project path is nil
-; name is nil
 
 (defun floobits-event-join (req)
   (message "%s" req)

  (message "%s left the room" (floo-get-item req 'username)))

(defun floobits-event-edit (req)
  (let* ((filename (cdr (assoc "full_path" req)))
    (buf (get-file-buffer filename))
    (edits (cdr (assoc "edits" req)))
    (apply-edit (lambda (edit)
      (let* ((inhibit-modification-hooks t)
        (edit-start (+ 1 (elt edit 0)))

            (mapcar apply-edit edits)))))))

(defun floobits-event-get_buf (req)
  (let ((filename (floo-get-item req "full_path" )))
    (if (not (eq filename nil))
      (find-file filename)
    (message "filename does not exist for buffer %s" (floo-get-item req 'id)))))
