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-09-2009, 05:09 PM   #1
faizlo
Member
 
Registered: Sep 2008
Location: USA
Distribution: Linux Mint Qiana
Posts: 190

Rep: Reputation: Disabled
what is wrong with my .emacs file


Hi,

I want to have my emacs with a blue background (and I wish it is light blue) and I have tried to make some adjustments to my .emacs file (which I wrote from scratch). First it worked fine as I used one of the color modes given in the emacs-goodies package. I added a line to change the fonts I use (the second line) and the blue background has gone. Here is my .emacs file, and I wish someone can tell me what went wrong:
Code:
;; .emacs

;;(set-default-font "-adobe-courier-medium-r-normal--17-120-100-100-m-100-iso8859-1")
(setq default-frame-alist '((font . "-courier-medium-r-normal--12-*-*-*-c-*-iso8859-1")
(modify-frame-parameters nil '((wait-for-wm . nil)))

(require 'color-theme)
(setq color-theme-is-global t)
(color-theme-blue-mood)
(cursor-color . "green")

(user-position . t)
(user-size . t)
(height . 40)
(width . 130)))

;;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


;;; uncomment this line to disable loading of "default.el" at startup
;;(setq inhibit-default-init t)

;; turn on font-lock mode
;;(when (fboundp 'global-font-lock-mode)
  ;;(global-font-lock-mode t))

;; enable visual feedback on selections
;;(setq transient-mark-mode t)
Thank you in advance,

faizlo
 
Old 08-09-2009, 07:43 PM   #2
faizlo
Member
 
Registered: Sep 2008
Location: USA
Distribution: Linux Mint Qiana
Posts: 190

Original Poster
Rep: Reputation: Disabled
Hi again,

I could solve my problem. Only one question about background colors. How may I know all the colors names avaiable for me in Emacs? For example, if I want to use this blue color which surrounds our posts here in this forum, what name should I use?

thanks,

faizlo
 
Old 08-09-2009, 07:50 PM   #3
faizlo
Member
 
Registered: Sep 2008
Location: USA
Distribution: Linux Mint Qiana
Posts: 190

Original Poster
Rep: Reputation: Disabled
Hi again,

I found a treasure and I wanted to share it with you. Here is a list of all the colors available for emacs with their codes.

The List

Thanks,

Faizlo
 
  


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
rsync uses wrong directory, has wrong size but right file count? brianpbarnes Linux - Software 1 02-23-2009 05:48 PM
where is the .emacs file in the emacs source code tarball? aizkorri Programming 2 01-13-2007 02:05 PM
What is wrong with my Emacs ? naihe2010 Linux - Software 13 10-18-2005 11:29 PM
emacs not responding to .emacs file in Mandriva 2005 LE. Please help LaptopLinux Mandriva 1 06-08-2005 08:36 AM
edb (emacs database) won't open file - emacs 20 & 21 tip184 Linux - Software 0 04-03-2004 07:31 AM

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

All times are GMT -5. The time now is 02:31 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