Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: themes are not loaded properly for Emacs24

16 views
Skip to first unread message

Shimon Cohen

unread,
Nov 7, 2012, 5:02:17 PM11/7/12
to ishi soichi, help-gn...@gnu.org
How about disable-theme before loading a new one.

On Wed, Nov 7, 2012 at 2:19 AM, ishi soichi <soic...@gmail.com> wrote:
Emacs Version 24.2 (9.0)
MacOSX SnowLeopard 10.6.8

From my understanding, Emacs24 has the build-in theme functionality.
but after Emacs is booted up, I cannot change the theme as I want it to.

For the initial setup, I put 

  (load-theme 'tango-dark t)

then the first screenshot shows the Emacs window.
After that, I implement M-x load-theme dark-blue
the second screenshot is what the result looks like.  The result appears slightly different but not entirely.

It seems like "the first loaded theme cannot be overridden".

Can anyone guess what the problem is?

soichi


ishi soichi

unread,
Nov 8, 2012, 7:49:36 PM11/8/12
to Shimon Cohen, help-gn...@gnu.org
How about disable-theme before loading a new one.

thanks but it doesn't make much difference.  I was guessing that old Emacs23 settings including themes are loaded somewhere.  But no, the new setting does not include any theme at all.

soichi


2012/11/8 Shimon Cohen <shi...@gmail.com>

ishi soichi

unread,
Nov 8, 2012, 10:57:45 PM11/8/12
to Shimon Cohen, help-gn...@gnu.org
I have found the part causing the problem


(setq skk-server-host "localhost")
(setq skk-server-portnum 1178)
;;--------------------------------------------------
(let ((default-directory (expand-file-name "~/.emacs.d/lisp")))
  (add-to-list 'load-path default-directory)
  (if (fboundp 'normal-top-level-add-subdirs-to-load-path)
      (normal-top-level-add-subdirs-to-load-path)))
(setq skk-large-jisyo "~/.emacs.d/share/skk/SKK-JISYO.L")
(require 'skk-autoloads)
(global-set-key "\C-x\C-j" 'skk-mode)
(global-set-key "\C-xj" 'skk-mode)
(global-set-key "\C-xt" 'skk-tutorial)

SKK is Japanese input system, which is very important for me.
And this setting is copied from Emacs23's.
Do you see any problem?

soichi


2012/11/9 ishi soichi <soic...@gmail.com>

Jambunathan K

unread,
Nov 8, 2012, 11:38:04 PM11/8/12
to ishi soichi, help-gn...@gnu.org

I think what you are looking for could be done via

M-x customize-themes RET

You may want to `Select more than one theme' and then later `migrate
your settings into a theme'.

This is what the commands show in my case:

,----
| Type RET or click to enable/disable listed custom themes.
| Type ? to describe the theme at point.
| Theme files are named *-theme.el in `custom-theme-load-path'.
|
| Note: Your custom settings take precedence over theme settings.
| To migrate your settings into a theme, click here.
|
| Save Theme Settings
| [ ] Select more than one theme at a time
|
| Available Custom Themes:
| [ ] adwaita -- Face colors similar to the default theme of Gnome 3 (Adwaita).
| [ ] deeper-blue -- Face colors using a deep blue background.
| [ ] dichromacy -- Face colors suitable for red/green color-blind users.
| [ ] light-blue -- Face colors utilizing a light blue background.
| [ ] manoj-dark -- Very high contrast faces with a black background.
| [ ] misterioso -- Predominantly blue/cyan faces on a dark cyan background.
| [ ] tango-dark -- Face colors using the Tango palette (dark background).
| [ ] tango -- Face colors using the Tango palette (light background).
| [ ] tsdh-dark -- Minor tweaks to the Emacs dark-background defaults.
| [ ] tsdh-light -- Minor tweaks to the Emacs white-background defaults.
| [ ] wheatgrass -- High-contrast green/blue/brown faces on a black background.
| [ ] whiteboard -- Face colors similar to markers on a whiteboard.
| [ ] wombat -- Medium-contrast faces with a dark gray background.
`----
--

0 new messages