From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#14095: 24.3.50; REGRESSION: `repeat' broken by use of `set-temporary-overlay-map' Date: Thu, 13 Jun 2013 20:42:04 -0700 (PDT) Message-ID: <4cbccd0a-9143-4572-a589-471072bd0aea@default> References: <0485CA7465A447CEAB3F0CCAFFEF4DDE@us.oracle.com> 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 1371181391 6316 80.91.229.3 (14 Jun 2013 03:43:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 14 Jun 2013 03:43:11 +0000 (UTC) Cc: 14095-done@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 14 05:43:08 2013 Return-path: Envelope-to: geb-bug-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 1UnKup-0006eH-U2 for geb-bug-gnu-emacs@m.gmane.org; Fri, 14 Jun 2013 05:43:08 +0200 Original-Received: from localhost ([::1]:55658 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnKup-00068o-GZ for geb-bug-gnu-emacs@m.gmane.org; Thu, 13 Jun 2013 23:43:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnKul-00068i-Ss for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 23:43:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UnKuk-00032k-SE for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 23:43:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58149) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UnKuk-00032g-P7 for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 23:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UnKuk-0003J1-E9 for bug-gnu-emacs@gnu.org; Thu, 13 Jun 2013 23:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 14 Jun 2013 03:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14095 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14095-done@debbugs.gnu.org id=D14095.137118133712581 (code D ref 14095); Fri, 14 Jun 2013 03:43:02 +0000 Original-Received: (at 14095-done) by debbugs.gnu.org; 14 Jun 2013 03:42:17 +0000 Original-Received: from localhost ([127.0.0.1]:42815 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnKu0-0003Go-V9 for submit@debbugs.gnu.org; Thu, 13 Jun 2013 23:42:17 -0400 Original-Received: from userp1040.oracle.com ([156.151.31.81]:43719) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UnKty-0003GM-5f for 14095-done@debbugs.gnu.org; Thu, 13 Jun 2013 23:42:14 -0400 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id r5E3g4ox009062 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 14 Jun 2013 03:42:05 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5E3g5Qh006127 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 14 Jun 2013 03:42:06 GMT Original-Received: from abhmt107.oracle.com (abhmt107.oracle.com [141.146.116.59]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r5E3g5N2018478; Fri, 14 Jun 2013 03:42:05 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.7 (607090) [OL 12.0.6668.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:75095 Archived-At: > > C-s C-y C-e C-e C-e > > That works if the old definition of `repeat' is used. It does not work >=20 > This should work now, thank you, I want to say thank you! But unfortunately there is still a problem, in this build (which I believe includes your fix): In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2013-06-13 on ODIEONE Bzr revision: 112978 xfq.free@gmail.com-20130613224333-3yfl8navh3c1vmxy Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs CFLAGS=3D'-O0 -g3' CPPFLAGS=3D'-Ic:/Devel/emacs/include' LDFLAGS=3D'-Lc:/Devel/emacs/lib'' >From `emacs -Q', I do this: (defun isearchp-repeat-command (command) "..." (let ((repeat-message-function 'ignore)) (setq last-repeatable-command command) (repeat nil))) (defun isearchp-yank-line () "..." (interactive) (require 'repeat nil t) (isearchp-repeat-command 'isearch-yank-line)) (define-key isearch-mode-map "\C-y" nil) (define-key isearch-mode-map (kbd "C-y C-e") 'isearchp-yank-line) Things seem to work pretty much as they should, but if you do `C-s C-y C-e C-e' then as soon as you hit the second `C-e' you see this error msg: "Stack overflow in equal", which comes from `set-temporary-overlay-map'. With non-nil `debug-on-error' you get a backtrace like this: Debugger entered--Lisp error: (error "Stack overflow in equal") add-hook(pre-command-hook #[0 "... [(keymap (5 . #[0 "..." [ignore repeat-message-function this-command real-this-command repeat call-interactively] 3 "\n\n(fn)" nil])) nil nil (#0) this-command nil t lookup-key this-command-keys-vector remove-hook pre-command-hook internal-pop-keymap overriding-terminal-local-map] 4 "\n\n(fn)"]) (I copied that backtrace from a session using my setup, not emacs -Q, but it looks, superficially at least, the same as what I see with emacs -Q.) Hope this helps. I will leave the bug closed for now. Thanks for working on this.