phillip.lord@newcastle.ac.uk (Phillip Lord) writes: > Sharon Kimble writes: > >> I am having great difficulty in getting "use-package" to work >> successfully. >> >> I have this in my "init.org" - >> >> #+begin_src emacs-lisp >> (use-package fold-this >> :commands (fold-this-all fold-this fold-this-unfold-all) >> :defer 2 >> :init >> :bind (("C-c C-c C-f" . fold-this-all) >> ("C-c C-c C-d" . fold this) >> ("C-c C-c C-c" . fold-this-unfold-all))) >> #+end_src >> >> >> which when it is tangled shows - >> >> ╭──── >> │Invalid read syntax: . in wrong context >> ╰──── >> >> and using "bug-hunter-file" on my "init.el" shows >> > > > > It's the line before! > > :init > > > needs an argument. The problem is that ":bind" is being interpreted as > the argument for ":init", but not crashing (because it's a macro) and > then the alist is breaking. > > Probably you don't need the :init at all. Thanks, your right, it is tangling well now with no problems, along with Chunyang's spot of a missing "-". Thanks all folks, I'm hoping to rewrite my total init file this week to use "use-package" with every package that I use, but we shall see. Thanks Sharon. -- A taste of linux = http://www.sharons.org.uk TGmeds = http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3