From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: using use-package Date: Wed, 29 Jun 2016 10:15:17 -0700 (PDT) Message-ID: <6812480c-88da-4fd4-9c4e-3c6d125f82c7@default> 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1467220573 20086 80.91.229.3 (29 Jun 2016 17:16:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2016 17:16:13 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: phillip.lord@russet.org.uk, Stefan Monnier Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 29 19:15:57 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 1bIJ5e-0005KH-Vi for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jun 2016 19:15:55 +0200 Original-Received: from localhost ([::1]:45098 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJ5d-0000Qh-HH for geh-help-gnu-emacs@m.gmane.org; Wed, 29 Jun 2016 13:15:53 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56258) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJ5B-0000HH-9o for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:15:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bIJ58-00035H-3X for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:15:25 -0400 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:40005) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bIJ57-000357-RN for help-gnu-emacs@gnu.org; Wed, 29 Jun 2016 13:15:22 -0400 Original-Received: from aserv0022.oracle.com (aserv0022.oracle.com [141.146.126.234]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u5THFJwt031574 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 29 Jun 2016 17:15:20 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0022.oracle.com (8.13.8/8.13.8) with ESMTP id u5THFJhc008692 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 29 Jun 2016 17:15:19 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u5THFIPT006168; Wed, 29 Jun 2016 17:15:19 GMT In-Reply-To: <87furwvsh3.fsf@russet.org.uk> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9 (901082) [OL 12.0.6744.5000 (x86)] X-Source-IP: aserv0022.oracle.com [141.146.126.234] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 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:110662 Archived-At: > 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.