unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sharon Kimble <boudiccas@talktalk.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Loading themes
Date: Fri, 21 Feb 2014 19:12:53 +0000	[thread overview]
Message-ID: <20140221191253.728c03ce@london> (raw)
In-Reply-To: <20140220115812.7ab2d03d@london>

[-- 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 --]

      reply	other threads:[~2014-02-21 19:12 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-20 11:58 Loading themes Sharon Kimble
2014-02-21 19:12 ` Sharon Kimble [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20140221191253.728c03ce@london \
    --to=boudiccas@talktalk.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).