[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Loading themes in emacs



I have the strange problem in that if I load a theme using 
'M-x load-theme' and then put in a theme name when prompted like 'brin'
it only shows the theme background colour in the fringe and the
mode-line and nowhere else. Its the same whatever theme I load. The
relevant section from my .emacs is here -

;;(add-to-list 'load-path
"/usr/share/emacs24/site-lisp/emacs-goodies-el/color-theme.el") 
;;(add-to-list 'load-path
"/home/boudiccas/.emacs.d/themes/color-theme-tomorrow.el") 
;;(require 'color-theme) 
;;(require 'color-theme-tomorrow) 
;;(eval-after-load "color-theme" 
;;  '(progn
;;     (color-theme-initialize)
;;     (color-theme-lethe)))
;;    (tomorrow-day-theme))
;;(defface popup-mouse-face nil nil)
;;(defface ac-candidate-face nil nil)
;; Please set your themes directory to 'custom-theme-load-path
;;(require 'remember-theme)
(add-to-list 'custom-theme-load-path
 (file-name-as-directory "/home/boudiccas/git/replace-colorthemes"))
(add-to-list 'custom-theme-load-path "/home/boudiccas/.emacs.d/themes")
(add-to-list 'custom-theme-load-path "/home/boudiccas/.emacs.d/elpa")

;;(require 'remember-theme)
;; https://github.com/emacs-jp/replace-colorthemes
;; load your favorite theme
;;(load-theme 'solarized-light t t)
;;(load-theme 'solarized-dark t t)
;;(enable-theme 'solarized-dark)

The only time that the theme background colour in the main window, where
all the code is, shows is when I highlight some text. The rest of the
time there is no background colour in the main window.

I've tried removing from ELPA the theme that was continually being
called when I started up .emacs, which was "grandshell", and this
morning I've removed "remember-theme" which was calling the old theme
on every launch of .emacs. 

Now I have no theme loaded, but when I do load one like "brin", it only
shows as in the screen-shot here -
http://www.sharons.org.uk/2014/02/20/emacs-theme-problems/

How can I get it so that themes work normally and display properly
please? I've tried using an old backed-up .emacs from twenty-four
hours ago, before the problem started, but it still shows as in the
screen-shot. 

I have a slight memory of putting some code in my 'setup-testbed.el'
file that would draw a rectangle round the working pane of .emacs. This
would have shown round all the working code, or document that was
displayed. I no longer have this code in my 'setup-testbed', and cant
find where I got it from, but it still seems to be having an effect
and causing the problem that I now have. I have purged 'setup-testbed'
of all non-functioning code, but even if I comment out ;(require
'setup-testbed) I still have the problem. I've tracked it down to
something in my .emacs, as when I start emacs this shows up in the
messages -
Loading /etc/emacs/site-start.d/70x-face-el.el (source)...done
Loading /home/boudiccas/.recentf...done
Cleaning up the recentf list...done (0 removed)
* --[ Loading my Emacs init file ]--
Loading /home/boudiccas/.abbrev_defs...done
(Shell command succeeded with no output)
For information about GNU Emacs and the GNU system, type <f1> C-a.
Quit

I can find no trace of what this shell command is, and I'm completely
at a loss with it all. Can anyone help in this strange problem please?

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
my git repo = https://bitbucket.org/boudiccas/dots
Debian testing, Fluxbox 1.3.5, emacs 24.3.50.1
Registered Linux user 561944

Attachment: signature.asc
Description: PGP signature


Reply to: