Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vic/color-theme-buffer-local

Set emacs color themes by buffer.
https://github.com/vic/color-theme-buffer-local

color-theme emacs

Last synced: 3 months ago
JSON representation

Set emacs color themes by buffer.

Awesome Lists containing this project

README

        

[![help maintain this lib](https://img.shields.io/badge/looking%20for%20maintainer-DM%20%40vborja-663399.svg)](https://twitter.com/vborja)

## About

This emacs lisp package lets you set a color-theme on a per-buffer basis.

## Requirements

This package uses [Emacs Face Remapping](http://www.gnu.org/software/emacs/manual/html_node/elisp/Face-Remapping.html) to installing faces locally on the buffer by means of `buffer-face-set` and `face-remap-set-base` functions.

## Installation

For color-theme.el themes
```
M-x package-install color-theme-buffer-local
```

For emacs24 themes
```
M-x package-install load-theme-buffer-local
```

If the above doesn't work, you may need to [configure your Emacs to
use the Marmalade repository](http://marmalade-repo.org/) and try
again.

Daily snapshots from the github repo are installable from the [MELPA repository](http://melpa.milkbox.net/)

## Using themes made for color-theme.el

Interactively
```
M-x color-theme-buffer-local
```

Programmatically
```
(color-theme-buffer-local 'color-theme-robin-hood (current-buffer))
```

## Using themes made for emacs24 themes.

Interactively
```
M-x load-theme-buffer-local
```

Programmatically
```
(load-theme-buffer-local 'misterioso (current-buffer))
```

## Issues

http://github.com/vic/color-theme-buffer-local/issues