From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: flebber Newsgroups: gmane.emacs.help Subject: Re: listp, t - keybinding Date: Fri, 15 Apr 2011 19:16:26 -0700 (PDT) Organization: http://groups.google.com Message-ID: <0be7eeeb-647b-429e-b070-b74cb09459ed@k3g2000prl.googlegroups.com> References: <44ed604f-d55c-4179-a1c2-e4b84f597186@i39g2000prd.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1306267444 10032 80.91.229.12 (24 May 2011 20:04:04 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 24 May 2011 20:04:04 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 24 22:03:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QOxpZ-0002nM-4K for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 22:03:53 +0200 Original-Received: from localhost ([::1]:41495 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QOxpY-0000ZQ-Hs for geh-help-gnu-emacs@m.gmane.org; Tue, 24 May 2011 16:03:52 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!k3g2000prl.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 108 Original-NNTP-Posting-Host: 121.213.149.137 Original-X-Trace: posting.google.com 1302920187 3108 127.0.0.1 (16 Apr 2011 02:16:27 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 16 Apr 2011 02:16:27 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: k3g2000prl.googlegroups.com; posting-host=121.213.149.137; posting-account=5Cd8QAoAAAC6AxpkrISTgUBJ9ktgwNBm User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:2.0) Gecko/20100101 Firefox/4.0,gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:186687 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:81027 Archived-At: On Apr 16, 1:06=A0am, Marco Parrone wrote: > Marco Parrone writes: > > flebber writes: > > >> Hoping for a bit of help with keeping a keybinding. I am using clojure > >> box which by default uses emacsW32. > > >> I was able to use the command (setq w32-alt-is-meta \t) to re enable > >> as my meta key however on each restart of emacs my meta binding > >> is gone. I attempted to add it to .emacs to keep it. I just keep > >> getting a listp, t error now and am unsure what as an error that > >> means. > > >> How do I solve a listp error. > > >> This is my .emacs. > > > I suggest you to remove the line from the `custom-set-variables' list > > and put it elsewhere in your ~/.emacs (at the end for example) without > > the quote ('). > > (custom-set-variables > =A0 ;; custom-set-variables was added by Custom. > =A0 ;; If you edit it by hand, you could mess it up, so be careful. > =A0 ;; Your init file should contain only one such instance. > =A0 ;; If there is more than one, they won't work right. > =A0'(appmenu-mode t) > =A0'(cua-mode t nil (cua-base)) > =A0'(emacsw32-max-frames t) > =A0'(emacsw32-style-frame-title t) > =A0'(hfyview-quick-print-in-files-menu t) > =A0'(menuacc-mode t) > =A0'(noprint-hide-print-in-menus t) > =A0'(noprint-hide-ps-print-in-menus t) > =A0'(ourcomments-ido-ctrl-tab t) > =A0'(ps-paper-type "letter") > =A0'(rebind-keys-mode t) > =A0'(recentf-mode t) > =A0'(sex-mode t) > =A0'(tabkey2-mode t) > =A0'(w32-meta-style (quote w32-lr)) > =A0'(w32shell-shell (quote cmd))) > (custom-set-faces > =A0 ;; custom-set-faces was added by Custom. > =A0 ;; If you edit it by hand, you could mess it up, so be careful. > =A0 ;; Your init file should contain only one such instance. > =A0 ;; If there is more than one, they won't work right. > =A0) > (add-to-list 'load-path "~/.emacs.d/packs/") > (add-to-list 'load-path "~/.emacs.d/packs/color-theme-6.6.0/") > (require 'color-theme) > (color-theme-initialize) > (color-theme-infodoc) > (setq w32-alt-is-meta \t) > > > > > Else you can try to leave it there but replacing \t with t. > > (custom-set-variables > =A0 ;; custom-set-variables was added by Custom. > =A0 ;; If you edit it by hand, you could mess it up, so be careful. > =A0 ;; Your init file should contain only one such instance. > =A0 ;; If there is more than one, they won't work right. > =A0'(w32-alt-is-meta t) > =A0'(appmenu-mode t) > =A0'(cua-mode t nil (cua-base)) > =A0'(emacsw32-max-frames t) > =A0'(emacsw32-style-frame-title t) > =A0'(hfyview-quick-print-in-files-menu t) > =A0'(menuacc-mode t) > =A0'(noprint-hide-print-in-menus t) > =A0'(noprint-hide-ps-print-in-menus t) > =A0'(ourcomments-ido-ctrl-tab t) > =A0'(ps-paper-type "letter") > =A0'(rebind-keys-mode t) > =A0'(recentf-mode t) > =A0'(sex-mode t) > =A0'(tabkey2-mode t) > =A0'(w32-meta-style (quote w32-lr)) > =A0'(w32shell-shell (quote cmd))) > (custom-set-faces > =A0 ;; custom-set-faces was added by Custom. > =A0 ;; If you edit it by hand, you could mess it up, so be careful. > =A0 ;; Your init file should contain only one such instance. > =A0 ;; If there is more than one, they won't work right. > =A0) > (add-to-list 'load-path "~/.emacs.d/packs/") > (add-to-list 'load-path "~/.emacs.d/packs/color-theme-6.6.0/") > (require 'color-theme) > (color-theme-initialize) > (color-theme-infodoc) > > > > > Goodbye, > > Marco. > > -- > Marco Parrone > PGP Key fingerprint =3D 5E21 BED2 BF47 B3FB F17F =A01DB4 D9BE B2B7 3C3A 0= 7E2 Thank you Mario I used the second listed .emacs you posted and that worked perfectly. Sayth