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: Wed, 29 Jun 2016 18:20:11 +0100 Message-ID: <9914050ecfe4ddba4ed7e49d67593bfa.squirrel@cloud103.planethippo.com> References: <20150805055619.13567.17B26335@ahiker.mooo.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> <6812480c-88da-4fd4-9c4e-3c6d125f82c7@default> 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 1467220859 24637 80.91.229.3 (29 Jun 2016 17:20:59 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 17:20:59 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, Stefan Monnier , phillip.lord@russet.org.uk To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 29 19:20: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 1bIJAL-0000Qn-II for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jun 2016 19:20:45 +0200 Original-Received: from localhost ([::1]:45118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJAK-0002c1-Pq for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jun 2016 13:20:44 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57457) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJ9u-0002bs-N3 for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:20:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIJ9q-0004IY-Fq for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:20:17 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:48480) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJ9q-0004IT-6K for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:20:14 -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=/2v6zx9NhiUNrXrdS9YbHApZttobDvV/JOlDZVAZGZ0=; b=CMTzM3dDzBr9vuI22/QDFE2jw7 NFTX1Tdxi+oGDy6ebCv/t1EBP9/B7t1Wo5qdjsx3n1ezaEIgRhFadRhKxSL9q1O5nG9A0s3KYN1AB 2+ydBCDBPZNHh0FZFWvfbmGirtI4kaxb7UKGcpoJ0Gcw0p3ODw5n2sEi4Pen8I2DfJ80sfgLTW1Fe JFCNcpueVpd2ghmYwDyDi7kqbMQ7gq2tEGY4M+Vk26LTeP5HwqH2PeSSGzCqJ8JAal3AWZG2LgkjA 3O1n9ArgRu1d2PGoE/uxuG3eQuxGBfA97Yjx0XJLitvIResqHvvHOzmUGFc+HvWbTmPPkk2KiSLvD eCgFgDpQ==; Original-Received: from [127.0.0.1] (port=41612 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1bIJ9n-001OUg-DY; Wed, 29 Jun 2016 18:20:11 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Wed, 29 Jun 2016 18:20:11 +0100 In-Reply-To: <6812480c-88da-4fd4-9c4e-3c6d125f82c7@default> 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:110663 Archived-At: On Wed, June 29, 2016 6:15 pm, Drew Adams wrote: >> What about something like this below? We can now do something like: >> (extend-key 'fake-feature-map "\C-f" 'foward-char) >> It has the same syntax as define-key >> > > Not really. The first arg to `define-key' is a keymap. > The first arg to your `extend-key' is a symbol. Yes, of course. It has to be macro'd to avoid that. Easily done. Just a starter for 10, alternatives welcome. Phil