unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Loading themes
@ 2014-02-20 11:58 Sharon Kimble
  2014-02-21 19:12 ` Sharon Kimble
  0 siblings, 1 reply; 2+ messages in thread
From: Sharon Kimble @ 2014-02-20 11:58 UTC (permalink / raw)
  To: help-gnu-emacs


[-- Attachment #1.1: Type: text/plain, Size: 2762 bytes --]

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 attached.

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. 

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 #1.2: Screenshot - 200214 - 11:44:39.png --]
[-- Type: image/png, Size: 120350 bytes --]

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Loading themes
  2014-02-20 11:58 Loading themes Sharon Kimble
@ 2014-02-21 19:12 ` Sharon Kimble
  0 siblings, 0 replies; 2+ messages in thread
From: Sharon Kimble @ 2014-02-21 19:12 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 3142 bytes --]

On Thu, 20 Feb 2014 11:58:12 +0000
Sharon Kimble <boudiccas@talktalk.net> wrote:

> 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 attached.
> 
> 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. 
> 
> Can anyone help in this strange problem please?
> 
I finally solved this problem by rebuilding my .emacs, which slimmed it
down from 25.2kb to 9.6kb! So there is a silver lining to the cloud :)

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

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-02-21 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-20 11:58 Loading themes Sharon Kimble
2014-02-21 19:12 ` Sharon Kimble

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).