From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sharon Kimble Newsgroups: gmane.emacs.help Subject: using use-package Date: Tue, 04 Aug 2015 16:01:31 +0100 Message-ID: <878u9rxflg.fsf@skimble.plus.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1438700542 22015 80.91.229.3 (4 Aug 2015 15:02:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 4 Aug 2015 15:02:22 +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 Aug 04 17:02:03 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZMdj7-00079r-UY for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Aug 2015 17:02:02 +0200 Original-Received: from localhost ([::1]:35753 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMdj7-00070x-B3 for geh-help-gnu-emacs@m.gmane.org; Tue, 04 Aug 2015 11:02:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMdip-00070o-W1 for help-gnu-emacs@gnu.org; Tue, 04 Aug 2015 11:01:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZMdik-0006vn-Fn for help-gnu-emacs@gnu.org; Tue, 04 Aug 2015 11:01:43 -0400 Original-Received: from avasout06.plus.net ([212.159.14.18]:49686) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZMdik-0006uQ-9f for help-gnu-emacs@gnu.org; Tue, 04 Aug 2015 11:01:38 -0400 Original-Received: from london.london ([146.200.15.228]) by avasout06 with smtp id 0f1Z1r0054vE4La01f1aJP; Tue, 04 Aug 2015 16:01:34 +0100 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=foEhHwMf c=1 sm=1 tr=0 a=BZK4iKNukwO/0Vmvk7NbuA==:117 a=BZK4iKNukwO/0Vmvk7NbuA==:17 a=0Bzu9jTXAAAA:8 a=EBOSESyhAAAA:8 a=QH19hYA6h_8A:10 a=Jw0ohAZaAAAA:8 a=NEAV23lmAAAA:8 a=LlzXLoV6AAAA:8 a=iI7HsYTVAAAA:8 a=--W7JbkOrvsJD8LYj_wA:9 a=lc-ibLA47_2GgMNc:21 a=KBHX7n0G9CYo5mlu:21 a=QEXdDO2ut3YA:10 a=ROn3VZ-Yb97ghwU9PSYA:9 X-AUTH: skimble@:2500 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x (no timestamps) [generic] X-Received-From: 212.159.14.18 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:106229 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I am having great difficulty in getting "use-package" to work successfully. I have this in my "init.org" - =2D-8<---------------cut here---------------start------------->8--- #+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 =2D-8<---------------cut here---------------end--------------->8--- which when it is tangled shows - =E2=95=AD=E2=94=80=E2=94=80=E2=94=80=E2=94=80 =E2=94=82Invalid read syntax: . in wrong context =E2=95=B0=E2=94=80=E2=94=80=E2=94=80=E2=94=80 and using "bug-hunter-file" on my "init.el" shows =2D-8<---------------cut here---------------start------------->8--- "/home/boudiccas/.emacs.d/org/init.el", line 8029 pos 0: There's a . in wrong context on this position, and that is not valid elis= p syntax. =2D-8<---------------cut here---------------end--------------->8--- But I've looked at https://github.com/jwiegley/use-package and laid it out according to that page, but its still failing, and I don't understand why. I'm obviously missing something in my understanding, but why is it still failing, and how do I get it to run properly please? Thanks Sharon. =2D-=20 A taste of linux =3D http://www.sharons.org.uk TGmeds =3D http://www.tgmeds.org.uk Debian 8.0, fluxbox 1.3.7, emacs 24.5.50.3 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVwNPQAAoJEDaBgBkK+INbBb4QAL97G0abKDF3wKeYBa2vpFro SVlgfK8gkb/xclIl6fTjM0q7sxrbk2ze+wSndd2Kz0cReP+TE4HZI+DckaliJjtD cQyauIlPGE78KUg0GBgKwr10ww77F0zuFa7UzdK1J5alSq8iQPHWhM8Xvp+Ou6xP ilatphndgncUuMObLVLvDPpRhbrGuql1GM2EQ4uLw7qmWzBHfKZh+wski/zo7oSg oKDJuUZcVAgSpSwx72mTTMznsOoPddKfeX6KC0WsrBi8+oOewsCYnRHfV+1cRG2U 0FuBHKaXrjuKJ2dsYu3JoWChtuMqoPJerky0xvua4EsgpbrMmItvykZ0azO16Iqv 68V4H8V6tuVymVXBimXLWNMbIyxPbYRMlt00BL5pX54ptiL0c7h6oVds7M52bJFN 5CqroK7j0UrTzf5eUsFsIQQMJRYKdmQw0PKThujXnPXg2KgQ6b18RXjjh9LhrxTN MU5mtwMdHTpO7u5tRDefZSQc6w0N5YGx5Ha+0DWRAF/luiFVGPLMJxy+Wenex0g6 oL7pexGkhv6S9Y7Pd+C0ly6lz7SlQ8o5OhrxsT3jByhGsBuGEwf6zGVg/ZquDt2D 34+jLF7HJpcc3Mfa8IAE0H4mCz3mz6P+X7nZdsyEuZQd41k4HSNLHKu3XzMcYfoY 5V0dsFoba2Cg6c2UJjo8 =0fab -----END PGP SIGNATURE----- --=-=-=--