this is in my .emacs can I mess with it or not?
(custom-set-variables
;; custom-set-variables 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.
)
(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.
'(better-fringes-bitmap ((t (:foreground "#00dd44"))))
'(font-lock-string-face ((((class color) (min-colors 88) (background light)) (:foreground "#113355")))))
so far I am adding everything I want above these lines...
Don't add anything to these lines manually — your changes will be vanished by emacs on some events. Instead add custom variables with
customize-set-variable
and custom faces withset-face-attribute
:In order to customize face of some package one sometimes need to request the package first, and after that set its face:
These blocks are added by the
customize
interface, as Noufal pointed out. You can move them to a separate file, though, if you like.Just add this to your
~/.emacs.d/init.el
:or, if you're still using an old-fashioned
~/.emacs
file:I don't really understand what this .emacs file does, but I do know that when I installed 16.04 I had problems in Emacs with fonts, and not recognising Cyrillic, so I removed .emacs as a trial, and the problems vanished.
These are lines added to the file when you use the customise system. They're generated when you use
customize-*
. By default, the customisation options are stored in the.emacs
file. You don't usually edit these by hand. You have to use thecustomize-*
commands to edit them.