public
Description: Rinari Is Not A Rails IDE
Homepage: http://rinari.rubyforge.org
Clone URL: git://github.com/technomancy/rinari.git
minor doco tweaks
technomancy (author)
Wed Jul 02 12:17:18 -0700 2008
commit  e6f3043c8e432c8e2d7e8d6e7b86d5fd78ffe8cb
tree    319c21b46b96600a87149306cf3b9b1b6f1e0529
parent  2d5c35e7484828aa4e0c4c56ceb3b256757f1927
0
...
12
13
14
15
 
16
17
18
...
23
24
25
26
 
27
28
29
...
32
33
34
35
36
 
37
38
39
...
12
13
14
 
15
16
17
18
...
23
24
25
 
26
27
28
29
...
32
33
34
 
 
35
36
37
38
0
@@ -12,7 +12,7 @@ your .emacs file:
0
 
0
   (add-to-list 'load-path "~/.emacs.d/rinari")
0
   (require 'rinari)
0
- (global-set-key (kbd "C-x C-M-f") 'find-file-in-project)
0
+ (global-set-key (kbd "C-x C-M-f") 'find-file-in-project) ;; optional
0
 
0
 Copies of ruby-mode.el, inf-ruby.el, and other dependencies have been
0
 included for convienience (and this copy of inf-ruby contains a fix
0
@@ -23,7 +23,7 @@ it's rather large, so you should download it here:
0
 
0
 One possible .init file for nxhtml in rinari would be
0
 
0
-;;; nxml (rhtml support)
0
+;;; nxml (HTML ERB template support)
0
 (load "~/.emacs.d/nxml/autostart.el")
0
 
0
 (setq
0
@@ -32,8 +32,7 @@ One possible .init file for nxhtml in rinari would be
0
  nxhtml-skip-welcome t
0
  indent-region-mode t
0
  rng-nxml-auto-validate-flag nil
0
- nxml-degraded t
0
- )
0
+ nxml-degraded t)
0
 
0
 For a quick overview of Rinari's functions load Rinari as described
0
 above, then cd into your rails directory (in an eshell or shell
...
43
44
45
46
47
48
 
49
50
51
...
111
112
113
114
 
115
116
117
...
215
216
217
218
 
219
220
221
...
246
247
248
 
249
250
251
...
320
321
322
323
 
324
325
326
...
43
44
45
 
 
 
46
47
48
49
...
109
110
111
 
112
113
114
115
...
213
214
215
 
216
217
218
219
...
244
245
246
247
248
249
250
...
319
320
321
 
322
323
324
325
0
@@ -43,9 +43,7 @@
0
 ;; (add-to-list 'load-path "~/.emacs.d/rinari")
0
 ;; (require 'rinari)
0
 
0
-;;; Todo:
0
-
0
-;; see TODO file in this directory
0
+;; See TODO file in this directory.
0
 
0
 ;;; Code:
0
 (require 'ruby-mode)
0
@@ -111,7 +109,7 @@ view at which CONTROLLER#FUNCTION points."
0
            (thing-at-point 'line)) (point)) renders)))
0
    (if renders
0
     ;; if method contains render/redirects select one and follow it
0
- (let ((render (if (equal 1 (length renders))
0
+ (let ((render (if (equal 1 (length renders))
0
          (caar renders)
0
         (completing-read "follow which render: "
0
              (mapcar 'car renders)))))
0
@@ -215,7 +213,7 @@ view at which CONTROLLER#FUNCTION points."
0
      (file-name-sans-extension
0
      (file-name-nondirectory buffer-file-name))))
0
    (controller (or (cdr (assoc ":controller" view-alist))
0
- (file-name-nondirectory
0
+ (file-name-nondirectory
0
        (expand-file-name ".")))))
0
     (find-file (concat (rinari-root)
0
      "app/controllers/"
0
@@ -246,6 +244,7 @@ test, then try to jump to the related test using `toggle-buffer'."
0
     (if path (ruby-run-w/compilation command)
0
       (message "no test available"))))
0
 
0
+;; TODO: maybe replace this with a snippets package; needs research
0
 (defun rinari-insert-erb-skeleton (no-equals)
0
   (interactive "P")
0
   (insert "<%")
0
@@ -320,7 +319,7 @@ the rinari functions displaying their names and keybindings."
0
 ;;--------------------------------------------------------------------
0
 ;;
0
 ;; minor mode and keymaps
0
-;;
0
+;;
0
 (defvar rinari-minor-mode-map
0
   (let ((map (make-sparse-keymap)))
0
     map)

Comments

    No one has commented yet.