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/color-browser/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/color-browser/files')
-rw-r--r--app-emacs/color-browser/files/0.3-gentoo.patch80
-rw-r--r--app-emacs/color-browser/files/60color-browser-gentoo.el6
2 files changed, 86 insertions, 0 deletions
diff --git a/app-emacs/color-browser/files/0.3-gentoo.patch b/app-emacs/color-browser/files/0.3-gentoo.patch
new file mode 100644
index 000000000000..8ac5c684168d
--- /dev/null
+++ b/app-emacs/color-browser/files/0.3-gentoo.patch
@@ -0,0 +1,80 @@
+--- color-browser.el.orig 2006-05-17 11:40:18.000000000 -0500
++++ color-browser.el 2006-05-17 11:38:12.000000000 -0500
+@@ -1028,7 +1028,7 @@
+ ;; make some adjustments
+
+ ;; use SYMBOL instead of my-color-theme
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (insert "(require 'color-theme)\n\n")
+ (search-forward "my-color-theme" nil t)
+ (delete-region (match-beginning 0) (match-end 0))
+@@ -1044,7 +1044,7 @@
+ (insert symbol)
+
+ ;; add a provide
+- (end-of-buffer)
++ (goto-char (point-max))
+ (insert "\n\n(provide '" symbol ")\n")
+ (save-buffer)
+ (kill-this-buffer))
+@@ -1152,7 +1152,7 @@
+ (set-marker marker point)
+ ;; un-mark the previous current face
+ (save-excursion
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (and (search-forward "[" nil t) (delete-char -1))
+ (and (search-forward "]" nil t) (delete-char -1)))
+
+@@ -1491,7 +1491,7 @@
+ palette))
+
+ ;; parse the buffer to get a list of color-names
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (while (search-forward "[DEL]" nil t)
+ (forward-char 2)
+ (setq color-names
+@@ -1708,7 +1708,7 @@
+ (forward-line -1)
+ ;; skip top line
+ (when (bobp)
+- (end-of-buffer)
++ (goto-char (point-max))
+ (forward-line -1)) ;; skip last line
+ (yank)
+ (setq header-line-format "Palette Modified")
+@@ -1724,11 +1724,11 @@
+ (select-window (posn-window (event-start click))))
+ (let ((inhibit-read-only t)
+ (kill-ring kill-ring))
+- (end-of-buffer)
++ (goto-char (point-max))
+ (forward-line -2) ;; skip last line
+ (beginning-of-line)
+ (kill-line 1)
+- (beginning-of-buffer)
++ (goto-char (point-min))
+ (forward-line 1) ;; skip top line
+ (yank)
+ (setq header-line-format "Palette Modified")
+@@ -1760,7 +1760,7 @@
+
+ (beginning-of-line)
+ ;; catch point on or after last line
+- (unless (looking-at "\\[DEL\\]") (beginning-of-buffer))
++ (unless (looking-at "\\[DEL\\]") (goto-char (point-min)))
+ ;; catch point on first line
+ (when (bobp) (forward-line 1))
+ (setq start (point))
+@@ -1980,7 +1980,8 @@
+ ))
+ (setq header-line-format nil)
+ (force-mode-line-update)
+- ))........................................................
++ ))
++;;; ........................................................
+
+ ;;;_ + Color Browser.........................................
+
diff --git a/app-emacs/color-browser/files/60color-browser-gentoo.el b/app-emacs/color-browser/files/60color-browser-gentoo.el
new file mode 100644
index 000000000000..724fc248a353
--- /dev/null
+++ b/app-emacs/color-browser/files/60color-browser-gentoo.el
@@ -0,0 +1,6 @@
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'color-browser "color-browser"
+ "A utility for designing Emacs color themes" t)
+
+(setq cb-palettes-dir "~/color-browser/palettes/")
+(setq cb-themes-dir "~/color-browser/themes/")