From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alp Aker Newsgroups: gmane.emacs.bugs Subject: bug#17365: 24.3; Visiting tags table in combination with fill column indicator causes Emacs to hang Date: Tue, 29 Apr 2014 15:10:17 -0400 Message-ID: References: <87lhupxjfm.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me> <2w8uqot7yb.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b6d87deaf2b0d04f8332e1b X-Trace: ger.gmane.org 1398798693 12049 80.91.229.3 (29 Apr 2014 19:11:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Apr 2014 19:11:33 +0000 (UTC) Cc: 17365@debbugs.gnu.org To: Jon Dufresne Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 29 21:11:25 2014 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 1WfDR1-0006q2-R2 for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 21:11:20 +0200 Original-Received: from localhost ([::1]:52030 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfDR1-00016u-Bg for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Apr 2014 15:11:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46615) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfDQs-00016G-6A for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 15:11:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WfDQk-0001I2-FY for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 15:11:10 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:56276) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WfDQk-0001Hm-C2 for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WfDQj-0007dx-T7 for bug-gnu-emacs@gnu.org; Tue, 29 Apr 2014 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alp Aker Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 29 Apr 2014 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17365 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17365-submit@debbugs.gnu.org id=B17365.139879862529326 (code B ref 17365); Tue, 29 Apr 2014 19:11:01 +0000 Original-Received: (at 17365) by debbugs.gnu.org; 29 Apr 2014 19:10:25 +0000 Original-Received: from localhost ([127.0.0.1]:45394 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfDQ8-0007cv-Rm for submit@debbugs.gnu.org; Tue, 29 Apr 2014 15:10:25 -0400 Original-Received: from mail-wi0-f178.google.com ([209.85.212.178]:52593) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WfDQ6-0007cf-TJ for 17365@debbugs.gnu.org; Tue, 29 Apr 2014 15:10:23 -0400 Original-Received: by mail-wi0-f178.google.com with SMTP id bs8so1008784wib.5 for <17365@debbugs.gnu.org>; Tue, 29 Apr 2014 12:10:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=V7YlraVEc4QNrTssyDd6fXfy7nLmdgU/rfW7DUWWdts=; b=Xn25VsyxFwqtfnZey1FnoMJhAIO8Q4d5IrG4Aq6RmNjWJb+HI1uhQb3n1FnwF+k83x Gdd8IwxJ5Ulw1jhXVw6iyqOdNFqt+pLX/Sz09WlTyw//GCDjkj26F+V06OJxRJHSoLXB 6S5d6MHJ6YNNeA76HnyQXAa4JH4KwQXSfnxhlch97MQ3WR+HIc1dkMzM2XZq7g5UhWe/ AQgm0rTMHbXWec5CDiWiJUwawdrrytzFMvAQK0vwnve7RXgWBvXY/oPxNuZ41NRZFIiX NopCyXeFgWLgWduJyWIzBlWzQuh8qZuLMFjgjGfb+zBwAfEOZmk1p7NZfIxMQ31sNX4R jDAw== X-Received: by 10.194.203.170 with SMTP id kr10mr1018747wjc.19.1398798617093; Tue, 29 Apr 2014 12:10:17 -0700 (PDT) Original-Received: by 10.216.40.143 with HTTP; Tue, 29 Apr 2014 12:10:17 -0700 (PDT) In-Reply-To: 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:88453 Archived-At: --047d7b6d87deaf2b0d04f8332e1b Content-Type: text/plain; charset=UTF-8 > Debugger entered--Lisp error: (quit) > > fci-put-overlays-region(2807 7574591) > fci-redraw-region(2807 7574565 0) > insert-file-contents("/home/jon/devel/erezlife/development/TAGS" t nil nil t) > revert-buffer-insert-file-contents--default-function("/home/jon/devel/erezlife/development/TAGS" > nil) > revert-buffer--default(t t) > revert-buffer(t t) I'm the author of the package in question. This is, I think, a use case I hadn't considered. Jon, could you replace the definition of fci-redraw-region with the following and try your recipe again? (defun fci-redraw-region (start end _ignored) (when (fci-get-buffer-windows t) (save-match-data (save-excursion (let ((inhibit-point-motion-hooks t)) (goto-char end) (setq end (line-beginning-position 2)) (fci-delete-overlays-region start end) (fci-put-overlays-region start end)))))) --047d7b6d87deaf2b0d04f8332e1b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
> Debugger entered--Lisp error: (quit)
>= ;
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fci-put-overlays-region(2807 757459= 1)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 fci-redraw-region(2807 7574565 0)<= br>>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 insert-file-contents("/home/jon/= devel/erezlife/development/TAGS" t nil nil t)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 revert-buffer-insert-file-contents--defa= ult-function("/home/jon/devel/erezlife/development/TAGS"
>= =C2=A0=C2=A0=C2=A0 nil)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 revert-buffer= --default(t t)
>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 revert-buffer(t t)
=
I'm the author of the package in question.=C2=A0 This is, I t= hink, a use case I hadn't considered.

Jon, could you replace the definition of fci-redraw-region with the fol= lowing and try your recipe again?

(defun fci-redraw-region (start en= d _ignored)
=C2=A0 (when (fci-get-buffer-windows t)
=C2=A0=C2=A0=C2= =A0 (save-match-data
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (save-excursion
=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0 (let ((inhibit-point-motion-hooks t))
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (goto-char end)
=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (setq end (line-beginning-position = 2))
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (fci-delete-o= verlays-region start end)
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 (fci-put-overlays-region start end))))))


--047d7b6d87deaf2b0d04f8332e1b--