public
Description: Rinari Is Not A Rails IDE
Homepage: http://rinari.rubyforge.org
Clone URL: git://github.com/technomancy/rinari.git
fixed bug in toggle.el
eschulte (author)
Mon Jun 30 06:48:25 -0700 2008
commit  47ce62ce3fa238eea21bfb5d8f449c518e81b51d
tree    bd9fc20b102abb2701a2ffac14b362567470d8b6
parent  f505236b6b8858e8a25280471323f729ae685b27
...
1
2
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
5
6
...
1
2
 
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
0
@@ -1,6 +1,35 @@
0
 ;;; ruby-compilation.el --- run a ruby process in a compilation buffer
0
 
0
-;; Eric Schulte
0
+;; Copyright (C) 2008 Eric Schulte
0
+
0
+;;; License:
0
+
0
+;; This program is free software; you can redistribute it and/or modify
0
+;; it under the terms of the GNU General Public License as published by
0
+;; the Free Software Foundation; either version 3, or (at your option)
0
+;; any later version.
0
+;;
0
+;; This program is distributed in the hope that it will be useful,
0
+;; but WITHOUT ANY WARRANTY; without even the implied warranty of
0
+;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
0
+;; GNU General Public License for more details.
0
+;;
0
+;; You should have received a copy of the GNU General Public License
0
+;; along with GNU Emacs; see the file COPYING. If not, write to the
0
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
0
+;; Boston, MA 02110-1301, USA.
0
+
0
+;;; Commentary:
0
+
0
+;; Allow for execution of ruby processes dumping the results into a
0
+;; compilation buffer. Useful for executing tests, or rake tasks
0
+;; where the ability to jump to errors in source code is desirable.
0
+;;
0
+;; The functions you will probably want to use are...
0
+;;
0
+;; ruby-run-w/compilation
0
+;; ruby-rake-w/compilation
0
+;;
0
 
0
 ;;; Code:
0
 (require 'ansi-color)
...
134
135
136
137
138
 
 
139
140
141
...
134
135
136
 
 
137
138
139
140
141
0
@@ -134,8 +134,8 @@ match is found, switches to that buffer."
0
   (interactive)
0
   (let* ((function (ruby-add-log-current-method))
0
    (func-add (if function
0
- (concat "#" (and (string-match "#\\(.+\\)" (ruby-add-log-current-method))
0
- (match-string 1 (ruby-add-log-current-method))))
0
+ (concat "#" (and (string-match "#\\(.+\\)" function)
0
+ (match-string 1 function)))
0
      ""))
0
    (new-name (or (toggle-filename (concat (buffer-file-name) func-add)
0
           toggle-mappings)

Comments

    No one has commented yet.