Live data from Hacker News

Please review my web-based Emacs color theme generator

alexpogosyan.com

31–40 of 52 posts

Re: Please review my web-based Emacs color theme generator

#32
I had this idea a while ago, very pleased to see it realized. What terminals are supported?

I wanted to do it for all the permutations of vim, zsh, LS_COLORS, gnome-terminal, urxvt xterm and so forth

It would be nice to be able to click the keyword and select the color then.

Re: Please review my web-based Emacs color theme generator

#33
Could be an idea to have a sample of the current color beside the string.

So, beside keywords, there would be a box filled in with the current color, instead of clicking each checkbox it would have a snapshot of all of the colors. Handy to reference them instead of looking at the sample code.

Re: Please review my web-based Emacs color theme generator

#35

now if i could just figure out a way to change the background color of the active window, i'd be all set. nice job.

Surprisingly, it's M-x set-background-color. You can also change the background color of the default face; same thing.

Re: Please review my web-based Emacs color theme generator

#36
For those of you who don't want to leave Emacs to customize Emacs, you can just put the point near the face that you want to customize, type M-x customize-face, accept the default, and follow the instructions from there. This works in all Emacsen newer than about 18 or so.

Re: Please review my web-based Emacs color theme generator

#37

For those of you who don't want to leave Emacs to customize Emacs, you can just put the point near the face that you want to customize, type M-x customize-face, accept the default, and follow the instructions from there. This works in all Emacsen newer than about 18 or so.

Even simpler, just open a scratch buffer, paste the code, and evaluate the expressions with C-x C-e.

Re: Please review my web-based Emacs color theme generator

#38
post #11

This is great. By the way, do you (or anyone else) know of a good tutorial/guide for creating color combinations that go well together? UPDATE: One thing that would be nice is to be able to drop a pre-existing color theme in and then tweak it with the color picker.

http://kuler.adobe.com/#create/fromacolor is a pretty nice resource for creating and finding pleasing colour schemes.

Re: Please review my web-based Emacs color theme generator

#39

For those of you who don't want to leave Emacs to customize Emacs, you can just put the point near the face that you want to customize, type M-x customize-face, accept the default, and follow the instructions from there. This works in all Emacsen newer than about 18 or so.

Even simpler, just open a scratch buffer, paste the code, and evaluate the expressions with C-x C-e.

I am talking about how to, given some code in an arbitrary language and you wanting to change the color of some construct, do that with built-in emacs mechanisms. I think going to a web page, pasting your code, tweaking, and then putting some random lisp back into emacs is a waste of effort when Emacs already has this functionality built in.
Post reply on HN