summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/ruby-mode/files
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emacs/ruby-mode/files')
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el12
-rw-r--r--app-emacs/ruby-mode/files/50ruby-mode-gentoo.el11
-rw-r--r--app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch22
5 files changed, 69 insertions, 0 deletions
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.1.5.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.0.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el
new file mode 100644
index 000000000000..691abdfdaf99
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo-2.2.2.el
@@ -0,0 +1,12 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("Rakefile\\'" . ruby-mode))
+(add-to-list 'auto-mode-alist '("\\.\\(rake\\|rb\\)\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
new file mode 100644
index 000000000000..c1f9602d19d8
--- /dev/null
+++ b/app-emacs/ruby-mode/files/50ruby-mode-gentoo.el
@@ -0,0 +1,11 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'ruby-mode "ruby-mode" "Major mode to edit ruby files." t)
+
+(add-to-list 'auto-mode-alist '("\\.rb\\'" . ruby-mode))
+(add-to-list 'interpreter-mode-alist '("ruby" . ruby-mode))
+
+(autoload 'run-ruby "inf-ruby" "Run an inferior Ruby process" t)
+(autoload 'inf-ruby-keys "inf-ruby" "Set local key defs for inf-ruby in ruby-mode")
+
+(add-hook 'ruby-mode-hook 'inf-ruby-keys)
diff --git a/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch b/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
new file mode 100644
index 000000000000..4d4bb2775c83
--- /dev/null
+++ b/app-emacs/ruby-mode/files/ruby-mode-1.9.3_p429-last-command-char.patch
@@ -0,0 +1,22 @@
+commit 595825dc577616862b271ffac4c58eb27f0610af
+Author: hsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
+Date: Sun Apr 21 10:04:54 2013 +0000
+
+ Replace use of obsolete variable `last-command-char` by @maser [fix GH-290]
+
+
+ git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
+
+diff --git a/misc/ruby-mode.el b/misc/ruby-mode.el
+index dcaa396..ace0f27 100644
+--- a/misc/ruby-mode.el
++++ b/misc/ruby-mode.el
+@@ -874,7 +874,7 @@ Also ignores spaces after parenthesis when 'space."
+
+ (defun ruby-electric-brace (arg)
+ (interactive "P")
+- (insert-char last-command-char 1)
++ (insert-char last-command-event 1)
+ (ruby-indent-line t)
+ (delete-char -1)
+ (self-insert-command (prefix-numeric-value arg)))