Commits

Anonymous committed 4779a1b

Using yes-or-no-p for committing the preview

Comments (0)

Files changed (4)

 returned back to the base prompt.  Finally, you can ask rope to
 perform, preview or cancel the refactoring.
 
+
 See keybinding_ section and try the refactorings yourself.
 
 
+Finding Files
+-------------
+
+By using ``rope-find-file`` (``C-x p f`` by default), you can search
+for files in your project.  When you complete the minibuffer you'll
+see all files in the project; files are shown as their reversed paths.
+For instance ``projectroot/docs/todo.txt`` is shown like
+``todo.txt<docs``.  This way you can find files faster in your
+project.
+
+
+
 Keybinding
 ==========
 
 * including pymacs in ropemacs?
 * change pymacs to accept unicode strings
 * saving the old values of refacturing config
+* find occurrences
 
 > Public Release 0.2
 

ropemacs/__init__.py

         lisp.display_buffer(new_buffer)
         lisp.goto_line(1)
 
-def _y_or_n_p(prompt):
-    return lisp.y_or_n_p(prompt)
+def _yes_or_no(prompt):
+    return lisp.yes_or_no_p(prompt)
 
 
 DEFVARS = """\

ropemacs/refactor.py

             ropemacs._make_buffer('*rope-preview*',
                                   str(changes.get_description()),
                                   mode='diff')
-            if ropemacs._y_or_n_p('Do the changes? '):
+            if ropemacs._yes_or_no('Do the changes? '):
                 self._perform(changes)
 
     @property