[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/tangotango-theme 7a76b3e804 35/62: Update README for scree
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/tangotango-theme 7a76b3e804 35/62: Update README for screenshots and Emacs 24 installation instructions |
Date: |
Thu, 6 Jan 2022 05:59:10 -0500 (EST) |
branch: elpa/tangotango-theme
commit 7a76b3e804afe469837226a477cb8fab07d70844
Author: Julien Barnier <julien@nozav.org>
Commit: Julien Barnier <julien@nozav.org>
Update README for screenshots and Emacs 24 installation instructions
---
README.org | 96 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
1 file changed, 93 insertions(+), 3 deletions(-)
diff --git a/README.org b/README.org
index 5728fc8064..f8b629ab82 100644
--- a/README.org
+++ b/README.org
@@ -1,7 +1,97 @@
This is an emacs color theme based on the tango palette colors.
-For screenshots and installation instructions, please look at :
+* Screenshots
+
+Here is a screenshot of the color theme with an emacs-lisp file :
+
+[[[[https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_elisp.png]]]]
+
+One with a Gnus summary and article buffers :
+
+[[[[https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_gnus.png]]]]
+
+And one with an org-mode buffer :
+
+[[[[https://github.com/juba/color-theme-tangotango/raw/master/screenshots/tangotango_org.png]]]]
+
+
+* Installation instructions
+
+** Emacs 24
+
+Emacs 24 features native color theming, and as such you don't need any third
+party package or extension.
+
+1. Download =tangotango-theme.el= from
[[https://github.com/juba/color-theme-tangotango/raw/master/tangotango-theme.el][github]]
and save it to your =~/.emacs.d= directory
+2. Try it with =M-x load-theme=
+3. If you like it, just add the following line to your =.emacs= :
+
+#+begin_src emacs-lisp
+(load-theme 'tangotango t)
+#+end_src
+
+If you prefer to place your theme files in another directory, you can just add
+something like the following in your =.emacs= before loading the theme :
+
+#+begin_src emacs-lisp
+(add-to-list 'custom-theme-load-path "~/.emacs.d/color-theme-tangotango")
+#+end_src
+
+** Emacs 23
+
+With Emacs 23 you need to use the =color-theme= package :
+
+1. Download and install the =color-theme= emacs package either via your linux
distribution or [[http://www.nongnu.org/color-theme/#sec5][via the source
tarball]]
+2. Download and install =color-theme-tangotango.el= from
[[http://github.com/juba/color-theme-tangotango/raw/master/color-theme-tangotango.el][github]]
+3. Make sure that both =color-theme.el= and =color-theme-tangotango.el= are in
your load path
+
+There are several ways to load the tangotango color theme from your =.emacs=,
as
+documented on [[http://www.emacswiki.org/emacs/ColorTheme][emacswiki]]. The
way I currently use should work for a daemonized
+emacs and allows the selection of different themes for GUI or console based
+frames :
+
+#+begin_src emacs-lisp
+(require 'color-theme)
+(setq color-theme-load-all-themes nil)
+
+(require 'color-theme-tangotango)
+
+;; select theme - first list element is for windowing system, second is for
console/terminal
+;; Source : http://www.emacswiki.org/emacs/ColorTheme#toc9
+(setq color-theme-choices
+ '(color-theme-tangotango color-theme-tangotango))
+
+;; default-start
+(funcall (lambda (cols)
+ (let ((color-theme-is-global nil))
+ (eval
+ (append '(if (window-system))
+ (mapcar (lambda (x) (cons x nil))
+ cols)))))
+ color-theme-choices)
+
+;; test for each additional frame or console
+(require 'cl)
+(fset 'test-win-sys
+ (funcall (lambda (cols)
+ (lexical-let ((cols cols))
+ (lambda (frame)
+ (let ((color-theme-is-global nil))
+ ;; must be current for local ctheme
+ (select-frame frame)
+ ;; test winsystem
+ (eval
+ (append '(if (window-system frame))
+ (mapcar (lambda (x) (cons x nil))
+ cols)))))))
+ color-theme-choices ))
+;; hook on after-make-frame-functions
+(add-hook 'after-make-frame-functions 'test-win-sys)
+
+(color-theme-tangotango)
+#+end_src
+
+Note that I also had to add a (color-theme-tangotango) line at the end of my
+=.gnus= file in order to apply the color theme to Gnus.
-<http://blog.nozav.org/post/2010/07/12/Updated-tangotango-emacs-color-theme>
-[![flattr](http://api.flattr.com/button/flattr-badge-large.png)](http://flattr.com/thing/51774/Tangotango-emacs-color-theme)
- [nongnu] elpa/tangotango-theme 8651ae3358 07/62: README to markdown, (continued)
- [nongnu] elpa/tangotango-theme 8651ae3358 07/62: README to markdown, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 11c3c7b628 12/62: Merge branch 'master' of github.com:juba/color-theme-tangotango, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme bedd18ce15 04/62: Updated project homepage, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 704467b008 08/62: README to markdown, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 24950ebbd6 11/62: Merge branch 'master' of github.com:juba/color-theme-tangotango, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 9e81c0d6ae 14/62: add rules for diff-mode and ediff, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 3a37c53fdb 15/62: Updates for use with marmalade-repo.org, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 9dc93519c4 16/62: Fixes file name in header., ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 0c17f7a8df 28/62: faces for rpm-spec mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme dd3ad07da6 26/62: Add dark foreground color to cursor face, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 7a76b3e804 35/62: Update README for screenshots and Emacs 24 installation instructions,
ELPA Syncer <=
- [nongnu] elpa/tangotango-theme 11a383ef93 33/62: Add tangotango-theme.el for native emacs 24 color theming, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme fbe34d91fb 23/62: We must only provide the color theme, not activate it by default, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme d392331d17 37/62: Merge README.org, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 4ccedeb167 44/62: Add colors for which-func-mode, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 8db5f5732e 48/62: Add Flattr button, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 8116965aac 60/62: Upgrade license to GPLv3, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 9509035842 62/62: Merge pull request #16 from skangas/bump-version, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme fad0fa589a 42/62: Add org-scheduled-previously face (fix #5), ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 2293311166 58/62: Merge pull request #15 from fapdash/add-term-colors, ELPA Syncer, 2022/01/06
- [nongnu] elpa/tangotango-theme 3c1586c98a 50/62: Merge pull request #9 from baskerville/master, ELPA Syncer, 2022/01/06