Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
ereslibre committed Jun 1, 2010
0 parents commit 450dc85
Show file tree
Hide file tree
Showing 35 changed files with 21,327 additions and 0 deletions.
1 change: 1 addition & 0 deletions .Xdefaults
@@ -0,0 +1 @@
Emacs.font: DejaVu Sans Mono-7
9 changes: 9 additions & 0 deletions .bash_profile
@@ -0,0 +1,9 @@
. $HOME/.bashrc

EDITOR='nano'
PATH=/usr/local/bin:$PATH
LC_ALL="es_ES.UTF-8"
INPUTRC=/etc/inputrc
HG=/usr/bin/hg

export EDITOR PATH LC_ALL INPUTRC
7 changes: 7 additions & 0 deletions .bashrc
@@ -0,0 +1,7 @@
source /home/kdevel/.git-completion.bash

alias ls='ls --color=auto'
PS1='\[\033[01;32m\]\u\[\033[01;34m\] \w\[\033[31m\]$(__git_ps1 " (%s)")\[\033[01;34m\]$\[\033[00m\] '

alias actualiza='yaourt -Syu --aur'
alias emacs='emacs -nw'
86 changes: 86 additions & 0 deletions .emacs
@@ -0,0 +1,86 @@
; REQUIREMENTS
; * maxframe
; * color-theme
; * zenburn
; * yasnippet
; * xcscope
; * pastebin

; add load path
(add-to-list 'load-path "~/.emacs.d")
(add-to-list 'load-path "~/.emacs.d/erc-5.3")
(add-to-list 'load-path "~/.emacs.d/color-theme-6.6.0")
; miscellaneous
(column-number-mode 1)
(require 'highlight-current-line)
(highlight-current-line-on t) ; highlight current line
; auto detect file coding style
(require 'dtrt-indent)
(dtrt-indent-mode 1)
; enable gui wellness
(tool-bar-mode nil)
(menu-bar-mode nil)
(scroll-bar-mode nil)
; maximize the window when loading
;(require 'maxframe)
;(add-hook 'window-setup-hook 'maximize-frame t)
; set default font family and size
;; (custom-set-faces
;; '(default ((t (:height 68 :family "Monaco")))))
(custom-set-faces
'(default ((t (:height 120 :family "Monaco")))))
; set some personal data
(setq user-mail-address "ereslibre@ereslibre.es")
(setq user-full-name "Rafael Fernández López")
; make it pretty colors
(require 'color-theme)
(color-theme-initialize)
(color-theme-emacs-nw)
; (color-theme-xemacs)
; (color-theme-jsc-light)
; (require 'zenburn)
; (color-theme-zenburn)
(custom-set-variables
'(blink-cursor-mode nil)
'(c-basic-offset 4)
'(inhibit-startup-screen t)
'(make-backup-files nil)
'(show-paren-mode t)
'(transient-mark-mode t))
(desktop-save-mode 1) ; save the desktop when leaving
(setq backup-inhibited t)
(setq auto-save-default nil)
; some default indentation follows
(setq c-mode-hook
(function (lambda ()
(setq indent-tabs-mode nil)
(setq c-indent-level 4))))
(setq objc-mode-hook
(function (lambda ()
(setq indent-tabs-mode nil)
(setq c-indent-level 4))))
(setq c++-mode-hook
(function (lambda ()
(setq indent-tabs-mode nil)
(setq c-indent-level 4))))
(setq default-tab-width 4)
; useful shortcuts
(global-set-key "\C-l" 'goto-line)
; set default compile command
(setq compile-command "cd ~/proyectos/ideallibrary ; ./waf")
; yasnippet
(add-to-list 'load-path "/usr/share/emacs/site-lisp/yas")
(require 'yasnippet)
(yas/initialize)
(yas/load-directory "/usr/share/emacs/site-lisp/yas/snippets")
(yas/load-directory "~/.emacs.d/yasnippet/snippets")
(add-hook 'yas/after-exit-snippet-hook
'(lambda ()
(indent-region yas/snippet-beg yas/snippet-end))) ; indent when finishing snippet
(require 'xcscope) ; xcscope
; pastebin
(require 'pastebin)
(setq pastebin-identity "ereslibre")

(setq auto-mode-alist (append '(("\\.pl$" . prolog-mode))
auto-mode-alist))
31 changes: 31 additions & 0 deletions .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.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.

0 comments on commit 450dc85

Please sign in to comment.