LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-10-2009, 12:09 PM   #1
faizlo
Member
 
Registered: Sep 2008
Location: USA
Distribution: Linux Mint Qiana
Posts: 190

Rep: Reputation: Disabled
Your opinion on emacs colors


Hi,

I have never been good with colors. I mean I can't match them together!
I have compiled my .emacs file from scratch, and I wish if you can tell me your opinions about the colors. I want something that's very easy to my eyes as I am/will spend a lot of time with emacs.
Here is my .emacs file:
Code:
Code:
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 '(default ((t (:inherit nil :stipple nil :background "LightBlue1" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight regular :height 122 :width regular :foundry "bitstream" :family "Bitstream Vera Sans")))))

;;save everything to a folder
(setq backup-by-copying t ; don't clobber symlinks
backup-directory-alist
'(("." . "~/emacs_backup")) ; don't litter my fs tree
delete-old-versions t
kept-new-versionhs 6
kept-old-versions 2
version-control t) ; use versioned backups

(setq default-frame-alist '(
(cursor-color . "saddle brown")
(user-position . t)
(user-size . t)
(height . 40)
(width . 100)))

(set-face-foreground 'font-lock-variable-name-face "chocolate4" )
(set-variable font-lock-variable-name-face 'font-lock-variable-name-face)

(set-face-foreground 'font-lock-type-face "dark green" )
(set-variable font-lock-type-face 'font-lock-type-face)

(set-face-foreground 'font-lock-comment-face "thistle4" )
(set-variable font-lock-comment-face 'font-lock-comment-face)

(set-face-foreground 'font-lock-string-face "firebrick" )
(set-variable font-lock-string-face 'font-lock-string-face)

(set-face-foreground 'font-lock-preprocessor-face "sandy brown" )
(set-variable font-lock-preprocessor-face 'font-lock-preprocessor-face)

(set-face-foreground 'font-lock-constant-face "green4" )
(set-variable font-lock-constant-face 'font-lock-constant-face)

(set-face-foreground 'font-lock-keyword-face "blue1" )
(set-variable font-lock-keyword-face 'font-lock-keyword-face)

(set-face-foreground 'font-lock-function-name-face "blue violet" )
(set-variable font-lock-function-name-face 'font-lock-function-name-face)
If you have any suggestions or ideas, I will be grateful.
Notice, backup your .emacs file before you try mine.

Thanks in advance,

Faizlo
 
Old 08-14-2009, 09:21 PM   #2
GrapefruiTgirl
LQ Guru
 
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594

Rep: Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556Reputation: 556
Quote:
Originally Posted by Emacs manual section (Face Attributes) 38.12.2
:weight
Font weight—one of the symbols (from densest to faintest) ultra-bold, extra-bold, bold, semi-bold, normal, semi-light, light, extra-light, or ultra-light. On text-only terminals that support variable-brightness text, any weight greater than normal is displayed as extra bright, and any weight less than normal is displayed as half-bright.
Above manual available at: http://www.gnu.org/software/emacs/el...ttributes.html

You'll see (at least it is the case with my version of Emacs) that "regular" is not a supported :face attribute. Also, the :width attribute returns an error as well, when it encounters the "regular" parameter.

By leaving these attributes out (or by specifying a valid parameter such as "normal"), Emacs starts without error for me.

I don't use Emacs (yet) so I can't comment on how it might affect ones' eyes after a long time with those colors, but in my own opinion, the cyan background color is a bad choice, as well as just being a yucky color.

Then again, it's whatever makes YOU comfortable. and what YOU find easy on your eyes -- the opinions of others about it really don't matter much

Sasha
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: When it Comes to Microsoft, Experience Colors Your Opinion LXer Syndicated Linux News 0 01-12-2009 09:50 AM
how to get colors in emacs and vim pranith Linux - Newbie 1 02-11-2005 12:35 AM
regarding colors in vim and emacs pranith Linux - Newbie 0 02-10-2005 03:10 AM
How do you change the colors in emacs? ArmedCoder Linux - Software 1 10-26-2003 07:12 PM
emacs colors ZoZo Linux - Software 1 10-29-2002 03:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration