From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Rusi Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Tue, 28 Jun 2016 06:02:00 -0700 (PDT) Message-ID: 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=UTF-8 X-Trace: ger.gmane.org 1467119152 9328 80.91.229.3 (28 Jun 2016 13:05:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2016 13:05:52 +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 Jun 28 15:05:51 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 1bHsi5-0007mH-8M for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 15:05:49 +0200 Original-Received: from localhost ([::1]:36649 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bHsi4-0006et-BX for geh-help-gnu-emacs@m.gmane.org; Tue, 28 Jun 2016 09:05:48 -0400 X-Received: by 10.66.191.38 with SMTP id gv6mr2327062pac.35.1467118921156; Tue, 28 Jun 2016 06:02:01 -0700 (PDT) X-Received: by 10.36.57.15 with SMTP id l15mr67849ita.7.1467118921110; Tue, 28 Jun 2016 06:02:01 -0700 (PDT) Original-Path: usenet.stanford.edu!jk6no5163278igb.0!news-out.google.com!o189ni7266ith.0!nntp.google.com!jk6no5163271igb.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=123.201.197.73; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 123.201.197.73 User-Agent: G2/1.0 Injection-Date: Tue, 28 Jun 2016 13:02:01 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:218329 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:110638 Archived-At: On Tuesday, August 11, 2015 at 2:55:50 AM UTC+5:30, Stefan Monnier wrote: > > No, you are missing (several) points of use-package. > > I didn't miss those points. I was just pointing out that use-package > won't make it into core as is because too much of it provides ways to do > things which should be done some other way. > > > Stefan 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 Symbol's value as variable is void: ... I finally came to: (use-package ebuff-menu :bind (("C-x C-b" . electric-buffer-list) :map electric-buffer-menu-mode-map ("X" . save-buffers-kill-emacs))) So what's the correct non-use-package way of doing this?