1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00
emacs/lisp/textmodes
Simen Heggestøyl bd9e8b31a1 Add command for cycling between CSS color formats
* lisp/textmodes/css-mode.el (css-mode-map): Add keybinding for
'css-cycle-color-format'.
(css--rgb-color): Add support for extracting alpha component.
(css--hex-alpha, css--color-to-4-dpc, css--named-color-to-hex)
(css--format-rgba-alpha, css--hex-to-rgb)
(css--rgb-to-named-color-or-hex): New functions.
(css-cycle-color-format): New command for cycling between color
formats.

* test/lisp/textmodes/css-mode-tests.el (css-test-color-to-4-dpc):
(css-test-named-color-to-hex, css-test-format-rgba-alpha)
(css-test-hex-to-rgb, css-test-rgb-to-named-color-or-hex)
(css-test-cycle-color-format, css-test-hex-alpha): New tests for the
changes mentioned above.

* etc/NEWS: Mention the new command.
2017-12-17 10:26:04 +01:00
..
artist.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bib-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bibtex-style.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
bibtex.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
conf-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
css-mode.el Add command for cycling between CSS color formats 2017-12-17 10:26:04 +01:00
dns-mode.el Support Certification Authority Authorization in dns-mode.el 2017-10-27 16:59:42 +03:00
enriched.el Disable execution of unsafe Lisp by Enriched Text mode 2017-09-16 12:45:24 +03:00
fill.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
flyspell.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ispell.el Fix errors in flyspell-post-command-hook 2017-09-19 19:32:09 +03:00
less-css-mode.el Fixes for defcustoms, prompted by cus-test-opts 2017-12-13 15:29:24 -05:00
makeinfo.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
mhtml-mode.el * lisp/subr.el (run-mode-hooks): Set parse-sexp-lookup-properties 2017-12-12 09:11:17 -05:00
nroff-mode.el maint: shorten https://lists.gnu.org/archive/html/... links 2017-11-25 22:48:12 -08:00
page-ext.el * lisp/textmodes/page-ext.el: Misc cleanup, add RET binding 2017-09-27 13:00:44 -04:00
page.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
paragraphs.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
picture.el ; Typo fixes, mostly repeated words 2017-10-09 22:55:06 -07:00
po.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
refbib.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
refer.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
refill.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-auc.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-cite.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-dcr.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-global.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-index.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-parse.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-ref.el Merge from origin/emacs-26 2017-11-08 19:22:26 -08:00
reftex-sel.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex-toc.el ; Fix some comment typos 2017-11-03 15:18:32 -04:00
reftex-vars.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
reftex.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
remember.el Merge from origin/emacs-26 2017-11-02 21:01:04 -07:00
rst.el Merge from origin/emacs-26 2017-10-20 22:44:13 -07:00
sgml-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
table.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tex-mode.el * lisp/textmodes/tex-mode.el: Ensure uncompiled file is loadable. 2017-12-14 22:01:32 -08:00
texinfmt.el Fix doc typos 2017-10-28 17:10:25 -07:00
texinfo.el * lisp/subr.el (run-mode-hooks): Set parse-sexp-lookup-properties 2017-12-12 09:11:17 -05:00
texnfo-upd.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
text-mode.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
tildify.el Escape column-zero doc parens 2017-12-12 23:18:35 -08:00
two-column.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
underline.el Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00