From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12463: 24.2; pos-visible-in-window-p gets slower over time Date: Sat, 22 Sep 2012 11:36:38 +0300 Message-ID: <83k3vmwj1l.fsf@gnu.org> 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> <83392bxobc.fsf@gnu.org> <87lig2q292.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1348303056 8021 80.91.229.3 (22 Sep 2012 08:37:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2012 08:37:36 +0000 (UTC) Cc: lekktu@gmail.com, jwalt@garni.ch, 12463@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 10:37:37 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 1TFLDU-0004rc-NW for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 10:37:36 +0200 Original-Received: from localhost ([::1]:43047 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFLDQ-0007c0-7o for geb-bug-gnu-emacs@m.gmane.org; Sat, 22 Sep 2012 04:37:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58867) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFLDJ-0007a9-SA for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 04:37:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TFLDF-0006Y4-I7 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 04:37:25 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TFLDF-0006Xz-Eq for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 04:37:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TFLEs-00042F-B3 for bug-gnu-emacs@gnu.org; Sat, 22 Sep 2012 04:39:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 22 Sep 2012 08:39: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.134830312215392 (code B ref 12463); Sat, 22 Sep 2012 08:39:02 +0000 Original-Received: (at 12463) by debbugs.gnu.org; 22 Sep 2012 08:38:42 +0000 Original-Received: from localhost ([127.0.0.1]:48019 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFLEU-000408-7w for submit@debbugs.gnu.org; Sat, 22 Sep 2012 04:38:42 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:35088) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TFLEO-0003zx-QJ for 12463@debbugs.gnu.org; Sat, 22 Sep 2012 04:38:37 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MAQ00G00SYEEQ00@a-mtaout23.012.net.il> for 12463@debbugs.gnu.org; Sat, 22 Sep 2012 11:36:50 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MAQ00GOHT9D5NA0@a-mtaout23.012.net.il>; Sat, 22 Sep 2012 11:36:50 +0300 (IDT) In-reply-to: <87lig2q292.fsf@gnu.org> X-012-Sender: halo1@inter.net.il 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:64719 Archived-At: > From: Chong Yidong > Cc: Juanma Barranquero , jwalt@garni.ch, 12463@debbugs.gnu.org > Date: Sat, 22 Sep 2012 09:23:37 +0800 > > ! #ifdef HAVE_NTGUI > ! /* If we failed to load the library before, don't try again. */ > ! Lisp_Object tested = Fassq (target_type, Vlibrary_cache); > ! if (CONSP (tested) && NILP (XCDR (tested))) > ! type_valid = 0; > ! else > ! #endif > ! { > ! /* If the load failed, avoid trying again. */ > ! type_valid = type->init (libraries); > ! CACHE_IMAGE_TYPE (target_type, type_valid ? Qt : Qnil); > ! } > ! } The last comment seems to be redundant, given the one before it. > *************** > *** 8884,8892 **** > DEFSYM (Qxbm, "xbm"); > ADD_IMAGE_TYPE (Qxbm); > > - define_image_type (&xbm_type, 1); > - define_image_type (&pbm_type, 1); Why are these two lines being removed, while the corresponding ADD_IMAGE_TYPE lines are not? Thanks.