[NBLUG/talk] emacs config problem
Rob Orsini
orsini at sonic.net
Fri Jun 13 17:42:01 PDT 2003
I'm trying to set up basic indenting behavior. I read a bit about it in
'running linux' and added the following lines to my .emacs file. Following
that is the error I got. Any ideas?
********** .emacs *****************
(custom-set-variables
;; custom-set-variables was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
'(c-tab-always-indent nil)
'(case-fold-search t)
'(column-number-mode t)
'(current-language-environment "English")
'(default-major-mode (quote indented-text-mode))
'(global-font-lock-mode t nil (font-lock))
'(inhibit-startup-message t)
'(perl-continued-brace-offset -8)
'(perl-continued-statement-offset 8)
'(perl-indent-level 0)
'(perl-label-offset -2)
'(perl-tab-always-indent nil)
'(perl-tab-to-comment t)
'(show-paren-mode t nil (paren)))
(custom-set-faces
;; custom-set-faces was added by Custom -- don't edit or cut/paste it!
;; Your init file should contain only one such instance.
)
(load "~/elisp/php-mode-104")
;; THIS IS THE PROBLEM LINE
(define-key indented-text-mode-map "\C-m" 'newline-and-indent)
******* error it generated (just starting emacs) *******************
(emacs test)
Loading regexp-opt...done
Loading ~/elisp/php-mode-104...
Loading mule-util...done
Loading ~/elisp/php-mode-104...done
An error has occurred while loading `/home/admin/.emacs':
Symbol's value as variable is void: indented-text-mode-map
To ensure normal operation, you should investigate the cause
of the error in your initialization file and remove it. Start
Emacs with the `--debug-init' option to view a complete error
backtrace
(New file)
********** error calling emacs with --debug-init ***************
Debugger entered--Lisp error: (void-variable indented-text-mode-map)
(define-key indented-text-mode-map "^M" (quote newline-and-indent))
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/admin/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil
"^H\205\227^@ Æ=\203^Q^@Ç^HÈQ\2025^@ É=\203'^@ÊÇËÌ#\203#^@Í\2025^@Î\2025$
command-line()
normal-top-level()
More information about the talk
mailing list