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: use-package: load package on key prefix Date: Mon, 9 May 2016 05:53:44 -0700 (PDT) Message-ID: <82a29211-4bf1-4d81-8262-d983bf18d010@googlegroups.com> References: <20160507140453.2ccfcc44@gauss> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: ger.gmane.org 1464882335 29529 80.91.229.3 (2 Jun 2016 15:45:35 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 15:45:35 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 17:45:34 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 1b8UoM-0005YE-QE for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 17:45:30 +0200 Original-Received: from localhost ([::1]:48113 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8UoM-0007iN-0w for geh-help-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 11:45:30 -0400 X-Received: by 10.66.144.2 with SMTP id si2mr22690160pab.23.1462798424542; Mon, 09 May 2016 05:53:44 -0700 (PDT) X-Received: by 10.50.90.5 with SMTP id bs5mr120793igb.5.1462798424402; Mon, 09 May 2016 05:53:44 -0700 (PDT) Original-Path: usenet.stanford.edu!sq19no4405489igc.0!news-out.google.com!k10ni329igv.0!nntp.google.com!i5no6138959ige.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=117.195.63.46; posting-account=mBpa7woAAAAGLEWUUKpmbxm-Quu5D8ui Original-NNTP-Posting-Host: 117.195.63.46 User-Agent: G2/1.0 Injection-Date: Mon, 09 May 2016 12:53:44 +0000 Original-Xref: usenet.stanford.edu gnu.emacs.help:217647 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:110207 Archived-At: On Monday, May 9, 2016 at 6:16:08 PM UTC+5:30, Stefan Monnier wrote: > > I use the p4 (perforce) package which uses C-x p as a prefix for its > > bound keys. Can use-package be configured so that it loads the > > package (which presumably assigns the key-bindings) when C-x p is pressed? > > I don't know if use-package supports it, but Emacs can definitely do > that (it's called "autoloaded keymaps"), and if it makes sense for > p4.el, than I'd argue that you should report a bug against p4.el saying > that p4.el should do that (rather than dump that responsability on the user). Joel did say he *uses* p4. So he is the user!