From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Tue, 28 Jun 2016 14:10:35 +0100 Message-ID: <2d1b54be3953d921fa5a4d070288378f.squirrel@cloud103.planethippo.com> References: <20150805055619.13567.17B26335@ahiker.mooo.com> <17131863-cbb8-4a85-8470-490fe9a0c0d4@googlegroups.com> <66dceb24-5fef-4316-8c8b-e9a3e62b0fb8@googlegroups.com> <3594e2c6-bd02-412f-98df-9dd0f145277a@googlegroups.com> <01b4d996-aad3-44ff-a580-7950b25b7dc8@googlegroups.com> <87r3nbh3n3.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1467119488 14590 80.91.229.3 (28 Jun 2016 13:11:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 13:11:28 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Rusi" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 28 15:11:21 2016 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 1bHsnQ-0002wX-Uu for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 15:11:21 +0200 Original-Received: from localhost ([::1]:36673 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsnP-0002i4-P7 for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 09:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35693) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsmp-0002gU-3Q for help-gnu-emacs@gnu.org; Tue, 28 Jun 2016 09:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bHsmj-0004Xp-19 for help-gnu-emacs@gnu.org; Tue, 28 Jun 2016 09:10:41 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:60038) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsmi-0004Xi-HQ for help-gnu-emacs@gnu.org; Tue, 28 Jun 2016 09:10:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=/+G9+/p+A1Z+kYCetPNBPF6gT9R4w/gmIportp/OrZs=; b=K5K5Apkw3Cm38Jx8Q2dCQOQAvZ 8SA5PfoYXhkj3b9daCb8Xek9D02ndv32FKzI06U2neCjEmwA+xFgLq0MCI8vCthdstcMKNy4Hrn60 6+EniItycuYY+4PS6XiuBRVMHA+mbp5BCX6x2fSaqJWpmCi1ZO/zdUyZI/aGIumgrBbkbV6tHhvhD G5igw+dQU5fSbBj6OqSh0yF5+fMGPBIek8stTObn9GtTM2hVUVnnM4lo3MC1rpy0+PPQnJeygaNm6 J3+MvTFWBNyEIVX4qCZ+m5SsKKl1ZZHAFoladZs+aI5EenmNM/k6YwRb8U39sRaR5AgjltdWTLVQn omKUSY8Q==; Original-Received: from [127.0.0.1] (port=53167 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1bHsmh-001RsU-E2; Tue, 28 Jun 2016 14:10:35 +0100 Original-Received: from 128.240.225.113 ([128.240.225.113]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Tue, 28 Jun 2016 14:10:35 +0100 In-Reply-To: User-Agent: SquirrelMail/1.5.2 [SVN] X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:110639 Archived-At: On Tue, June 28, 2016 2:02 pm, Rusi wrote: > On Tuesday, August 11, 2015 at 2:55:50 AM UTC+5:30, Stefan Monnier wrote: > > Returning to this old thread: > I was trying to do: > > > (global-set-key (kbd "C-x C-b") 'electric-buffer-list) > (define-key electric-buffer-menu-mode-map (kbd "X") > 'save-buffers-kill-emacs) > > > 1st line -- ok > 2nd naturally gives an error on startup > `eval-after-load' or `with-eval-after-load'. use-package does this nicely, though. I've reduced my eval-after-load usage substantially for use-package.