branch: externals/colorful-mode commit 9d1e386f7ed3493b0196cf699bdd17d5610d43b3 Author: Elias G. B. Perez <eg642...@gmail.com> Commit: Elias G. B. Perez <eg642...@gmail.com>
Release 1.0 --- .elpaignore | 6 ++++++ CONTRIBUITING.org | 19 +++++++------------ README.org | 22 +++++++++++----------- colorful-mode.el | 7 +++---- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/.elpaignore b/.elpaignore new file mode 100644 index 0000000000..f18b473bce --- /dev/null +++ b/.elpaignore @@ -0,0 +1,6 @@ +assets +test +.project +CONTRIBUITING.org +README.org +COPYTING \ No newline at end of file diff --git a/CONTRIBUITING.org b/CONTRIBUITING.org index 238ba9f4de..6d2276160a 100644 --- a/CONTRIBUITING.org +++ b/CONTRIBUITING.org @@ -1,18 +1,13 @@ #+title: How to contribute -If you would like contribute with a PR *you will need assign copyright to FSF*, -this will ensure FSF can still maintaining, save the package if this -repo gets deleted and protect the work from GNU GPL violations. -Also if your contribution is less than 15 lines [see: [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Copyright-Assignment.html][Copyright Assignment]]] +If your contribution is less than 15 lines [see: [[https://www.gnu.org/software/emacs/manual/html_node/emacs/Copyright-Assignment.html][Copyright Assignment]]] you can open a PR and your contribution will be reviewed and maybe merged -quickly. However for people that are willing to doing paperwork you must -wait until this package is ready for submit to ELPA, this is for ensure that -you are ready for doing paperwork. - -If you want to do paperwork please email the following information to -\<ass...@gnu.org\>, and they will send you the assignment form for -your past and future changes, after doing this now you can send -all the contributions that you want without assign copyright again. +quickly. + +If you want send a patch *you will need assign copyright to FSF*, +for this then please email the following information to +<ass...@gnu.org>, and they will send you the assignment form for +your *past and future changes*. Please use *your full legal name (in ASCII characters) as the Subject* line of the message. diff --git a/README.org b/README.org index 46ae82a988..bcf6303b68 100644 --- a/README.org +++ b/README.org @@ -11,7 +11,6 @@ Preview any color in your buffer in real time. #+END_QUOTE -Available in: #+html: <a href="https://jcs-emacs.github.io/jcs-elpa/"><img alt="JCS ELPA" src="https://raw.githubusercontent.com/jcs-emacs/badges/master/elpa/v/colorful-mode.svg"> #+html: <img src="https://raw.githubusercontent.com/DevelopmentCool2449/emacs-svg-badges/main/elisp_logo_warning.svg" align="right" width="10%"> @@ -93,8 +92,8 @@ in real time and in a user friendly way based on 🌈[[https://elpa.gnu.org/pack ** Faces - =colorful-base= Face used as base for highlight color names. -Only used for draw box and change font &c., changing box color and/or -background/foreground color face won't be applied. + Only used for draw box and change font &c., changing box color and/or + background/foreground color face won't be applied. ** Interactive User Functions. - =colorful-change-or-copy-color= Change or copy color to a converted @@ -131,11 +130,15 @@ For use them add it to: See: =colorful-extra-color-keyword-functions= for more details. * Usage and Installation 📦 -It's recommended that you must use emacs-29.X or higher. +It's recommended that you must use emacs-28.x or higher. For install colorful run: - =M-x package-install colorful-mode= +Once you have it installed you can run colorful locally in your buffer +with =M-x colorful-mode=, if want enable it globally without using +hooks then you can do =M-x global-colorful-mode= + Or if you prefer using =use-package= macro: #+begin_src emacs-lisp (use-package colorful-mode @@ -167,7 +170,7 @@ and fixing some /(and old)/ bugs: instead text properties it can be a slow. The intention is to provide a featured alternative to -=rainbow-mode.el= with a user-friendy approach +=rainbow-mode.el= with a user-friendly approach. If you prefer only highlights without color convertion, prefix/suffix string indicator and/or anything else you can use =rainbow-mode.el=. @@ -175,12 +178,9 @@ string indicator and/or anything else you can use =rainbow-mode.el=. On the other hand, if you want convert colors, overlays, optional prefix strings and more features you can use =colorful-mode.el=. * [[./CONTRIBUITING.org][How to Contribute]] -* Plans for future -I will try to make this package as stable as possible before -submit it to ELPA, later that *I won't be able to be the mantainer* of -this package, However I would like if someone would be able to be the -mantainer (if you are interested please email me -<eg642...@gmail.com>). +colorful-mode is part of GNU ELPA, if you want send patches you will +need assign copyright to the Free Software Fundation. +Please see the [[./CONTRIBUITING.org][CONTRIBUITING.org]] file for getting more information. #+html: <img src="https://raw.githubusercontent.com/DevelopmentCool2449/emacs-svg-badges/main/powered_by_emacs.svg" align="left" width="10%" alt="Powered by GNU Emacs"> #+html: <img src="https://raw.githubusercontent.com/DevelopmentCool2449/emacs-svg-badges/main/powered_by_org_mode.svg" align="right" width="10%" alt="Powered by Org Mode"> diff --git a/colorful-mode.el b/colorful-mode.el index c25d21eb63..d28db8da58 100644 --- a/colorful-mode.el +++ b/colorful-mode.el @@ -3,12 +3,11 @@ ;; Copyright (C) 2024 Free Software Foundation, Inc ;; Author: Elias G. Perez <eg642...@gmail.com> -;; Maintainer: Elias G. Perez ;; Created: 2024-04-10 ;; Package-Requires: ((emacs "28.1") (compat "29.1.4.4")) ;; Homepage: https://github.com/DevelopmentCool2449/colorful-mode ;; Keywords: faces, tools, matching -;; Version: 0.9.0 +;; Version: 1.0.0 ;; This file is part of GNU Emacs. @@ -27,7 +26,7 @@ ;;; Commentary: ;; Minor mode for coloring color names, hex values or rgb/hsl values -;; (CSS), and more found in your current buffer in real time in a +;; (CSS), and more in your current buffer in real time in a ;; friendly and effective way based on rainbow-mode. ;;; Code: @@ -775,7 +774,7 @@ This is intended to be used with `colorful-extra-color-keyword-functions'." ;;;###autoload (define-globalized-minor-mode global-colorful-mode colorful-mode colorful--turn-on - :predicate '(mhtml-mode html-ts-mode scss-mode css-mode css-ts-mode prog-mode)) + :predicate '(mhtml-mode html-ts-mode latex-mode prog-mode)) (provide 'colorful-mode)