From ec5faeb4d65925773a78032ce12b2ccf4ceb1876 Mon Sep 17 00:00:00 2001
From: dimaexe <dimaexe@cc5033d0-740f-0410-afc7-949910e492f2>
Date: Sat, 24 Mar 2007 22:34:38 +0000
Subject: [PATCH] updated copyright added README

git-svn-id: svn+ssh://rubyforge.org/var/svn/emacs-rails/trunk@112 cc5033d0-740f-0410-afc7-949910e492f2
---
 README                              | 152 +++++++++++++++++++++++++++-
 rails-cmd-proxy.el                  |   5 +-
 rails-controller-layout.el          |   2 +
 rails-fixture-minor-mode.el         |   2 +
 rails-functional-test-minor-mode.el |   2 +
 rails-helper-minor-mode.el          |   2 +
 rails-layout-minor-mode.el          |   2 +
 rails-log.el                        |   2 +
 rails-migration-minor-mode.el       |   2 +
 rails-model-layout.el               |   2 +
 rails-model-minor-mode.el           |   2 +
 rails-plugin-minor-mode.el          |   2 +
 rails-ruby.el                       |   2 +
 rails-unit-test-minor-mode.el       |   2 +
 rails-view-minor-mode.el            |   2 +
 15 files changed, 179 insertions(+), 4 deletions(-)

diff --git a/README b/README
index 34f44a0..47f54b9 100644
--- a/README
+++ b/README
@@ -1 +1,151 @@
-See http://dima-exe.ru/rails-on-emacs
\ No newline at end of file
+It is minor mode for editing "Ruby On Rails":ror code with
+"Emacs":emacs. This minor mode makes your work much easier and user
+friendly
+
+
+== Instalation
+
+You need download last release from RubyForge page 
+"http://rubyforge.org/projects/emacs-rails" and and unpack
+it to directory containing libraries of Emacs, by default it's
+$HOME/.emacs.d/
+
+You can also use SVN
+
+  cd  $HOME/.emacs.d/ 
+  svn co svn://rubyforge/var/svn/emacs-rails/trunk emacs-rails
+
+Download and install required libraries
+
+* "http://www.kazmier.com/computer/snippet.el":snippets
+* "http://www.webweavertech.com/ovidiu/emacs/find-recursive.txt":frecursive
+
+*Alert:* From 0.44 release emacs-rails will require the
+ "inf-ruby":inf-ruby.
+
+After that you must add this code in $HOME/.emacs
+
+  (setq load-path (cons "~/.emacs.d/rails" load-path))
+
+  (defun try-complete-abbrev (old)
+    (if (expand-abbrev) t nil))
+
+  (setq hippie-expand-try-functions-list
+    '(try-complete-abbrev
+      try-complete-file-name
+      try-expand-dabbrev))
+
+  (require 'rails)
+
+For Windows users: you can use your help in CHM format (the default
+*ri*).  This will require utility "KeyHH":keyhh. And add to a file
+.emacs
+
+  (setq rails-chm-file "full_path_to_rails_chm_manual")
+
+After that you can run Emacs. Almost all available actions are in the
+menu [Ruby On Rails]. The snippets are in the menu [Ruby On
+Rails-Snippets], for the convenience, they are divided into
+categories.
+
+To change default setting, select [Ruby On Rails - Customize].
+
+== First Acquaintance
+
+Go to directory with your rails application and open any file in Emacs:
+
+  cd $HOME/project/simple_rails_application
+  emacs app/controllers/application.rb
+
+There must be "RoR" sign in the list of active minor-modes in status
+bar. Thi means, that emacs-rails is enabled and ready to help you in
+your not so easy work.
+
+Almoust all actions are in the "RubyOnRails" menu. You can check it
+out and try some of them. Don't forget, that menu will help you only
+first time. After that you better use hot keys for effective work, you
+can find them in the brackets.
+
+== Features
+
+* TextMate-like snippets
+* Display of colored log files
+* Integration with script/generate and script/destroy (controller,
+  model, scaffold, migration, etc)
+* Integration with script/console and script/breakpointer
+* Run rake %(key)C-c C-c r%
+* Quick start svn-status in RAILS_ROOT %(key)f9%
+* Documentation search using *ri* or *chm* file and Rails API
+  reference in HTML %(key)f1%
+* Quick access to the main configuration files
+* Automatic TAGS generation in RAILS_ROOT directory
+
+=== Management of WEBrick/Mongrel
+
+* Your can select Webrick, Mongrel or Lighttpd 
+* Start/stop application server %(key)C-c C-c w s%
+* Automatic browsing on current action (from view or controller)
+  %(key)C-c C-c w a%
+
+=== Navigation in RAILS_ROOT hierarchy
+
+* Quick switch stylesheets, javascripts, migrations, layouts, helpers,
+  controllers, models, observers, plugins
+* In controller file: go to views, functional test, helper
+  %(key)C-down%
+* Switch between action/view %(key)�-up%
+* Go to file in current line (example: cursor at line [redirect_to
+  controller => :home, :action => "show"], will be open action "show"
+  in "home" controller) %(key)C-RET%
+* Quick access to the main configuration files using menu
+
+Other hot keys
+
+* %(key)C-c C-c g g% rails-nav:goto-migrate
+* %(key)C-c C-c g j% rails-nav:goto-javascripts
+* %(key)C-c C-c g s% rails-nav:goto-stylesheets
+* %(key)C-c C-c g l% rails-nav:goto-layouts
+* %(key)C-c C-c g h% rails-nav:goto-helpers
+* %(key)C-c C-c g c% rails-nav:goto-controllers
+* %(key)C-c C-c g m% rails-nav:goto-models
+* %(key)C-c C-c g o% rails-nav:goto-observers
+* %(key)C-c C-c g p% rails-nav:goto-plugins
+
+=== ERb refactoring
+
+* Create partial from selection %(key)C-c p%
+* Create helper from block  %(key)C-c b%
+
+= Bugs
+
+emacs-rails designed for current CVS version of Emacs (future Emacs22)
+more probably some functions will not work in older version, or will
+work with errors, so if it is possible, try to update. I will not tell
+you why you should use CVS version, just take my word.
+
+In some version from CVS some time ago, when you use emacs-rails,
+sintax highlight in rhtml was not working, so just update to the
+newest version from CVS.
+
+If you find error, place it description in "BugTrack":bugtrack.
+
+= Links
+
+* "Emacs W32 (CVS version for Windows)":http://ourcomments.org/Emacs/EmacsW32.html
+* "HowToUseEmacsWithRails":http://wiki.rubyonrails.org/rails/pages/HowToUseEmacsWithRails
+* "http://scott.elitists.net/users/scott/posts/rails-on-emacs":http://scott.elitists.net/users/scott/posts/rails-on-emacs
+* "http://www.emacswiki.org/cgi-bin/wiki/RubyMode":http://www.emacswiki.org/cgi-bin/wiki/RubyMode
+* "Emacs screencast":screencast
+* "Effective Emacs":effectiveemacs
+
+[bugtrack]http://rubyforge.org/tracker/?atid=5809&group_id=1484&func=browse
+[effectiveemacs]http://steve.yegge.googlepages.com/effective-emacs
+[screencast]http://emacsonrails.drozdov.net/
+[lisp]http://en.wikipedia.org/wiki/Lisp_programming_language
+[frecursive]http://www.webweavertech.com/ovidiu/emacs/find-recursive.txt
+[keyhh]http://www.keyworks.net/keyhh.htm
+[snippets]http://www.kazmier.com/computer/snippet.el
+[emacs]http://www.gnu.org/software/emacs/
+[ror]http://rubyonrails.org
+[emacs-rails]http://rubyforge.org/projects/emacs-rails
+[inf-ruby]http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/misc/inf-ruby.el?view=co
\ No newline at end of file
diff --git a/rails-cmd-proxy.el b/rails-cmd-proxy.el
index ed116b6..ba69128 100644
--- a/rails-cmd-proxy.el
+++ b/rails-cmd-proxy.el
@@ -1,9 +1,8 @@
-;;; rails-remote-cmd.el ---
+;;; rails-cmd-proxy.el ---
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
-;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>,
-;;          Rezikov Peter <crazypit13 (at) gmail.com>
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
 
 ;; Keywords: ruby rails languages oop
 ;; $URL$
diff --git a/rails-controller-layout.el b/rails-controller-layout.el
index dc3d5a4..e59b2be 100644
--- a/rails-controller-layout.el
+++ b/rails-controller-layout.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-fixture-minor-mode.el b/rails-fixture-minor-mode.el
index 2cd229b..381c8dd 100644
--- a/rails-fixture-minor-mode.el
+++ b/rails-fixture-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-functional-test-minor-mode.el b/rails-functional-test-minor-mode.el
index e110247..17ec6bc 100644
--- a/rails-functional-test-minor-mode.el
+++ b/rails-functional-test-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-helper-minor-mode.el b/rails-helper-minor-mode.el
index 7353005..e16c45c 100644
--- a/rails-helper-minor-mode.el
+++ b/rails-helper-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-layout-minor-mode.el b/rails-layout-minor-mode.el
index bbe488e..e2d619e 100644
--- a/rails-layout-minor-mode.el
+++ b/rails-layout-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-log.el b/rails-log.el
index 5bd68a5..40ed515 100644
--- a/rails-log.el
+++ b/rails-log.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-migration-minor-mode.el b/rails-migration-minor-mode.el
index 86bbdb0..8524062 100644
--- a/rails-migration-minor-mode.el
+++ b/rails-migration-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-model-layout.el b/rails-model-layout.el
index 8b82a2b..864895e 100644
--- a/rails-model-layout.el
+++ b/rails-model-layout.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-model-minor-mode.el b/rails-model-minor-mode.el
index 5f976c2..5c44905 100644
--- a/rails-model-minor-mode.el
+++ b/rails-model-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-plugin-minor-mode.el b/rails-plugin-minor-mode.el
index 80ca0e9..6872a2a 100644
--- a/rails-plugin-minor-mode.el
+++ b/rails-plugin-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-ruby.el b/rails-ruby.el
index 0d41a65..c3d6f0c 100644
--- a/rails-ruby.el
+++ b/rails-ruby.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-unit-test-minor-mode.el b/rails-unit-test-minor-mode.el
index 66875c5..ce05104 100644
--- a/rails-unit-test-minor-mode.el
+++ b/rails-unit-test-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$
diff --git a/rails-view-minor-mode.el b/rails-view-minor-mode.el
index e9e042a..5956ba7 100644
--- a/rails-view-minor-mode.el
+++ b/rails-view-minor-mode.el
@@ -2,6 +2,8 @@
 
 ;; Copyright (C) 2006 Dmitry Galinsky <dima dot exe at gmail dot com>
 
+;; Authors: Dmitry Galinsky <dima dot exe at gmail dot com>
+
 ;; Keywords: ruby rails languages oop
 ;; $URL$
 ;; $Id$