Skip to content

Commit

Permalink
Adding my starter emacs config file
Browse files Browse the repository at this point in the history
  • Loading branch information
jamessmoore committed Oct 20, 2012
1 parent 0c3e777 commit a7dbd95
Show file tree
Hide file tree
Showing 17 changed files with 16,249 additions and 0 deletions.
31 changes: 31 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/AUTHORS
@@ -0,0 +1,31 @@

*****************************************
AUTHORS
*****************************************

NOTE: NEVER send bug reports, help and feature requests directly to the
authors !

Original code and ideas by Jonadab the Unsightly One

Current Maintainers:
* Xavier Maillard (release manager) <zedek@gnu.org>
* Brian Palmer <bpalmer@gmail.com>

Previous maintainers:
* (1999 2000) Jonadab the Unsightly One <jonadab@bright.net>
* (2000, 2001, 2002, 2003) Alex Schroeder <alex@gnu.org>

Contributors

* Deepak Goel <deego@glue.umd.edu>
* S. Pokrovsky <pok@nbsp.nsk.su> for ideas and discussion
* Gordon Messmer <gordon@dragonsdawn.net> for ideas and discussion.
* Sriram Karra <karra@cs.utah.edu> for the color-theme-submit stuff.
* Olgierd `Kingsajz' Ziolko <kingsajz@rpg.pl> for the spec-filter idea.
* Brian Palmer for color-theme-library ideas and code

Note: all the users that contributed their color themes. See CREDITS.themes
for a complete listing of them.

Thank you all of you !
71 changes: 71 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/BUGS
@@ -0,0 +1,71 @@
This is the list of common problems.

Emacs 20.7: Some faces are created using copy-face; these faces are
not printed correctly using M-x color-theme-print. They will have
(nil) in their spec. M-x customize-face has the same problem.

Example:

(copy-face 'bold 'new-bold)
(color-theme-spec 'bold)
=> (bold ((t (:bold t))))
(color-theme-spec 'new-bold)
=> (new-bold ((t (nil))))

XEmacs 21.1: Some faces are defined using a certain font instead of
of the correct attribute. They will have (nil) in their spec.
M-x customize-face has the same problem.

Example:

(color-theme-spec 'bold)
=> (bold ((t (nil))))

XEmacs 21.2 and up, Emacs 21: Not compatible with the custom-theme
mode. It should be easy to transform the color-theme source into
custom-theme source, however.

If you are running XEmacs, then only foreground and background color
of the default face and only the background color of the text-cursor
face will used. This is due to the fact that these three pieces of
information are stored as frame parameters in Emacs.

If you are running XEmacs, variables cannot have a frame-local
binding. Therefore, if color-theme-is-global is set to nil, the
variable settings in a color theme are ignored.

Using Emacs and a non-nil value for color-theme-is-global will
install a new color theme for all frames. Using XEmacs and a non-nil
value for color-theme-is-global will install a new color theme only
on those frames that are not using a local color theme.

If your system does not define the color names used, you will get the
error "undefined color". See the output of `list-colors-display' for
a list of colors defined on your display.

The :box, :height, and other new attributes will be honored in Emacs
21, but when you print such a color-theme on Emacs 20 or XEmacs 21,
the information will get lost. So don't do that. Furthermore,
customizing these faces may end up showing you a lisp expression
instead of the real widgets on Emacs 20 or XEmacs 21 because these
attributes are not understood.

:inverse-video handling differs in Emacs and XEmacs. We therefore do
away with it. When printing a color-theme, the inverse-video
attribute should be handled correctly without ever appearing in color
themes. For maintenance, the following might be usefull for
query-replace-regexp.
:background "\([^"]*\)"\(.*\):foreground "\([^"]*\)"\(.*\) :inverse-video t
:background "\3"\2:foreground "\1"\4

In XEmacs 21.1, some of the face tests don't work. Example:
(custom-face-bold 'bold) returns nil on my system. A bug report was
submitted.

Emacs 20 users will loose with new color themes, because these will
set the colors of the default face only, leaving frame background
untouched. In Emacs 20, the colors of the default face and of the
frame could be changed independently. In Emacs 21, this is no longer
true. New color themes will not be made backwards compatible.

This release was superficially tested with Emacs 21.x/22.x and XEmacs 21.4.
342 changes: 342 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/COPYING

Large diffs are not rendered by default.

121 changes: 121 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/ChangeLog
@@ -0,0 +1,121 @@
2006-05-28 Xavier Maillard <zedek@gnu.org>

* Version 6.6.0 is released

* Tagged source with RELEASE_6-6-0 for "Back in the business" release

* HAGKING, BUGS, README: New files.

* color-theme.el (color-theme-libraries): Changed docstring.
(define-color-theme): Reworked macro to properly define themes.
(color-theme-initialize): Actually does what expected.
(color-theme-theme): Removed this useless variable.

Removed commentary section (splitted into specific files)

* Makefile.defs (DEBNAME): Changed default value to reveal all
needed informations
(LASTUPLOAD): New version.
(CVSMODULE, CVSBRANCH, CVSROOT): New variables used to
prepare a release.

* Makefile (dist, dist-prepare, debian,
tarball, realease, upload, $TARBALL, $DEBNAME): New targets.
(distclean): Delete old build traces (files, package, etc...)

* debian/control: Changed Maintainer informations.

* debian/emacsen-startup: Safely load autoloads file or die if tests fail.

* debian/rules: Fixed bad package construction.

* debian/emacsen-install: Handle theme files installation correctfully.

2006-05-27 Xavier Maillard <zedek@gnu.org>

* debian: New directory. Contains all stuff to build a neat and
cool color-theme-el Debian package.

* AUTHORS: New file.

* color-theme-autoloads.in: Ditto..

* Makefile.defs: Ditto.

* Makefile: Ditto.

* color-theme.el (replace-in-string): New function. Used in define-color-theme
(color-theme-directory): New variable.
(color-theme-libraries): Changed default value to color-theme
official theme directory
(color-theme-load-all-themes): New variable.
(color-theme-initialize): Load theme files defined either in
color-theme-libraries or color-theme-directory.

2006-05-22 Xavier Maillard <zedek@gnu.org>

* color-theme-library.el: make bytecompiler happy.

* color-theme.el (color-theme-initialize, color-theme-select)
(color-theme-describe, color-theme-install-at-mouse)
(color-theme-install-at-point)
(color-theme-install-at-point-for-current-frame)
(color-theme-print, color-theme-analyze-defun)
(color-theme-make-snapshot, color-theme-compare)
(color-theme-submit, color-theme-initialize): Added autoload cookies

* COPYING: New file

2006-05-21 Xavier Maillard <zedek@gnu.org>

* color-theme.el: Make byte compiler happy.
Added autoload cookie on color-theme-install (useless ??)
Added eval-when-compile in color-theme-print

2006-05-14 Xavier Maillard <zedek@gnu.org>

* color-theme.el: Cosmetic changes

* color-theme-library.el: Ditto (added header, legal notice)

2006-05-11 Xavier Maillard <zedek@gnu.org>

* color-theme.el (color-theme-xemacs-p): Check for xemacs feature.
(color-theme-face-attr-construct): New function. Use it when
face-custom-attributes-get is bound. Fixes a bug on M-x
color-theme-select.

2006-05-07 Xavier Maillard <zedek@gnu.org>

* color-theme.el (color-theme-entry-path): New variable used for easymenu definition.
We now check which (x)emacs version is used to correctly define our menu.
(Fixes a long standing bug)

2006-03-31 Brian Palmer <bpalmer@gmail.com>

* color-theme-library.el (color-theme-renegade): Added new theme
by Dave Benjamin. Thanks Dave.

* color-theme.el (color-theme-select): Call
color-theme-initialized if it has not been called before.
(color-theme-initialized): Variable tracking initialization state, used in color-theme-select
(color-themes): Added renegade theme by Dave Benjamin. Thanks Dave.


2006-01-13 Xavier Maillard <zedek@gnu.org>

* color-theme.el: Changed copyright header (just to test Gna services)

2006-01-10 Brian Palmer <bpalmer@gmail.com>

* color-theme-library.el: Added color-theme-library.el, containing
the defined themes.
* color-theme.el (color-theme-libraries): Customizable variable.
* color-theme.el (color-theme-initialize): Load each file
specified in color-theme-libraries.

2006-01-10 Brian Palmer <bpalmer@gmail.com>

* Added color-theme.el 6.5.5 to the repository.
* Added ChangeLog to the repository.

26 changes: 26 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/HACKING
@@ -0,0 +1,26 @@
This file is intented to help any color-theme hacker and particulary
color-theme release team.


To release a new version, please follow these instructions:

1a. Change Makefile.defs (VERSION and LASTUPLOAD)

1b. Verify color-theme.el header file

2. Prepare debian/ directory
=> control and changelog
=> check other files

3. Tag the whole source files with:

cvs tag -c RELEASE-X-X-X

4. Launch the automatic tarball/debian creation:

make release

5. Pray :)



141 changes: 141 additions & 0 deletions emacs/.emacs.d/color-theme-6.6.0/Makefile
@@ -0,0 +1,141 @@
# -*- Makefile -*-

# Borrowed from many emacs places

include Makefile.defs

SPECIAL =
UNCOMPILED =
AUTOLOADFILE = color-theme-autoloads
TESTING =
THEMES_DIRECTORY = themes
THEMES_FILES := $(wildcard $(THEMES_DIRECTORY)/*.el)
ALLSOURCE := $(wildcard *.el) $(THEMES_FILES)
SOURCE = $(filter-out $(SPECIAL) $(UNCOMPILED) $(TESTING),$(ALLSOURCE))
TARGET = $(patsubst %.el,%.elc,$(SPECIAL) $(SOURCE))
MANUAL = color-theme
MISC = AUTHORS COPYING ChangeLog Makefile.defs Makefile $(AUTOLOADFILE).in
#AUTHORS CREDITS HISTORY NEWS README Makefile ChangeLog \
#ChangeLog.2005 ChangeLog.2004 ChangeLog.2003 ChangeLog.2002 \
#ChangeLog.2001 servers.pl color-theme-auto.in color-theme.texi

all: lisp #$(MANUAL).info

lisp: clean $(TARGET)

autoloads: $(AUTOLOADFILE).elc

$(AUTOLOADFILE).el: $(AUTOLOADFILE).in #$(TARGET)
cp $(AUTOLOADFILE).in $(AUTOLOADFILE).el
rm -f $(AUTOLOADFILE).elc
@$(EMACS) -q $(SITEFLAG) -batch \
-l $(shell pwd | sed -e 's|^/cygdrive/\([a-z]\)|\1:|')/$(AUTOLOADFILE) \
-f color-theme-generate-autoloads \
$(shell pwd | sed -e 's|^/cygdrive/\([a-z]\)|\1:|')/$(AUTOLOADFILE).el . \
$(THEMES_DIRECTORY)

$(AUTOLOADFILE).elc: $(AUTOLOADFILE).el
@echo "Byte compiling the autoload file "$<
@$(EMACS) -batch -q -f batch-byte-compile $^
@echo "*******************************************************************"
@echo "Autoloads up to date. Put the following lines in your configuration"
@echo "file (~/.emacs for a single user) :"
@echo
@echo ${patsubst %, "(add-to-list 'load-path \""%"\") ", $(LISPDIRS)}
@echo "(require 'color-theme-autoload \""$(AUTOLOADFILE)"\")"
@echo

%.elc: %.el
@$(EMACS) $(OPTIONCOMPILE) \
--eval '(setq load-path (cons "." load-path))' \
-f batch-byte-compile $<

%.info: %.texi
@echo "No doc yet !"
# makeinfo $<

%.html: %.texi
@echo "No doc yet !"
# makeinfo --html --no-split $<

doc: $(MANUAL).info $(MANUAL).html
@echo "No doc yet !"

clean:
-rm -f themes/*.elc
-rm -f *~ *.elc $(AUTOLOADFILE).el

realclean: clean
-rm -f $(MANUAL).info $(MANUAL).html $(TARGET) $(SPECIAL)

install-info: $(MANUAL).info
[ -d $(INFODIR) ] || install -d $(INFODIR)
install -m 0644 $(MANUAL).info $(INFODIR)/$(MANUAL)
$(INSTALLINFO) $(INFODIR)/$(MANUAL)

install-bin: lisp
install -d $(ELISPDIR)
install -d $(ELISPDIR)/themes
install -m 0644 $(ALLSOURCE) $(TARGET) $(ELISPDIR)
install -m 0644 $(THEMES_FILES) $(TARGET) $(ELISPDIR)/themes

install: install-bin install-info

## DO NOT TOUCH THIS !
## HELPERS FOR MAINTAINER(S)
distclean:
-rm $(MANUAL).info $(MANUAL).html $(TARGET)
-rm -Rf ../$(DISTDIR)
-rm -f debian/dirs debian/files
-rm -rf $(DISTDIR) $(TARBALL)* $(ZIPFILE)* $(DEBNAME)*

dist: distclean Makefile
$(MAKE) dist-prepare

# Idea taken from w3m-el
dist-prepare: CVS/Root CVS/Repository
cvs -d $(CVSROOT) -w export -d $(DISTDIR) -r $(CVSBRANCH) $(CVSMODULE)
-cvs diff |( cd $(DISTDIR) && patch -p0 )

$(TARBALL): tarball
$(DEBNAME): debian

tarball: dist
find $(DISTDIR) -name .cvsignore | xargs rm -f
find $(DISTDIR) -name debian | xargs rm -fr
find $(DISTDIR) -type d | xargs chmod 755
find $(DISTDIR) -type f | xargs chmod 644

tar -cf `basename $(TARBALL) .gz` $(DISTDIR)
gzip -9 `basename $(TARBALL) .gz`
zip -r $(ZIPFILE) $(DISTDIR)
gpg --detach $(TARBALL)
gpg --detach $(ZIPFILE)

debian: dist
(cd $(DISTDIR) && \
dpkg-buildpackage -v$(LASTUPLOAD) $(BUILDOPTS) \
-us -uc -rfakeroot && \
echo "Running lintian ..." && \
lintian -i ../$(DEBNAME)*.deb || : && \
echo "Done running lintian." && \
debsign)

cp $(DEBNAME)* /var/spool/repo
(cd /var/spool/repo && \
dpkg-scanpackages . /dev/null | gzip -9 > Packages.gz && \
dpkg-scansources . | gzip -9 > Sources.gz)

release: $(DEBNAME) $(TARBALL)
rm -rf $(DISTDIR)
$(MAKE) upload distclean

upload:
(cd /var/spool/repo && echo open perso.nerim.net > upload.lftp ; \
echo cd /var/spool/repo >> upload.lftp ; \
echo mput * >> upload.lftp ; \
echo close >> upload.lftp ; \
lftp -f upload.lftp ; \
rm -f upload.lftp)
(scp $(ZIPFILE)* $(TARBALL)* \
zeDek@download.gna.org:/upload/color-theme)

0 comments on commit a7dbd95

Please sign in to comment.