unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* color-theme in emacs 24
@ 2017-10-11  2:06 MelloBob
  2017-10-11  2:11 ` Mario Castelán Castro
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: MelloBob @ 2017-10-11  2:06 UTC (permalink / raw)
  To: help-gnu-emacs

Is there a way to save the current color-theme (accessed via M-x load-theme), not the older color-theme stuff. The only way I've found is to manually edit my .emacs file and add the line:
 
  (load-theme 'theme-name t)

Works fine ... until you really can't recall which theme you selected :)



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

* Re: color-theme in emacs 24
  2017-10-11  2:06 color-theme in emacs 24 MelloBob
@ 2017-10-11  2:11 ` Mario Castelán Castro
  2017-10-11 13:56 ` Drew Adams
       [not found] ` <mailman.1190.1507687914.27995.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 5+ messages in thread
From: Mario Castelán Castro @ 2017-10-11  2:11 UTC (permalink / raw)
  To: help-gnu-emacs

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

On 10/10/17 21:06, MelloBob wrote:
> Is there a way to save the current color-theme (accessed via M-x load-theme), not the older color-theme stuff. The only way I've found is to manually edit my .emacs file and add the line:
>  
>   (load-theme 'theme-name t)
> 
> Works fine ... until you really can't recall which theme you selected :)

Try M-x customize-color-theme. Maybe you will find it listed there.


-- 
Do not eat animals; respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

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

* RE: color-theme in emacs 24
  2017-10-11  2:06 color-theme in emacs 24 MelloBob
  2017-10-11  2:11 ` Mario Castelán Castro
@ 2017-10-11 13:56 ` Drew Adams
       [not found] ` <mailman.1190.1507687914.27995.help-gnu-emacs@gnu.org>
  2 siblings, 0 replies; 5+ messages in thread
From: Drew Adams @ 2017-10-11 13:56 UTC (permalink / raw)
  To: MelloBob, help-gnu-emacs

> Is there a way to save the current color-theme (accessed via M-x load-
> theme), not the older color-theme stuff. The only way I've found is to
> manually edit my .emacs file and add the line:
>   (load-theme 'theme-name t)
> Works fine ... until you really can't recall which theme you selected :)

Not sure what you're asking.  But `load-theme' has nothing
to do with color themes - `load-theme' is about custom themes.

It's unfortunate that when Emacs added themes it used the
same word ("theme") that had already been used for color
themes, as it has led to a fair amount of confusion.  At
least Emacs didn't try to call custom themes "color themes".

See https://www.emacswiki.org/emacs/ColorThemes and
https://www.emacswiki.org/emacs/CustomThemes.



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

* Re: color-theme in emacs 24
       [not found] ` <mailman.1190.1507687914.27995.help-gnu-emacs@gnu.org>
@ 2017-10-11 17:34   ` MelloBob
  2017-10-11 17:38   ` MelloBob
  1 sibling, 0 replies; 5+ messages in thread
From: MelloBob @ 2017-10-11 17:34 UTC (permalink / raw)
  To: help-gnu-emacs

On Tuesday, October 10, 2017 at 7:11:57 PM UTC-7, Mario Castelán Castro wrote:
> On 10/10/17 21:06, MelloBob wrote:
> > Is there a way to save the current color-theme (accessed via M-x load-theme), not the older color-theme stuff. The only way I've found is to manually edit my .emacs file and add the line:
> >  
> >   (load-theme 'theme-name t)
> > 
> > Works fine ... until you really can't recall which theme you selected :)
> 
> Try M-x customize-color-theme. Maybe you will find it listed there.
> 
> 
> -- 
> Do not eat animals; respect them as you respect people.
> https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

In my emacs, 24.5.1, installed by Ubuntu that command doesn't seem to exist.


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

* Re: color-theme in emacs 24
       [not found] ` <mailman.1190.1507687914.27995.help-gnu-emacs@gnu.org>
  2017-10-11 17:34   ` MelloBob
@ 2017-10-11 17:38   ` MelloBob
  1 sibling, 0 replies; 5+ messages in thread
From: MelloBob @ 2017-10-11 17:38 UTC (permalink / raw)
  To: help-gnu-emacs

On Tuesday, October 10, 2017 at 7:11:57 PM UTC-7, Mario Castelán Castro wrote:
> On 10/10/17 21:06, MelloBob wrote:
> > Is there a way to save the current color-theme (accessed via M-x load-theme), not the older color-theme stuff. The only way I've found is to manually edit my .emacs file and add the line:
> >  
> >   (load-theme 'theme-name t)
> > 
> > Works fine ... until you really can't recall which theme you selected :)
> 
> Try M-x customize-color-theme. Maybe you will find it listed there.
> 
> 
> -- 
> Do not eat animals; respect them as you respect people.
> https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan

The older I get the more confused I get (not only about emacs :) ).

But I'm just trying to set this in my .emacs file without having to manually edit that file. I've gone back to using color-theme and have "discovered" that the names to use in the final line of:

  
(require 'color-theme)
    (color-theme-initialize)
    (color-theme-feni)

can be derived from M-x color-theme- <tab>. Trying to do this from color-theme-select gives the "English" names of the themes ... but they can't be used in the above .emacs commands.


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

end of thread, other threads:[~2017-10-11 17:38 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-11  2:06 color-theme in emacs 24 MelloBob
2017-10-11  2:11 ` Mario Castelán Castro
2017-10-11 13:56 ` Drew Adams
     [not found] ` <mailman.1190.1507687914.27995.help-gnu-emacs@gnu.org>
2017-10-11 17:34   ` MelloBob
2017-10-11 17:38   ` MelloBob

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