From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "new2linux" Newsgroups: gmane.emacs.help Subject: Does anyone have a sample ".gnu-emacs-custom" file I can see ???? Date: 3 Feb 2005 10:12:39 -0800 Organization: http://groups.google.com Message-ID: <1107454359.859046.263490@f14g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1107454665 30925 80.91.229.2 (3 Feb 2005 18:17:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 3 Feb 2005 18:17:45 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 03 19:17:45 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1CwlXn-0003OP-Lx for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Feb 2005 19:17:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CwllA-0007Sf-BI for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Feb 2005 13:31:20 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!f14g2000cwb.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 67 Original-NNTP-Posting-Host: 4.22.97.10 Original-X-Trace: posting.google.com 1107454363 2236 127.0.0.1 (3 Feb 2005 18:12:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Thu, 3 Feb 2005 18:12:43 +0000 (UTC) User-Agent: G2/0.2 Complaints-To: groups-abuse@google.com Injection-Info: f14g2000cwb.googlegroups.com; posting-host=4.22.97.10; posting-account=M6PGag0AAABaG-hqfUYW3URN11O0KR1z Original-Xref: shelby.stanford.edu gnu.emacs.help:128382 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: main.gmane.org gmane.emacs.help:23896 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23896 if anyone has a sample .gnu-emacs-custom file I can see I'd greatly appreciate it. I'm getting this error when I load emacs: Debugger entered--Lisp error: (invalid-read-syntax ") or . in a vector") eval-buffer(#> 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(# 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 what mine looks like: (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)