From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Make `C-x {' and `C-x }' repeatable Date: Wed, 22 May 2013 18:08:13 -0400 Message-ID: References: <87mwrombc3.fsf@mail.jurta.org> <87r4gyondh.fsf@mail.jurta.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1369260510 5014 80.91.229.3 (22 May 2013 22:08:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 May 2013 22:08:30 +0000 (UTC) Cc: Juri Linkov , Gauthier =?iso-8859-1?Q?=D6stervall?= , emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu May 23 00:08:28 2013 Return-path: Envelope-to: ged-emacs-devel@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 1UfHCu-00028b-Lu for ged-emacs-devel@m.gmane.org; Thu, 23 May 2013 00:08:28 +0200 Original-Received: from localhost ([::1]:35711 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfHCu-0007lp-6V for ged-emacs-devel@m.gmane.org; Wed, 22 May 2013 18:08:28 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51991) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfHCl-0007le-EP for emacs-devel@gnu.org; Wed, 22 May 2013 18:08:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UfHCg-0004ZN-PW for emacs-devel@gnu.org; Wed, 22 May 2013 18:08:19 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:45483) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UfHCg-0004ZD-L7 for emacs-devel@gnu.org; Wed, 22 May 2013 18:08:14 -0400 Original-Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r4MM8En7015608; Wed, 22 May 2013 18:08:14 -0400 Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id DF0D4B4030; Wed, 22 May 2013 18:08:13 -0400 (EDT) In-Reply-To: (Drew Adams's message of "Wed, 22 May 2013 14:39:14 -0700 (PDT)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4587=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4587> : streams <965650> : uri <1427406> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:159735 Archived-At: >> But it seems repeat.el can't be used if there are different commands >> in the key sequence. > No (i.e., correct), at least not the way I did it. Indeed. But I don't think it's a big deal: set-temporary-overlay-map makes it easy enough that you shouldn't need to use repeat.el programatically (i.e. repeat.el is only useful as an implementation of the C-x z command). Stefan