XEmacsNull Blog

Bi-Day XEmacs Tip Blog

Saturday, June 18, 2005

Topic: Configuration File

Question: Where is the config file? Why should I care? How do you read it?

Answer 1: Linux systems at a sub-directory, under your home directory. Labeled .xemacs and a file inside it called: custom.el

(custom-set-variables
- '(paren-mode (quote paren) nil (paren))
- '(column-number-mode t)
- '(line-number-mode t)
- '(blink-cursor-mode t nil (blink-cursor)))
(custom-set-faces
- '(default ((t (:size "12pt" :family "Courier"))) t))

Answer 2: So, you can customize XEmacs to your liking.
Answer 3: This is a little more difficult. If you've studied LISP or Scheme? It looks obvious. Otherwise, you have to learn a little about Scheme and variable declarations.

However, except for the harder to get at customizations. You can "Save Options" inside XEmacs, itself. Then, it will update this config file, for you. (Options menu, "save options to init file".)

Platform: Linux
Level: Basic
GlR

0 Comments:

Post a Comment

<< Home