From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.bugs Subject: bug#12463: 24.2; pos-visible-in-window-p gets slower over time Date: Wed, 19 Sep 2012 04:31:44 +0200 Message-ID: References: <87wqzs1a4c.fsf@queen.i-did-not-set--mail-host-address--so-tickle-me> <87d31jcqce.fsf@gnu.org> <83627b1eyk.fsf@gnu.org> <17979218.71hQQLqaqS@queen> <83392f1c6r.fsf@gnu.org> <83zk4nyud0.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1348021965 27185 80.91.229.3 (19 Sep 2012 02:32:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Sep 2012 02:32:45 +0000 (UTC) Cc: jwalt@garni.ch, 12463@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 19 04:32:49 2012 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 1TEA5n-0002YN-KG for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Sep 2012 04:32:47 +0200 Original-Received: from localhost ([::1]:40470 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEA5j-0002i7-4L for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Sep 2012 22:32:43 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEA5h-0002i2-0L for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 22:32:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEA5g-0007g1-6N for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 22:32:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:32952) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEA5g-0007fx-2v for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 22:32:40 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TEA70-0006BE-Mr for bug-gnu-emacs@gnu.org; Tue, 18 Sep 2012 22:34:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Sep 2012 02:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12463 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12463-submit@debbugs.gnu.org id=B12463.134802203623745 (code B ref 12463); Wed, 19 Sep 2012 02:34:02 +0000 Original-Received: (at 12463) by debbugs.gnu.org; 19 Sep 2012 02:33:56 +0000 Original-Received: from localhost ([127.0.0.1]:42498 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEA6s-0006Av-P1 for submit@debbugs.gnu.org; Tue, 18 Sep 2012 22:33:56 -0400 Original-Received: from mail-wg0-f46.google.com ([74.125.82.46]:50867) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEA6n-0006Ak-7e for 12463@debbugs.gnu.org; Tue, 18 Sep 2012 22:33:50 -0400 Original-Received: by wgbdt12 with SMTP id dt12so364552wgb.15 for <12463@debbugs.gnu.org>; Tue, 18 Sep 2012 19:32:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=lIcxgDYBgwQZxb9MamtIX+pwnJhGoM4Lytj9MuALZow=; b=trWjl3ZIlPnDZ8j7k5+R4LT2WEKSz2Jmd5OCAzT0OXvTIjUQFwIxtMBwb8Aam3FbFq usNlNW1wlG9S/J/koK1kImRAXbOnq8JvnM9DiTpeqDJH+xDuDDCXxgTo+zdqzRPAh16Q DRCJgByT3MrNjq3vk4BypOzLXca9l5S5/gzjc3EfFJPaObMLHcl/rhSHhJE3L1bjI1iF e11ymvLzpbmuEz9j4WL/dRt0+LBo9A10FTtjy5VtHW5/yi5LblHgMyuUmGE82BH6gMKj g+rJMzoiX9GumWKWAPo0gEMq3w6xgdBNDZ8DxEjZ7UbnKs+hRFVp7ScFJ21i4gDk81dV k67A== Original-Received: by 10.180.85.167 with SMTP id i7mr3409993wiz.8.1348021944814; Tue, 18 Sep 2012 19:32:24 -0700 (PDT) Original-Received: by 10.223.203.133 with HTTP; Tue, 18 Sep 2012 19:31:44 -0700 (PDT) In-Reply-To: <83zk4nyud0.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 (newer, 2) 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:64585 Archived-At: On Tue, Sep 18, 2012 at 10:00 PM, Eli Zaretskii wrote: > Since J=C3=B6rg published the solution, I don't see any special reasons t= o > hurry: anyone who needs it can apply the patches to their sandbox. J=C3=B6rg's fix solves the reported bug, but he's apparently unaware that Vlibrary_cache is not just used for images, so renaming it to loaded_image_types and making it private to image.c is a no-no. The patch is trivial (J=C3=B6rg's deletion of Windows-specific #ifdef's, plus moving the declaration of Vlibrary_cache outside w32.c/h and to a more general file). But I'm not sure where to put it; image.c is not safe because you can have a non-HAVE_WINDOW_SYSTEM build supporting libxml2 or GnuTLS. Suggestions? Juanma