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: Fri, 21 Sep 2012 19:07:28 +0200 Message-ID: References: <87wqzs1a4c.fsf@queen.i-did-not-set--mail-host-address--so-tickle-me> <83mx0n22p0.fsf@gnu.org> <87d31jcqce.fsf@gnu.org> <4023344.MyoQPQRfcJ@queen> <87sjac1185.fsf@gnu.org> <878vc4ylr6.fsf@gnu.org> <87r4pvitjk.fsf@gnu.org> <838vc3xq8p.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1348247320 7634 80.91.229.3 (21 Sep 2012 17:08:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 17:08:40 +0000 (UTC) Cc: Chong Yidong , 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 Fri Sep 21 19:08:44 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 1TF6iU-0003r5-9z for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 19:08:38 +0200 Original-Received: from localhost ([::1]:37485 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF6iP-0004JS-Ol for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 13:08:33 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:52352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF6iI-0004H1-6r for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:08:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TF6iG-0001GB-RZ for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:08:26 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37794) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TF6iG-0001G2-OI for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:08:24 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TF6jq-0006jV-7L for bug-gnu-emacs@gnu.org; Fri, 21 Sep 2012 13:10: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: Fri, 21 Sep 2012 17:10: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.134824739125858 (code B ref 12463); Fri, 21 Sep 2012 17:10:02 +0000 Original-Received: (at 12463) by debbugs.gnu.org; 21 Sep 2012 17:09:51 +0000 Original-Received: from localhost ([127.0.0.1]:47340 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF6je-0006j0-TK for submit@debbugs.gnu.org; Fri, 21 Sep 2012 13:09:51 -0400 Original-Received: from mail-bk0-f44.google.com ([209.85.214.44]:34622) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TF6jc-0006is-Dh for 12463@debbugs.gnu.org; Fri, 21 Sep 2012 13:09:49 -0400 Original-Received: by bkty12 with SMTP id y12so1857594bkt.3 for <12463@debbugs.gnu.org>; Fri, 21 Sep 2012 10:08:09 -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; bh=9fQFxTJMNg889Zy7X2DGYpm4pVhqg/O/O3rnUsvY69o=; b=eMN7WqyStcUP/ysod27QzEW1PAkoeK115f5KKZ4P6T5xUOOvAWeUZ8ns9lOiWBWHWw 0ghujmsu5CXqNirjWjfAHamslkUfMgaMH2n38tpBUdYoMx9vT1OCFHOyRyOn08wrJwl7 qmvCahOZjW3cCdZl67+15rdtg7fANHOV3of/Uum+N3yyg4o1uiIqDcIdXD4DLz/JxQWK BaVhFomF9c2WfqCrFZgYypVB1D0oJbiuzWo9v9eyMhxYiPF0DphTwLc6JrPDXaMt2/tL mtUPvlAi89gytc6RngL/fdeuyUKPfWpfcbtz7tpBFWCeuYFOIzKW1RC7YNwVDJ3GLrCt 4lpg== Original-Received: by 10.204.133.194 with SMTP id g2mr2557830bkt.13.1348247289252; Fri, 21 Sep 2012 10:08:09 -0700 (PDT) Original-Received: by 10.204.41.201 with HTTP; Fri, 21 Sep 2012 10:07:28 -0700 (PDT) In-Reply-To: <838vc3xq8p.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:64696 Archived-At: On Fri, Sep 21, 2012 at 7:03 PM, Eli Zaretskii wrote: > Am I missing something, or will this really call the initialization > function again and again and again? AFAIU, if an image's library is > already in Vlibrary_cache, and the cdr of its association is non-nil, > that means the initialization function was already called for the > corresponding image type, and it returned non-zero. So there's no > need to call it again. In fact, if an image library is already in Vlibrary_cache, and the cdr is nil, that also means that the initialization function was called for that image type, if failed, and should never be called again. Juanma