* error in .gnu-emacs-custom file
@ 2005-02-02 19:36 dorantes
2005-02-17 15:32 ` timseal
0 siblings, 1 reply; 2+ messages in thread
From: dorantes @ 2005-02-02 19:36 UTC (permalink / raw)
Can anyone see the problem with this ? It's my error I get after I
created my .gnu-emacs-custom file.
Here's the error I get:
Debugger entered--Lisp error: (invalid-read-syntax ") or . in a
vector")
eval-buffer(#<buffer *load*<2>> nil "~/.gnu-emacs-custom" nil t)
load-with-code-conversion("/home/dorantes/.gnu-emacs-custom"
"~/.gnu-emacs-cu$
load("~/.gnu-emacs-custom" t t)
(if (string-match "XEmacs\\|Lucid" emacs-version) (progn (if ...
...)) (if (f$
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/dorantes/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil "^H\205\227^@ �=\203^Q^@�^H�Q\2025^@
�=\203'^@����#\203#^@�\2025^@�\$
command-line()
Here's my .gnu-emacs-custom file:
(put 'upcase-region 'disabled nil)
"*** set modes during edit ***"
(setq auto-mnode-alist (cons '("\\.txt\\'" . text-mode)
auto-mode-alist))
(setq case-fold-search nil) ; make searches case sensitive
(setq case-fold-search t) ; make searches case insensitive
(local-unset-key [?\e ?s])
(local-unset-key [?\e ?S])
(global-unset-key [?\e ?s])
(global-unset-key [?\e ?S])
"*** save file and exit ***"
(fset 'save-file-and-exit
"\C-x\C-s\C-x\C-c")
(global-set-key [?\C-x ?\C-n] 'save-file-and-exit)
"*** new line and cursor to column 10 ***"
(fset 'nl-cursor-to-column-10
"\C-e\C-m\C-[10 ")
(global-set-key [?\e ?m] 'nl-cursor-to-column-10)
(global-set-key [?\e ?M] 'nl-cursor-to-column-10)
"*** cursor to column 12 ***"
(fset 'cursor-to-column-12
"\C-e\C-[12 \C-a\C-[12\C-f\C-k\C-o")
(global-set-key [?\e ?n] 'cursor-to-column-12)
(global-set-key [?\e ?N] 'cursor-to-column-12)
"*** cursor to column 22 ***"
(fset 'cursor-to-column-22
"\C-e\C-[22 \C-a\C-[22\C-f\C-k\C-o")
(global-set-key [?\e ?o] 'cursor-to-column-22)
(global-set-key [?\e ?O] 'cursor-to-column-22)
"*** cursor to column 51 ***"
(fset 'cursor-to-column-51
"\C-e\C-[51 \C-a\C-[51\C-f\C-k\C-o")
(global-set-key [?\e ?p] 'cursor-to-column-51)
(global-set-key [?\e ?P] 'cursor-to-column-51)
(global-set-key [?\e ?q] 'query-replace)
(global-set-key [?\e ?Q] 'query-replace)
(global-set-key [?\e ?r] 'replace-string)
(global-set-key [?\e ?R] 'replace-string)
(global-set-key [?\C-x ?l] 'goto-line)
(global-set-key [?\C-x ?L] 'goto-line)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-17 15:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-02 19:36 error in .gnu-emacs-custom file dorantes
2005-02-17 15:32 ` timseal
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).