emacs.js.second.p.art

May 17th, 2013

See Part One

 

I tried to run init.el from within my existing emacs, but got an error, so I launched it suppressing my config-files

emacs -q -l d:homeemacs.jsinit.el

 

Basically got the following error (although with a longer trace indicating where it had occured):

Debugger entered--Lisp error: (invalid-function (tool-bar-mode -1))
  ((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1))
  (if window-system ((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1)))
  eval((if window-system ((tool-bar-mode -1) (menu-bar-mode -1) (scroll-bar-mode -1))))
  eval-last-sexp-1(nil)
  eval-last-sexp(nil)
  call-interactively(eval-last-sexp nil nil)

 

The root seems to be THIS snippet that doesn’t like to work from appearance.el

 

(if window-system
    ((tool-bar-mode -1)
     (menu-bar-mode -1)
     (scroll-bar-mode -1)))

 

Now, each of those lines can execute individually, but none of them like to execute in that block.

Why is that?

 

Oh, my elisp-fu is woefully faded.

 

hrm. THIS seems to work:

 

(if window-system
    (progn (tool-bar-mode -1)
           (menu-bar-mode -1)
           (scroll-bar-mode -1)))

 

so. I update that.

 

Now,

set-default-font: Font Inconsolata-12′ is not defined

 

jeebus.

 


 

End Part Two

 

read Part One

2 comments

  1. pingback by your interference patterns BETA » Archive » emacs.js.art on Monday, May 20th, 2013 2:31 pm

    […] This is Part One; read Part Two […]

  2. pingback by your interference patterns BETA » Archive » emacs.js.third.p.art on Tuesday, Jul 16th, 2013 9:33 pm

    […] See Also: part 1, part 2 […]

comments RSS trackBack identifier URI

leave a comment

  • syndicate

    • Add to MyMSN
    • Add to MyYahoo
    • Add to Google Reader
    • Add to Bloglines
    • Add to Newsgator
    • Add to NewsIsFree