From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: E Sabof Newsgroups: gmane.emacs.bugs Subject: bug#14170: 24.3; linum won't create all overlays after a folding Date: Thu, 11 Apr 2013 04:23:13 +0100 Message-ID: References: <8338uxbx15.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf306f74cc8b2bec04da0d4eea X-Trace: ger.gmane.org 1365650680 8334 80.91.229.3 (11 Apr 2013 03:24:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Apr 2013 03:24:40 +0000 (UTC) Cc: 14170@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 11 05:24:43 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 1UQ87s-0005rC-CR for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Apr 2013 05:24:40 +0200 Original-Received: from localhost ([::1]:37040 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ87r-0007pE-JG for geb-bug-gnu-emacs@m.gmane.org; Wed, 10 Apr 2013 23:24:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:54585) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ87l-0007p3-Ry for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 23:24:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UQ87g-0000xr-Di for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 23:24:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UQ87g-0000xc-9S for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 23:24:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UQ8BK-00071b-87 for bug-gnu-emacs@gnu.org; Wed, 10 Apr 2013 23:28:14 -0400 X-Loop: help-debbugs@gnu.org Resent-From: E Sabof Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Apr 2013 03:28:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14170 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix Original-Received: via spool by 14170-submit@debbugs.gnu.org id=B14170.136565084526300 (code B ref 14170); Thu, 11 Apr 2013 03:28:13 +0000 Original-Received: (at 14170) by debbugs.gnu.org; 11 Apr 2013 03:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:44506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ8AO-0006oZ-B2 for submit@debbugs.gnu.org; Wed, 10 Apr 2013 23:27:22 -0400 Original-Received: from mail-qe0-f52.google.com ([209.85.128.52]:39744) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ8A9-0006kl-3P for 14170@debbugs.gnu.org; Wed, 10 Apr 2013 23:27:11 -0400 Original-Received: by mail-qe0-f52.google.com with SMTP id jy17so657233qeb.25 for <14170@debbugs.gnu.org>; Wed, 10 Apr 2013 20:23:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=gmP9iRHENuAAuWdAxtaaF3XsEiMkaeUcsTTL4AgxfyQ=; b=jiOiYI20+VNYv1CJtMe0PhJPSjtpPhY8m4jP707aYYG8Pp92HEDd/40tB1EoIa910d OIRv0aOtiP9jveXGBpNbK/FNhBuGGV8zo1IiLvj8E12AcBspjsXCWLE3r5pg2E6qni+D l5s0Z1LppXPwT+Vwq+Cwsv+CtKgbwZqz6VWWvbsUls4DHaSdZMkZ+19Fz4UB9xhkoXiI hcvKlcVdza6BptsZh2GR01vVO5d6KSF+eeC0rSSJ55S8NL7NNpl0iGT+EkZY+p2blmcq hpBOZ7eG9XOdCoos7ajUeNOQwdE6AfVOWo1d9q/iOj+49lrUMmjxnCIvJ56/xZi9bBlr oslg== X-Received: by 10.224.39.146 with SMTP id g18mr5420678qae.31.1365650594014; Wed, 10 Apr 2013 20:23:14 -0700 (PDT) Original-Received: by 10.49.2.164 with HTTP; Wed, 10 Apr 2013 20:23:13 -0700 (PDT) In-Reply-To: <8338uxbx15.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:73322 Archived-At: --20cf306f74cc8b2bec04da0d4eea Content-Type: text/plain; charset=ISO-8859-1 Here it is: (defun 14170-mini () (interactive) (remove-overlays) (let* ((win-end-initial (window-end nil t)) (test-ov (make-overlay (point) (+ (point) 1000)))) (overlay-put test-ov 'display "...") (cl-assert (not (= win-end-initial (window-end nil t)))) )) Will fail most of the time. Evgeni On Thu, Apr 11, 2013 at 3:50 AM, Eli Zaretskii wrote: > > Date: Thu, 11 Apr 2013 02:37:55 +0100 > > From: E Sabof > > Cc: 14170@debbugs.gnu.org > > > > The reason I've noticed/reported this bug was because I was working on a > > mode with a similar implementation to linum's, and got the same behavior. > > This is not a linum bug. > > Can you show a simple test case to reproduce this bug without using > linum (or any other mode that is too large)? > > A simple reproduction recipe is 50% of a solution. > > Thanks. > --20cf306f74cc8b2bec04da0d4eea Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Here it is:

(def= un 14170-mini ()
=A0 (interactive)
=A0 (remove-overlays= )
=A0 (let* ((win-end-initial (window-end nil t))
=A0 = =A0 =A0 =A0 =A0(test-ov (make-overlay (point) (+ (point) 1000))))
=A0 =A0 (overlay-put test-ov 'display "...")
= =A0 =A0 (cl-assert (not (=3D win-end-initial (window-end nil t))))
=A0 =A0 ))

Will fail most of the time.

Evgeni


<= div class=3D"gmail_quote">On Thu, Apr 11, 2013 at 3:50 AM, Eli Zaretskii <eliz@= gnu.org> wrote:
> Date: Thu, 11 Apr 2013 02:37:55 +0100 > From: E Sabof <esabof@gmail.com= >
> Cc: 14170@debbugs.gnu.org=
>
> The reason I've noticed/reported this bug was because I was workin= g on a
> mode with a similar implementation to linum's, and got the same be= havior.
> This is not a linum bug.

Can you show a simple test case to reproduce this bug without using linum (or any other mode that is too large)?

A simple reproduction recipe is 50% of a solution.

Thanks.

--20cf306f74cc8b2bec04da0d4eea--