unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* listp, t - keybinding
@ 2011-04-15 14:49 flebber
  2011-04-15 15:01 ` Marco Parrone
  0 siblings, 1 reply; 4+ messages in thread
From: flebber @ 2011-04-15 14:49 UTC (permalink / raw)
  To: help-gnu-emacs

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
<alt> 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.
(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.
 '(setq w32-alt-is-meta \t)
 '(appmenu-mode t)
 '(cua-mode t nil (cua-base))
 '(emacsw32-max-frames t)
 '(emacsw32-style-frame-title t)
 '(hfyview-quick-print-in-files-menu t)
 '(menuacc-mode t)
 '(noprint-hide-print-in-menus t)
 '(noprint-hide-ps-print-in-menus t)
 '(ourcomments-ido-ctrl-tab t)
 '(ps-paper-type "letter")
 (rebind-keys-mode t)
'(recentf-mode t)
 '(sex-mode t)
 '(tabkey2-mode t)
 '(w32-meta-style (quote w32-lr))
 '(w32shell-shell (quote cmd)))
(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.
 )
(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)



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: listp, t - keybinding
  2011-04-15 14:49 listp, t - keybinding flebber
@ 2011-04-15 15:01 ` Marco Parrone
  2011-04-15 15:06   ` Marco Parrone
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Parrone @ 2011-04-15 15:01 UTC (permalink / raw)
  To: help-gnu-emacs

flebber <flebber.crue@gmail.com> 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
> <alt> 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 (').

Else you can try to leave it there but replacing \t with t.

Goodbye,
Marco.

-- 
Marco Parrone <marco@marcoparrone.com>
PGP Key fingerprint = 5E21 BED2 BF47 B3FB F17F  1DB4 D9BE B2B7 3C3A 07E2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: listp, t - keybinding
  2011-04-15 15:01 ` Marco Parrone
@ 2011-04-15 15:06   ` Marco Parrone
  2011-04-16  2:16     ` flebber
  0 siblings, 1 reply; 4+ messages in thread
From: Marco Parrone @ 2011-04-15 15:06 UTC (permalink / raw)
  To: help-gnu-emacs

Marco Parrone <marco@marcoparrone.com> writes:

> flebber <flebber.crue@gmail.com> 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
>> <alt> 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
  ;; 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.
 '(appmenu-mode t)
 '(cua-mode t nil (cua-base))
 '(emacsw32-max-frames t)
 '(emacsw32-style-frame-title t)
 '(hfyview-quick-print-in-files-menu t)
 '(menuacc-mode t)
 '(noprint-hide-print-in-menus t)
 '(noprint-hide-ps-print-in-menus t)
 '(ourcomments-ido-ctrl-tab t)
 '(ps-paper-type "letter")
 '(rebind-keys-mode t)
 '(recentf-mode t)
 '(sex-mode t)
 '(tabkey2-mode t)
 '(w32-meta-style (quote w32-lr))
 '(w32shell-shell (quote cmd)))
(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.
 )
(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
  ;; 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.
 '(w32-alt-is-meta t)
 '(appmenu-mode t)
 '(cua-mode t nil (cua-base))
 '(emacsw32-max-frames t)
 '(emacsw32-style-frame-title t)
 '(hfyview-quick-print-in-files-menu t)
 '(menuacc-mode t)
 '(noprint-hide-print-in-menus t)
 '(noprint-hide-ps-print-in-menus t)
 '(ourcomments-ido-ctrl-tab t)
 '(ps-paper-type "letter")
 '(rebind-keys-mode t)
 '(recentf-mode t)
 '(sex-mode t)
 '(tabkey2-mode t)
 '(w32-meta-style (quote w32-lr))
 '(w32shell-shell (quote cmd)))
(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.
 )
(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 <marco@marcoparrone.com>
PGP Key fingerprint = 5E21 BED2 BF47 B3FB F17F  1DB4 D9BE B2B7 3C3A 07E2


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: listp, t - keybinding
  2011-04-15 15:06   ` Marco Parrone
@ 2011-04-16  2:16     ` flebber
  0 siblings, 0 replies; 4+ messages in thread
From: flebber @ 2011-04-16  2:16 UTC (permalink / raw)
  To: help-gnu-emacs

On Apr 16, 1:06 am, Marco Parrone <ma...@marcoparrone.com> wrote:
> Marco Parrone <ma...@marcoparrone.com> writes:
> > flebber <flebber.c...@gmail.com> 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
> >> <alt> 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
>   ;; 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.
>  '(appmenu-mode t)
>  '(cua-mode t nil (cua-base))
>  '(emacsw32-max-frames t)
>  '(emacsw32-style-frame-title t)
>  '(hfyview-quick-print-in-files-menu t)
>  '(menuacc-mode t)
>  '(noprint-hide-print-in-menus t)
>  '(noprint-hide-ps-print-in-menus t)
>  '(ourcomments-ido-ctrl-tab t)
>  '(ps-paper-type "letter")
>  '(rebind-keys-mode t)
>  '(recentf-mode t)
>  '(sex-mode t)
>  '(tabkey2-mode t)
>  '(w32-meta-style (quote w32-lr))
>  '(w32shell-shell (quote cmd)))
> (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.
>  )
> (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
>   ;; 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.
>  '(w32-alt-is-meta t)
>  '(appmenu-mode t)
>  '(cua-mode t nil (cua-base))
>  '(emacsw32-max-frames t)
>  '(emacsw32-style-frame-title t)
>  '(hfyview-quick-print-in-files-menu t)
>  '(menuacc-mode t)
>  '(noprint-hide-print-in-menus t)
>  '(noprint-hide-ps-print-in-menus t)
>  '(ourcomments-ido-ctrl-tab t)
>  '(ps-paper-type "letter")
>  '(rebind-keys-mode t)
>  '(recentf-mode t)
>  '(sex-mode t)
>  '(tabkey2-mode t)
>  '(w32-meta-style (quote w32-lr))
>  '(w32shell-shell (quote cmd)))
> (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.
>  )
> (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 <ma...@marcoparrone.com>
> PGP Key fingerprint = 5E21 BED2 BF47 B3FB F17F  1DB4 D9BE B2B7 3C3A 07E2

Thank you Mario

I used the second listed .emacs you posted and that worked perfectly.

Sayth


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-04-16  2:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-15 14:49 listp, t - keybinding flebber
2011-04-15 15:01 ` Marco Parrone
2011-04-15 15:06   ` Marco Parrone
2011-04-16  2:16     ` flebber

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).