0
-#+SEQ_TODO: TODO
MAYBE WAITING | PARTIAL DONE0
+#+SEQ_TODO: TODO
PARTIAL MAYBE WAITING | DONE CANCELLED0
@@ -9,8 +9,89 @@ List of pending/completed tasks for rinari
0
for background see http://groups.google.com/group/emacs-on-rails
0
-* DONE launch web-browser to current view
0
- add a quick command to view the current page in a web-browser
0
+* TODO inf-ruby enhancement
0
+found an example of an error that the
0
+`inferior-ruby-error-regexp-alist' in inf-ruby.el doesn't match
0
+this was the error line
0
+SyntaxError: /home/eschulte/united/org/work/arf/arf/lib/cluster.rb:35: syntax error, unexpec
0
+something to speed up the cycle of
0
+this should probably cash out into two different functions...
0
+** PARTIAL rails-test-method
0
+*** DONE enhance toggle so that it can match up function names as well
0
+*** TODO defadvice toggle so it can run tests
0
+just need to figure out how to add a prefix argument when using
0
+defadvice ([[file:rinari.el::TODO%20need%20to%20figure%20out%20how%20to%20defadvice%20with%20a%20prefix%20a][defadvice in rinari.el]])
0
+*** CANCELLED use the same mechanism as find view
0
+maybe instead of using the current buffer-file change
0
+[[file:rinari.el::defun%20rails%20name%20components%20name][rails-name-components-name]] so it returns the last component as well,
0
+then change the controller usage of this function to drop the last
0
+list element. That way this can be used to get model names when
0
+calling which-function from models/model.rb files.
0
+Also, if you don't have a test written for this particular method this
0
+could insert the def...end for the test into the appropriate file, and
0
+drop the point there. Nothing wrong with a little bit of soft
0
+* TODO make rails-find-view follow forms and link_to[_remote]
0
+working on this currently...
0
+* TODO make `rails-find-action' work with rails2-style view filenames
0
+* TODO define macro for ido completion
0
+since we often want to check the availability of ido for completing
0
+reads it would probably be worth writing a macro to do this.
0
+also, it may be worthwhile breaking utility functions out into a
0
+* MAYBE add a function for running mysql
0
+this would use the information in /conf/databases.yaml to log into the
0
+application's database using sql-* functions from sql.el as
0
+* PARTIAL make `rails-find-action' which will follow forms (maybe w/prefix?)
0
+works for the following cases
0
+- default (goes to the view with the name of the action)
0
+- follows redirect_to another controller and action
0
+- follows redirects to partials
0
+- multiple renders (for example from separate clauses in an if
0
+can follow multiple redirects
0
+sometimes an action will have multiple redirect statements, in which
0
+case this function should ask the user (with completion) which one to
0
+** TODO better error if run outside of controller
0
+this is current the largest set of functions in rinari.el (it should
0
+be cleaner / less code)
0
* PARTIAL Make rinari a minor mode that doesn't activate for regular ruby-mode.
0
@@ -52,36 +133,17 @@ something similar to \C-c\C-c in org-mode
0
something to indicate functions and keybindings, like \C-hm for major
0
-something to speed up the cycle of
0
-this should probably cash out into two different functions...
0
-use `which-function' and the current buffer-file to find the current
0
-function, then lookup and run the test related to that function
0
-dumping the output into a compile buffer
0
+* DONE remove rails-script add ruby-compilation
0
-maybe instead of using the current buffer-file change
0
-[[file:rinari.el::defun%20rails%20name%20components%20name][rails-name-components-name]] so it returns the last component as well,
0
-then change the controller usage of this function to drop the last
0
-list element. That way this can be used to get model names when
0
-calling which-function from models/model.rb files.
0
-Also, if you don't have a test written for this particular method this
0
-could insert the def...end for the test into the appropriate file, and
0
-drop the point there. Nothing wrong with a little bit of soft
0
+it turns out most of the bulk of rails-script.el was supporting
0
+running ruby processes with output going to compilation buffers. So
0
+rails-script.el is now removed (with two short functions in rinari.el
0
+[[file:rinari.el::defun%20rinari%20console%20optional%20arg][rinari-console]] and [[file:rinari.el::defun%20rinari%20server][rinari-server]]), also ruby-compilation has been
0
+**
PARTIAL move through compilation buffers0
-Going to re-define some keys in the *server* and *test* compilation
0
-buffers to make it easier to navigate.
0
+redefine some keys buffers to make it easier to navigate.
0
n will go to the next line
0
p will go to the previous line
0
@@ -96,7 +158,7 @@ so if you just saw an error on a web page, you can see that error in
0
@@ -168,45 +230,8 @@ http://www.emacswiki.org/cgi-bin/wiki/CompilationMode
0
Yeah, the second one sounds a lot harder.
0
-* TODO make rails-find-view follow forms and link_to[_remote]
0
-working on this currently...
0
-* TODO quick wrapper for find file to include *server*, *console*, etc...
0
-include all of the rails process buffers if they exist
0
-* TODO define macro for ido completion
0
-since we often want to check the availability of ido for completing
0
-reads it would probably be worth writing a macro to do this.
0
-also, it may be worthwhile breaking utility functions out into a
0
-* PARTIAL make `rails-find-action' which will follow forms (maybe w/prefix?)
0
-works for the following cases
0
-- default (goes to the view with the name of the action)
0
-- follows redirect_to another controller and action
0
-- follows redirects to partials
0
-- multiple renders (for example from separate clauses in an if
0
-can follow multiple redirects
0
-sometimes an action will have multiple redirect statements, in which
0
-case this function should ask the user (with completion) which one to
0
-** TODO better error if run outside of controller
0
-* WAITING make `rails-find-action' work with rails2-style view filenames
0
-* MAYBE add a function for running mysql
0
-this would use the information in /conf/databases.yaml to log into the
0
-application's database using sql-* functions from sql.el as
0
+* DONE launch web-browser to current view
0
+ add a quick command to view the current page in a web-browser
0
* DONE unified runner for rails scripts
Comments
No one has commented yet.