public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: app-emacs/color-theme/files/, app-emacs/color-theme/
@ 2019-10-15  8:38 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2019-10-15  8:38 UTC (permalink / raw
  To: gentoo-commits

commit:     a689b61a5714c691f876982cd6789ab5eea9aba3
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 15 08:17:09 2019 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Tue Oct 15 08:38:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a689b61a

app-emacs/color-theme: Fixes for Emacs 26.

Package-Manager: Portage-2.3.76, Repoman-2.3.17
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/color-theme/color-theme-6.6.0-r2.ebuild  | 36 ++++++++++++++++
 .../files/color-theme-6.6.0-emacs-26.patch         | 48 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild b/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild
new file mode 100644
index 00000000000..7ddb8a2caf5
--- /dev/null
+++ b/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Install color themes (includes many themes)"
+HOMEPAGE="http://www.nongnu.org/color-theme/"
+SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-replace-in-string.patch
+	"${FILESDIR}"/${P}-emacs-26.patch
+)
+ELISP_REMOVE="color-theme-autoloads.*"
+SITEFILE="50${PN}-gentoo.el"
+
+src_install() {
+	elisp-install ${PN} *.el *.elc
+	elisp-install ${PN}/themes themes/*.el
+	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	dodoc AUTHORS BUGS ChangeLog README
+
+	DOC_CONTENTS="To use color-theme non-interactively, initialise it
+		in your ~/.emacs file as in the following example (which is
+		for the \"Blue Sea\" theme):
+		\n
+		\n(color-theme-initialize)
+		\n(color-theme-blue-sea)"
+	readme.gentoo_create_doc
+}

diff --git a/app-emacs/color-theme/files/color-theme-6.6.0-emacs-26.patch b/app-emacs/color-theme/files/color-theme-6.6.0-emacs-26.patch
new file mode 100644
index 00000000000..4310733dbf2
--- /dev/null
+++ b/app-emacs/color-theme/files/color-theme-6.6.0-emacs-26.patch
@@ -0,0 +1,48 @@
+Some updates taken from https://www.emacswiki.org/emacs/color-theme.el
+in order to make this work with Emacs 26. EmacsWiki calls this
+version 6.6.1, but doesn't package any other files from the upstream
+tarball.
+
+--- color-theme-6.6.0-orig/color-theme.el
++++ color-theme-6.6.0/color-theme.el
+@@ -1077,13 +1077,11 @@
+   (let ((rules '((font-lock-builtin-face font-lock-reference-face)
+ 		 (font-lock-doc-face font-lock-doc-string-face)
+ 		 (font-lock-constant-face font-lock-preprocessor-face)
+-		 ;; In Emacs 21 `modeline' is just an alias for
+-		 ;; `mode-line'.  I recommend the use of
+-		 ;; `modeline' until further notice.
+-		 (modeline mode-line)
+-		 (modeline modeline-buffer-id)
+-		 (modeline modeline-mousable)
+-		 (modeline modeline-mousable-minor-mode)
++		 ;; D.ADAMS - Emacs 24.3 made `modeline' obsolete, so I've just commented-out these four lines.
++		 ;; (modeline mode-line)
++		 ;; (modeline modeline-buffer-id)
++		 ;; (modeline modeline-mousable)
++		 ;; (modeline modeline-mousable-minor-mode)
+ 		 (region primary-selection)
+ 		 (region zmacs-region)
+ 		 (font-lock-string-face dired-face-boring "^dired")
+@@ -1254,7 +1252,9 @@
+ 	   (val (cdr (assq param params)))
+ 	   (frame (if color-theme-is-global nil (selected-frame))))
+       (when val
+-	(set-face-property face prop val frame)))))
++	(if (fboundp 'set-face-property)
++	    (set-face-property face prop val frame)
++	  (set-face-attribute face frame prop val))))))
+ 
+ (defun color-theme-alist-reduce (old-list)
+   "Reduce OLD-LIST.
+@@ -1332,7 +1332,9 @@
+     (dolist (var vars)
+       (if (or color-theme-is-global color-theme-xemacs-p)
+ 	  (set (car var) (cdr var))
+-	(make-variable-frame-local (car var))
++	;; DADAMS
++	;; `make-variable-frame-local' was removed from Emacs C code in Emacs 26.
++	(when (fboundp 'make-variable-frame-local) (make-variable-frame-local (car var)))
+ 	(modify-frame-parameters (selected-frame) (list var))))))
+ 
+ (defun color-theme-install-faces (faces)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/color-theme/files/, app-emacs/color-theme/
@ 2023-10-07 10:49 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-10-07 10:49 UTC (permalink / raw
  To: gentoo-commits

commit:     62d199e66f2adc2a71950162cf76c370f0a9947e
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct  7 08:32:24 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Oct  7 10:48:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62d199e6

app-emacs/color-theme: Fix package for Emacs 29

Update to EAPI 8.

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/color-theme/color-theme-6.6.0-r3.ebuild  |  37 +++++++
 .../files/50color-theme-gentoo-6.6.0-r3.el         | 119 +++++++++++++++++++++
 .../files/color-theme-6.6.0-emacs-29.patch         | 114 ++++++++++++++++++++
 3 files changed, 270 insertions(+)

diff --git a/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild b/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild
new file mode 100644
index 000000000000..41b2cc7a1c60
--- /dev/null
+++ b/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit elisp readme.gentoo-r1
+
+DESCRIPTION="Install color themes (includes many themes)"
+HOMEPAGE="http://www.nongnu.org/color-theme/"
+SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+
+PATCHES=(
+	"${FILESDIR}"/${P}-replace-in-string.patch
+	"${FILESDIR}"/${P}-emacs-26.patch
+	"${FILESDIR}"/${P}-emacs-29.patch
+)
+ELISP_REMOVE="color-theme-autoloads.*"
+SITEFILE="50${PN}-gentoo-6.6.0-r3.el"
+
+src_install() {
+	elisp-install ${PN} *.el *.elc
+	elisp-install ${PN}/themes themes/*.el
+	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+	dodoc AUTHORS BUGS ChangeLog README
+
+	local DOC_CONTENTS="To use color-theme non-interactively, initialise it
+		in your ~/.emacs file as in the following example (which is
+		for the \"Blue Sea\" theme):
+		\n
+		\n(color-theme-initialize)
+		\n(color-theme-blue-sea)"
+	readme.gentoo_create_doc
+}

diff --git a/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el b/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el
new file mode 100644
index 000000000000..b516108fdf9b
--- /dev/null
+++ b/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el
@@ -0,0 +1,119 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'color-theme-select "color-theme" "\
+Displays a special buffer for selecting and installing a color theme.
+With optional prefix ARG, this buffer will include color theme libraries
+as well.  A color theme library is in itself not complete, it must be
+used as part of another color theme to be useful.  Thus, color theme
+libraries are mainly useful for color theme authors.
+
+\(fn &optional ARG)" t)
+
+(autoload 'color-theme-describe "color-theme" "\
+Describe color theme listed at point.
+This shows the documentation of the value of text-property color-theme
+at point.  The text-property color-theme should be a color theme
+function.  See `color-themes'." t)
+
+(autoload 'color-theme-install-at-mouse "color-theme" "\
+Install color theme clicked upon using the mouse.
+First argument EVENT is used to set point.  Then
+`color-theme-install-at-point' is called.
+
+\(fn EVENT)" t)
+
+(autoload 'color-theme-install-at-point-for-current-frame "color-theme" "\
+Install color theme at point for current frame only.
+Binds `color-theme-is-global' to nil and calls
+`color-theme-install-at-point'." t)
+
+(autoload 'color-theme-print "color-theme" "\
+Print the current color theme function.
+
+You can contribute this function to <URL:news:gnu.emacs.sources> or
+paste it into your .emacs file and call it.  That should recreate all
+the settings necessary for your color theme.
+
+Example:
+
+    (require \\='color-theme)
+    (defun my-color-theme ()
+      \"Color theme by Alex Schroeder, created 2000-05-17.\"
+      (interactive)
+      (color-theme-install
+       \\='(...
+	 ...
+	 ...)))
+    (my-color-theme)
+
+If you want to use a specific color theme function, you can call the
+color theme function in your .emacs directly.
+
+Example:
+
+    (require \\='color-theme)
+    (color-theme-gnome2)
+
+\(fn &optional BUF)" t)
+
+(autoload 'color-theme-analyze-defun "color-theme" "\
+Once you have a color-theme printed, check for missing faces.
+This is used by maintainers who receive a color-theme submission
+and want to make sure it follows the guidelines by the color-theme
+author." t)
+
+(autoload 'color-theme-make-snapshot "color-theme" "\
+Return the definition of the current color-theme.
+The function returned will recreate the color-theme in use at the moment.")
+
+(autoload 'color-theme-compare "color-theme" "\
+Compare two color themes.
+This will print the differences between installing THEME-A and
+installing THEME-B.  Note that the order is important: If a face is
+defined in THEME-A and not in THEME-B, then this will not show up as a
+difference, because there is no reset before installing THEME-B.  If a
+face is defined in THEME-B and not in THEME-A, then this will show up as
+a difference.
+
+\(fn THEME-A THEME-B)" t)
+
+(autoload 'color-theme-install "color-theme" "\
+Install a color theme defined by frame parameters, variables and faces.
+
+The theme is installed for all present and future frames; any missing
+faces are created.  See `color-theme-install-faces'.
+
+THEME is a color theme definition.  See below for more information.
+
+If you want to install a color theme from your .emacs, use the output
+generated by `color-theme-print'.  This produces color theme function
+which you can copy to your .emacs.
+
+A color theme definition is a list:
+\([FUNCTION] FRAME-PARAMETERS VARIABLE-SETTINGS FACE-DEFINITIONS)
+
+FUNCTION is the color theme function which called `color-theme-install'.
+This is no longer used.  There was a time when this package supported
+automatic factoring of color themes.  This has been abandoned.
+
+FRAME-PARAMETERS is an alist of frame parameters.  These are installed
+with `color-theme-install-frame-params'.  These are installed last such
+that any changes to the default face can be changed by the frame
+parameters.
+
+VARIABLE-DEFINITIONS is an alist of variable settings.  These are
+installed with `color-theme-install-variables'.
+
+FACE-DEFINITIONS is an alist of face definitions.  These are installed
+with `color-theme-install-faces'.
+
+If `color-theme-is-cumulative' is nil, a color theme will undo face and
+frame-parameter settings of previous color themes.
+
+\(fn THEME)")
+
+(autoload 'color-theme-submit "color-theme" "\
+Submit your color-theme to the maintainer." t)
+
+(autoload 'color-theme-initialize "color-theme" "\
+Initialize the color theme package by loading color-theme-libraries." t)

diff --git a/app-emacs/color-theme/files/color-theme-6.6.0-emacs-29.patch b/app-emacs/color-theme/files/color-theme-6.6.0-emacs-29.patch
new file mode 100644
index 000000000000..7b2e601e39cf
--- /dev/null
+++ b/app-emacs/color-theme/files/color-theme-6.6.0-emacs-29.patch
@@ -0,0 +1,114 @@
+--- color-theme-6.6.0/color-theme.el
++++ color-theme-6.6.0/color-theme.el
+@@ -50,7 +50,7 @@
+   (require 'reporter)
+   (require 'sendmail))
+ 
+-(require 'cl); set-difference is a function...
++(require 'cl-seq); cl-set-difference is a function...
+ 
+ ;; for custom-face-attributes-get or face-custom-attributes-get
+ (require 'cus-face)
+@@ -143,7 +143,7 @@
+   "Regexp that matches variable names.
+ Only variables that match this regexp can be changed as part of a color
+ theme.  In addition to matching this name, the variables have to be user
+-variables (see function `user-variable-p')."
++variables (see function `custom-variable-p')."
+   :type 'regexp
+   :group 'color-theme)
+ 
+@@ -174,7 +174,7 @@
+ frames with different color themes.
+ 
+ setup:
+-    \(require 'color-theme)
++    \(require \\='color-theme)
+     ;; set default color theme
+     \(color-theme-blue-sea)
+     ;; create some frames with different color themes
+@@ -430,7 +430,7 @@
+ If you defined your own color theme and want to add it to this list,
+ use something like this:
+ 
+-  (add-to-list 'color-themes '(color-theme-gnome2 \"Gnome2\" \"Alex\"))")
++  (add-to-list \\='color-themes \\='(color-theme-gnome2 \"Gnome2\" \"Alex\"))")
+ 
+ ;;; Functions
+ 
+@@ -513,7 +513,7 @@
+ If you want to install the color theme permanently, put the call to the
+ color theme function into your ~/.emacs:
+ 
+-    \(require 'color-theme)
++    \(require \\='color-theme)
+     \(color-theme-gnome2)
+ 
+ If you worry about the size of color-theme.el: You are right.  Use
+@@ -607,7 +607,7 @@
+ 
+ If the optional argument EXCLUDE is non-nil, then the sense is
+ reversed: only non-matching elements will be retained."
+-  (let (elem new-list)
++  (let (elem new-list name)
+     (dolist (elem old-list)
+       (setq name (symbol-name (if (listp elem) (car elem) elem)))
+       (when (or (and (not exclude)
+@@ -861,12 +861,12 @@
+   "Return a list of variable settings usable in a color theme.
+ Such an alist may be installed by `color-theme-install-variables'.
+ The variable names must match `color-theme-legal-variables', and the
+-variable must be a user variable according to `user-variable-p'."
++variable must be a user variable according to `custom-variable-p'."
+   (let ((vars)
+ 	(val))
+     (mapatoms (lambda (v)
+ 		(and (boundp v)
+-		     (user-variable-p v)
++		     (custom-variable-p v)
+ 		     (string-match color-theme-legal-variables
+ 				   (symbol-name v))
+ 		     (setq val (eval v))
+@@ -952,12 +952,12 @@
+ 
+ Example:
+ 
+-    \(require 'color-theme)
++    \(require \\='color-theme)
+     \(defun my-color-theme ()
+       \"Color theme by Alex Schroeder, created 2000-05-17.\"
+       \(interactive)
+       \(color-theme-install
+-       '(...
++       \\='(...
+ 	 ...
+ 	 ...)))
+     \(my-color-theme)
+@@ -967,7 +967,7 @@
+ 
+ Example:
+ 
+-    \(require 'color-theme)
++    \(require \\='color-theme)
+     \(color-theme-gnome2)"
+   (interactive)
+   (message "Pretty printing current color theme function...")
+@@ -1495,15 +1495,15 @@
+ 			(color-theme-get-vars)
+ 			(color-theme-get-face-definitions)))
+     (delete-frame))
+-  (let ((params (set-difference
++  (let ((params (cl-set-difference
+ 		 (color-theme-frame-params theme-b)
+ 		 (color-theme-frame-params theme-a)
+ 		 :test 'equal))
+-	(vars (set-difference
++	(vars (cl-set-difference
+ 	       (color-theme-variables theme-b)
+ 	       (color-theme-variables theme-a)
+ 	       :test 'equal))
+-	(faces (set-difference
++	(faces (cl-set-difference
+ 		(color-theme-faces theme-b)
+ 		(color-theme-faces theme-a)
+ 		:test 'equal)))


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: app-emacs/color-theme/files/, app-emacs/color-theme/
@ 2023-10-21 21:24 Ulrich Müller
  0 siblings, 0 replies; 3+ messages in thread
From: Ulrich Müller @ 2023-10-21 21:24 UTC (permalink / raw
  To: gentoo-commits

commit:     9b89a5a27fd522b759615f1e8a9fc3d124ddd9c6
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Oct 21 21:21:52 2023 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sat Oct 21 21:24:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b89a5a2

app-emacs/color-theme: drop 6.6.0-r2

Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 app-emacs/color-theme/color-theme-6.6.0-r2.ebuild  |  36 -------
 app-emacs/color-theme/color-theme-6.6.0-r3.ebuild  |   2 +-
 .../files/50color-theme-gentoo-6.6.0-r3.el         | 119 ---------------------
 .../color-theme/files/50color-theme-gentoo.el      |  60 ++++++-----
 4 files changed, 36 insertions(+), 181 deletions(-)

diff --git a/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild b/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild
deleted file mode 100644
index 470c4fea7c5a..000000000000
--- a/app-emacs/color-theme/color-theme-6.6.0-r2.ebuild
+++ /dev/null
@@ -1,36 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit elisp readme.gentoo-r1
-
-DESCRIPTION="Install color themes (includes many themes)"
-HOMEPAGE="http://www.nongnu.org/color-theme/"
-SRC_URI="http://download.savannah.gnu.org/releases-noredirect/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2+"
-SLOT="0"
-KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux"
-
-PATCHES=(
-	"${FILESDIR}"/${P}-replace-in-string.patch
-	"${FILESDIR}"/${P}-emacs-26.patch
-)
-ELISP_REMOVE="color-theme-autoloads.*"
-SITEFILE="50${PN}-gentoo.el"
-
-src_install() {
-	elisp-install ${PN} *.el *.elc
-	elisp-install ${PN}/themes themes/*.el
-	elisp-site-file-install "${FILESDIR}/${SITEFILE}"
-	dodoc AUTHORS BUGS ChangeLog README
-
-	DOC_CONTENTS="To use color-theme non-interactively, initialise it
-		in your ~/.emacs file as in the following example (which is
-		for the \"Blue Sea\" theme):
-		\n
-		\n(color-theme-initialize)
-		\n(color-theme-blue-sea)"
-	readme.gentoo_create_doc
-}

diff --git a/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild b/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild
index 76a245903a35..ef213817b3bb 100644
--- a/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild
+++ b/app-emacs/color-theme/color-theme-6.6.0-r3.ebuild
@@ -19,7 +19,7 @@ PATCHES=(
 	"${FILESDIR}"/${P}-emacs-29.patch
 )
 ELISP_REMOVE="color-theme-autoloads.*"
-SITEFILE="50${PN}-gentoo-6.6.0-r3.el"
+SITEFILE="50${PN}-gentoo.el"
 
 src_install() {
 	elisp-install ${PN} *.el *.elc

diff --git a/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el b/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el
deleted file mode 100644
index b516108fdf9b..000000000000
--- a/app-emacs/color-theme/files/50color-theme-gentoo-6.6.0-r3.el
+++ /dev/null
@@ -1,119 +0,0 @@
-(add-to-list 'load-path "@SITELISP@")
-
-(autoload 'color-theme-select "color-theme" "\
-Displays a special buffer for selecting and installing a color theme.
-With optional prefix ARG, this buffer will include color theme libraries
-as well.  A color theme library is in itself not complete, it must be
-used as part of another color theme to be useful.  Thus, color theme
-libraries are mainly useful for color theme authors.
-
-\(fn &optional ARG)" t)
-
-(autoload 'color-theme-describe "color-theme" "\
-Describe color theme listed at point.
-This shows the documentation of the value of text-property color-theme
-at point.  The text-property color-theme should be a color theme
-function.  See `color-themes'." t)
-
-(autoload 'color-theme-install-at-mouse "color-theme" "\
-Install color theme clicked upon using the mouse.
-First argument EVENT is used to set point.  Then
-`color-theme-install-at-point' is called.
-
-\(fn EVENT)" t)
-
-(autoload 'color-theme-install-at-point-for-current-frame "color-theme" "\
-Install color theme at point for current frame only.
-Binds `color-theme-is-global' to nil and calls
-`color-theme-install-at-point'." t)
-
-(autoload 'color-theme-print "color-theme" "\
-Print the current color theme function.
-
-You can contribute this function to <URL:news:gnu.emacs.sources> or
-paste it into your .emacs file and call it.  That should recreate all
-the settings necessary for your color theme.
-
-Example:
-
-    (require \\='color-theme)
-    (defun my-color-theme ()
-      \"Color theme by Alex Schroeder, created 2000-05-17.\"
-      (interactive)
-      (color-theme-install
-       \\='(...
-	 ...
-	 ...)))
-    (my-color-theme)
-
-If you want to use a specific color theme function, you can call the
-color theme function in your .emacs directly.
-
-Example:
-
-    (require \\='color-theme)
-    (color-theme-gnome2)
-
-\(fn &optional BUF)" t)
-
-(autoload 'color-theme-analyze-defun "color-theme" "\
-Once you have a color-theme printed, check for missing faces.
-This is used by maintainers who receive a color-theme submission
-and want to make sure it follows the guidelines by the color-theme
-author." t)
-
-(autoload 'color-theme-make-snapshot "color-theme" "\
-Return the definition of the current color-theme.
-The function returned will recreate the color-theme in use at the moment.")
-
-(autoload 'color-theme-compare "color-theme" "\
-Compare two color themes.
-This will print the differences between installing THEME-A and
-installing THEME-B.  Note that the order is important: If a face is
-defined in THEME-A and not in THEME-B, then this will not show up as a
-difference, because there is no reset before installing THEME-B.  If a
-face is defined in THEME-B and not in THEME-A, then this will show up as
-a difference.
-
-\(fn THEME-A THEME-B)" t)
-
-(autoload 'color-theme-install "color-theme" "\
-Install a color theme defined by frame parameters, variables and faces.
-
-The theme is installed for all present and future frames; any missing
-faces are created.  See `color-theme-install-faces'.
-
-THEME is a color theme definition.  See below for more information.
-
-If you want to install a color theme from your .emacs, use the output
-generated by `color-theme-print'.  This produces color theme function
-which you can copy to your .emacs.
-
-A color theme definition is a list:
-\([FUNCTION] FRAME-PARAMETERS VARIABLE-SETTINGS FACE-DEFINITIONS)
-
-FUNCTION is the color theme function which called `color-theme-install'.
-This is no longer used.  There was a time when this package supported
-automatic factoring of color themes.  This has been abandoned.
-
-FRAME-PARAMETERS is an alist of frame parameters.  These are installed
-with `color-theme-install-frame-params'.  These are installed last such
-that any changes to the default face can be changed by the frame
-parameters.
-
-VARIABLE-DEFINITIONS is an alist of variable settings.  These are
-installed with `color-theme-install-variables'.
-
-FACE-DEFINITIONS is an alist of face definitions.  These are installed
-with `color-theme-install-faces'.
-
-If `color-theme-is-cumulative' is nil, a color theme will undo face and
-frame-parameter settings of previous color themes.
-
-\(fn THEME)")
-
-(autoload 'color-theme-submit "color-theme" "\
-Submit your color-theme to the maintainer." t)
-
-(autoload 'color-theme-initialize "color-theme" "\
-Initialize the color theme package by loading color-theme-libraries." t)

diff --git a/app-emacs/color-theme/files/50color-theme-gentoo.el b/app-emacs/color-theme/files/50color-theme-gentoo.el
index 9d43c350fffd..b516108fdf9b 100644
--- a/app-emacs/color-theme/files/50color-theme-gentoo.el
+++ b/app-emacs/color-theme/files/50color-theme-gentoo.el
@@ -1,29 +1,33 @@
 (add-to-list 'load-path "@SITELISP@")
 
-(autoload (quote color-theme-select) "color-theme" "\
+(autoload 'color-theme-select "color-theme" "\
 Displays a special buffer for selecting and installing a color theme.
 With optional prefix ARG, this buffer will include color theme libraries
 as well.  A color theme library is in itself not complete, it must be
 used as part of another color theme to be useful.  Thus, color theme
-libraries are mainly useful for color theme authors." t nil)
+libraries are mainly useful for color theme authors.
 
-(autoload (quote color-theme-describe) "color-theme" "\
+\(fn &optional ARG)" t)
+
+(autoload 'color-theme-describe "color-theme" "\
 Describe color theme listed at point.
 This shows the documentation of the value of text-property color-theme
 at point.  The text-property color-theme should be a color theme
-function.  See `color-themes'." t nil)
+function.  See `color-themes'." t)
 
-(autoload (quote color-theme-install-at-mouse) "color-theme" "\
+(autoload 'color-theme-install-at-mouse "color-theme" "\
 Install color theme clicked upon using the mouse.
 First argument EVENT is used to set point.  Then
-`color-theme-install-at-point' is called." t nil)
+`color-theme-install-at-point' is called.
+
+\(fn EVENT)" t)
 
-(autoload (quote color-theme-install-at-point-for-current-frame) "color-theme" "\
+(autoload 'color-theme-install-at-point-for-current-frame "color-theme" "\
 Install color theme at point for current frame only.
 Binds `color-theme-is-global' to nil and calls
-`color-theme-install-at-point'." t nil)
+`color-theme-install-at-point'." t)
 
-(autoload (quote color-theme-print) "color-theme" "\
+(autoload 'color-theme-print "color-theme" "\
 Print the current color theme function.
 
 You can contribute this function to <URL:news:gnu.emacs.sources> or
@@ -32,12 +36,12 @@ the settings necessary for your color theme.
 
 Example:
 
-    (require 'color-theme)
+    (require \\='color-theme)
     (defun my-color-theme ()
       \"Color theme by Alex Schroeder, created 2000-05-17.\"
       (interactive)
       (color-theme-install
-       '(...
+       \\='(...
 	 ...
 	 ...)))
     (my-color-theme)
@@ -47,29 +51,33 @@ color theme function in your .emacs directly.
 
 Example:
 
-    (require 'color-theme)
-    (color-theme-gnome2)" t nil)
+    (require \\='color-theme)
+    (color-theme-gnome2)
+
+\(fn &optional BUF)" t)
 
-(autoload (quote color-theme-analyze-defun) "color-theme" "\
+(autoload 'color-theme-analyze-defun "color-theme" "\
 Once you have a color-theme printed, check for missing faces.
 This is used by maintainers who receive a color-theme submission
 and want to make sure it follows the guidelines by the color-theme
-author." t nil)
+author." t)
 
-(autoload (quote color-theme-make-snapshot) "color-theme" "\
+(autoload 'color-theme-make-snapshot "color-theme" "\
 Return the definition of the current color-theme.
-The function returned will recreate the color-theme in use at the moment." nil nil)
+The function returned will recreate the color-theme in use at the moment.")
 
-(autoload (quote color-theme-compare) "color-theme" "\
+(autoload 'color-theme-compare "color-theme" "\
 Compare two color themes.
 This will print the differences between installing THEME-A and
 installing THEME-B.  Note that the order is important: If a face is
 defined in THEME-A and not in THEME-B, then this will not show up as a
 difference, because there is no reset before installing THEME-B.  If a
 face is defined in THEME-B and not in THEME-A, then this will show up as
-a difference." t nil)
+a difference.
 
-(autoload (quote color-theme-install) "color-theme" "\
+\(fn THEME-A THEME-B)" t)
+
+(autoload 'color-theme-install "color-theme" "\
 Install a color theme defined by frame parameters, variables and faces.
 
 The theme is installed for all present and future frames; any missing
@@ -100,10 +108,12 @@ FACE-DEFINITIONS is an alist of face definitions.  These are installed
 with `color-theme-install-faces'.
 
 If `color-theme-is-cumulative' is nil, a color theme will undo face and
-frame-parameter settings of previous color themes." nil nil)
+frame-parameter settings of previous color themes.
+
+\(fn THEME)")
 
-(autoload (quote color-theme-submit) "color-theme" "\
-Submit your color-theme to the maintainer." t nil)
+(autoload 'color-theme-submit "color-theme" "\
+Submit your color-theme to the maintainer." t)
 
-(autoload (quote color-theme-initialize) "color-theme" "\
-Initialize the color theme package by loading color-theme-libraries." t nil)
+(autoload 'color-theme-initialize "color-theme" "\
+Initialize the color theme package by loading color-theme-libraries." t)


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-10-21 21:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-15  8:38 [gentoo-commits] repo/gentoo:master commit in: app-emacs/color-theme/files/, app-emacs/color-theme/ Ulrich Müller
  -- strict thread matches above, loose matches on Subject: below --
2023-10-07 10:49 Ulrich Müller
2023-10-21 21:24 Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox