From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#12463: 24.2; pos-visible-in-window-p gets slower over time Date: Fri, 21 Sep 2012 11:52:42 +0800 Message-ID: <87sjac1185.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> 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 1348199620 2100 80.91.229.3 (21 Sep 2012 03:53:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 21 Sep 2012 03:53:40 +0000 (UTC) Cc: =?UTF-8?Q?J=C3=B6rg?= Walter , 12463@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 21 05:53: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 1TEuJE-0004Zd-3P for geb-bug-gnu-emacs@m.gmane.org; Fri, 21 Sep 2012 05:53:44 +0200 Original-Received: from localhost ([::1]:36502 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEuJ9-0003Nx-Be for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Sep 2012 23:53:39 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:45190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEuJ3-0003Nm-VA for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 23:53:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TEuIy-0001tc-7t for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 23:53:33 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36396) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TEuIy-0001tY-3c for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 23:53:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TEuKU-0004b3-30 for bug-gnu-emacs@gnu.org; Thu, 20 Sep 2012 23:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 21 Sep 2012 03:55: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.134819966817626 (code B ref 12463); Fri, 21 Sep 2012 03:55:02 +0000 Original-Received: (at 12463) by debbugs.gnu.org; 21 Sep 2012 03:54:28 +0000 Original-Received: from localhost ([127.0.0.1]:45942 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEuJv-0004aF-OX for submit@debbugs.gnu.org; Thu, 20 Sep 2012 23:54:27 -0400 Original-Received: from mail-pb0-f44.google.com ([209.85.160.44]:51610) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TEuJs-0004a6-GD for 12463@debbugs.gnu.org; Thu, 20 Sep 2012 23:54:25 -0400 Original-Received: by pbbjt11 with SMTP id jt11so4304424pbb.3 for <12463@debbugs.gnu.org>; Thu, 20 Sep 2012 20:52:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type:content-transfer-encoding; bh=qMAZOrURU0snqgSC+hiB1+DKFLj5HdFmscKEaLR9v8w=; b=kk8JVmLubW2cCr+sR6FPNRwK4hnMRMCrT40vwysYPzQXRRtPzjwxC4xZ5HdZKzlsUm b25Jl2EixC5PkkcwVbC6H/rAlXfIVDs/2ShTvGCIioU46ekFFYw5onnFlsNmAyTRqvAx x80iU/tvd3pxjWJYXGWOJrs1RDu2aKWFRoA/6nM3SGEFCN8PR63ggsXlWuQB5VqMMRqo zy+pUtFLEhDHDdElnVM9OKt0qtQh0CV+gm90sj1VrhWqfprru/ukk1OtN9KCsjZ4qbnL +5LW9KRCZjlnDj/fCU17Pi91whE3qdUx4dJ4OE6kUptrk/f67suKtte/0QC/opXCXKWK bNwA== Original-Received: by 10.68.240.7 with SMTP id vw7mr11805585pbc.152.1348199568986; Thu, 20 Sep 2012 20:52:48 -0700 (PDT) Original-Received: from ulysses ([155.69.19.149]) by mx.google.com with ESMTPS id h8sm3446219pay.0.2012.09.20.20.52.45 (version=SSLv3 cipher=OTHER); Thu, 20 Sep 2012 20:52:47 -0700 (PDT) In-Reply-To: (Juanma Barranquero's message of "Fri, 21 Sep 2012 01:22:19 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) 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:64672 Archived-At: Juanma Barranquero writes: >> I have no idea what was originally supposed to ensure `image_types' >> doesn't include duplicate entries, so the patch may be way >> off... hope someone actually knows what is suppsed to go on there. > > What kind of duplicate entries image_types had? Were they mostly (or > all) for pbm/xbm types? No, the duplicates were for other image types other than pbm/xbm (in this case svg). The trouble, as J=C3=B6rg pointed out, is that define_image_types did not check for the prior existence of an image type before registering it again. An unfortunate oversight; I've committed a fix to the trunk.