From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: using use-package Date: Thu, 30 Jun 2016 14:32:54 -0400 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> <0566e644-b87b-46f9-91a5-b9c38befd55e@googlegroups.com> <18cc3e7d62270dbe3e40bb2b73087b60.squirrel@cloud103.planethippo.com> <4deb171d07e312f6e3cd3bae4317ac40.squirrel@cloud103.planethippo.com> <87furwvsh3.fsf@russet.org.uk> <87furun58o.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1467311632 15245 80.91.229.3 (30 Jun 2016 18:33:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jun 2016 18:33:52 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: phillip.lord@russet.org.uk (Phillip Lord) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jun 30 20:33:41 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 1bIgmQ-0003fw-1D for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 20:33:38 +0200 Original-Received: from localhost ([::1]:52050 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIgmL-0008OU-Pc for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Jun 2016 14:33:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47314) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIglu-0008OO-6X for help-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:33:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIglo-0000Yz-7N for help-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:33:05 -0400 Original-Received: from smtp-as-02-03.vtxnet.net ([194.38.175.142]:38579 helo=smtp-as-02.vtxnet.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIglo-0000Yf-0j for help-gnu-emacs@gnu.org; Thu, 30 Jun 2016 14:33:00 -0400 Original-Received: from smtp-as-02.vtxnet.net (localhost [127.0.0.1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-as-02.vtxnet.net (Postfix) with ESMTPS id B89A24C36C; Thu, 30 Jun 2016 20:32:57 +0200 (CEST) Original-Received: from smtp-pri-01.vtxnet.net (smtp-pri-01.vtxnet.net [212.147.62.135]) by smtp-as-02.vtxnet.net (Postfix) with ESMTP id D95444C35C; Thu, 30 Jun 2016 20:32:55 +0200 (CEST) Original-Received: from fmsmemgm.homelinux.net (dyn.144-85-234-142.dsl.vtx.ch [144.85.234.142]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp-pri-01.vtxnet.net (VTX Services SA) with ESMTP id CBF3ECFCEC; Thu, 30 Jun 2016 20:32:55 +0200 (CEST) Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id E2CD7AE2B8; Thu, 30 Jun 2016 14:32:54 -0400 (EDT) In-Reply-To: <87furun58o.fsf@russet.org.uk> (Phillip Lord's message of "Thu, 30 Jun 2016 15:03:35 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 194.38.175.142 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:110674 Archived-At: > Oh, sure. But it requires no support at the other end -- it will work > with existing packages. I think we need something that has this > capability. I can see no way of achieving this wit I agree that it would be difficult to make it work right without changing the packages's source code. But I'd rather make it work right. >> I think a cleaner way would be to introduce a `define-keymap'. > I'd agree with this. It would be simple to get this to work with > something like extend-key so that > > (extend-key my-mode-map "e" 'excellent) > > (define-keymap my-mode-map) > > would work, without the use of the after-load-functions hook. Yes, that sounds good. Stefan