<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -1,3 +1,15 @@
+2007-04-05  Dmitry Galinsky  &lt;dima.exe@gmail.com&gt;
+
+	* rails.el (auto-mode-alist): added Rakefile to auto-mode-alist
+
+	* rails-ui.el (rails-minor-mode-test-current-method-key): created
+
+	* rails-*-test-minor-mode (rails-unit-test-minor-mode rails-functional-test-minor-mode): 
+	changed hotkey &quot;C-c .&quot; to &quot;C-c C-c ,&quot;, the old conflicted with ECB
+
+	* rails-ruby.el (flymake-ruby-load): apply flymake-mode only if
+	buffer-file-name matched flymake-allowed-file-name-masks
+
 2007-04-04  Dmitry Galinsky  &lt;dima.exe@gmail.com&gt;
 
 	* rails-ruby.el (flymake-ruby-load): updated</diff>
      <filename>ChangeLog</filename>
    </modified>
    <modified>
      <diff>@@ -1,4 +1,6 @@
 SVN
+* Fixed #9880: the hotkey &quot;C-c .&quot; conflicted with ECB, changed to &quot;C-c C-c ,&quot;
+
 * New hotkeys, to easy switch without a popup menu between a
   controller or a model related files
   In model layout:</diff>
      <filename>History</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@
   &quot;Minor mode for RubyOnRails functional tests.&quot;
   :lighter &quot; FTest&quot;
   :keymap (let ((map (rails-controller-layout:keymap :functional-test)))
-            (define-key map (kbd &quot;\C-c .&quot;) 'rails-test:run-current-method)
+            (define-key map rails-minor-mode-test-current-method-key 'rails-test:run-current-method)
             (define-key map [menu-bar rails-controller-layout run] '(&quot;Test current method&quot; . rails-test:run-current-method))
             map)
   (setq rails-primary-switch-func 'rails-controller-layout:switch-to-controller)</diff>
      <filename>rails-functional-test-minor-mode.el</filename>
    </modified>
    <modified>
      <diff>@@ -82,8 +82,10 @@ See the variable `align-rules-list' for more details.&quot;)
                        &quot;\\|&quot;
                        (mapcar 'car flymake-allowed-ruby-file-name-masks)))
               (buffer-file-name)))
-    (setq flymake-allowed-file-name-masks (append flymake-allowed-file-name-masks flymake-allowed-ruby-file-name-masks))
-    (setq flymake-err-line-patterns (cons flymake-ruby-error-line-pattern-regexp flymake-err-line-patterns))
+    (setq flymake-allowed-file-name-masks
+          (append flymake-allowed-file-name-masks flymake-allowed-ruby-file-name-masks))
+    (setq flymake-err-line-patterns
+          (cons flymake-ruby-error-line-pattern-regexp flymake-err-line-patterns))
     (flymake-mode t)
     (local-set-key (kbd &quot;\C-c d&quot;) 'flymake-display-err-menu-for-current-line)))
 </diff>
      <filename>rails-ruby.el</filename>
    </modified>
    <modified>
      <diff>@@ -194,6 +194,8 @@
   ([rails ws default] '(menu-item &quot;Start/Stop Web Server (With Default Environment)&quot; rails-ws:toggle-start-stop))
   )
 
+(defconst rails-minor-mode-test-current-method-key (kbd &quot;\C-c \C-c ,&quot;))
+
 (defvar rails-minor-mode-map (make-sparse-keymap))
 
 (define-keys rails-minor-mode-map</diff>
      <filename>rails-ui.el</filename>
    </modified>
    <modified>
      <diff>@@ -30,7 +30,7 @@
   &quot;Minor mode for RubyOnRails unit tests.&quot;
   :lighter &quot; UTest&quot;
   :keymap (let ((map (rails-model-layout:keymap :unit-test)))
-            (define-key map (kbd &quot;\C-c .&quot;) 'rails-test:run-current-method)
+            (define-key map rails-minor-mode-test-current-method-key 'rails-test:run-current-method)
             (define-key map [menu-bar rails-model-layout run] '(&quot;Test current method&quot; . rails-test:run-current-method))
             map)
   (setq rails-primary-switch-func (lambda()</diff>
      <filename>rails-unit-test-minor-mode.el</filename>
    </modified>
    <modified>
      <diff>@@ -428,19 +428,20 @@ necessary.&quot;
             (if (rails-project:root)
                 (rails-minor-mode t))))
 
-;; helpers
 
 (autoload 'haml-mode &quot;haml-mode&quot; &quot;&quot; t)
 
-(setq auto-mode-alist  (cons '(&quot;\\.rb$&quot;    . ruby-mode) auto-mode-alist))
-(setq auto-mode-alist  (cons '(&quot;\\.rake$&quot;  . ruby-mode) auto-mode-alist))
-(setq auto-mode-alist  (cons '(&quot;\\.haml$&quot;  . haml-mode) auto-mode-alist))
-(setq auto-mode-alist  (cons '(&quot;\\.rjs$&quot;   . ruby-mode) auto-mode-alist))
-(setq auto-mode-alist  (cons '(&quot;\\.rxml$&quot;  . ruby-mode) auto-mode-alist))
-(setq auto-mode-alist  (cons '(&quot;\\.rhtml$&quot; . html-mode) auto-mode-alist))
-
-(modify-coding-system-alist 'file &quot;\\.rb$&quot; 'utf-8)
-(modify-coding-system-alist 'file &quot;\\.rake$&quot; 'utf-8)
+(setq auto-mode-alist  (cons '(&quot;\\.rb$&quot;     . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;\\.rake$&quot;   . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;Rakefile$&quot;  . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;\\.haml$&quot;   . haml-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;\\.rjs$&quot;    . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;\\.rxml$&quot;   . ruby-mode) auto-mode-alist))
+(setq auto-mode-alist  (cons '(&quot;\\.rhtml$&quot;  . html-mode) auto-mode-alist))
+
+(modify-coding-system-alist 'file &quot;\\.rb$&quot;     'utf-8)
+(modify-coding-system-alist 'file &quot;\\.rake$&quot;   'utf-8)
+(modify-coding-system-alist 'file &quot;Rakefile$&quot; 'utf-8)
 (modify-coding-system-alist 'file (rails-core:regex-for-match-view) 'utf-8)
 
 (provide 'rails)</diff>
      <filename>rails.el</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>89f805f4a763dd9a95040d8130af2394f23c2c2e</id>
    </parent>
  </parents>
  <author>
    <name>dimaexe</name>
    <email>dimaexe@cc5033d0-740f-0410-afc7-949910e492f2</email>
  </author>
  <url>http://github.com/remvee/emacs-rails/commit/171e3a364fe7a705632578e288080cc74f1dfafb</url>
  <id>171e3a364fe7a705632578e288080cc74f1dfafb</id>
  <committed-date>2007-04-05T10:44:57-07:00</committed-date>
  <authored-date>2007-04-05T10:44:57-07:00</authored-date>
  <message>rails.el (auto-mode-alist): added Rakefile to auto-mode-alist
rails-ui.el (rails-minor-mode-test-current-method-key): created
rails-*-test-minor-mode (rails-unit-test-minor-mode rails-functional-test-minor-mode): 
	changed hotkey &quot;C-c .&quot; to &quot;C-c C-c ,&quot;, the old conflicted with ECB
rails-ruby.el (flymake-ruby-load): apply flymake-mode only if
	buffer-file-name matched flymake-allowed-file-name-masks


git-svn-id: svn+ssh://rubyforge.org/var/svn/emacs-rails/trunk@166 cc5033d0-740f-0410-afc7-949910e492f2</message>
  <tree>8f96edeb5ddb72a3e145bd5fc6e31d1d7b51d6f3</tree>
  <committer>
    <name>dimaexe</name>
    <email>dimaexe@cc5033d0-740f-0410-afc7-949910e492f2</email>
  </committer>
</commit>
