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#14838: 24.3.50; repeating next-line or previous-line is broken Date: Thu, 11 Jul 2013 23:25:05 +0300 Message-ID: <83mwps6dzy.fsf@gnu.org> References: <87ip0ije8n.fsf@gmx.net> <83bo69vmev.fsf@gnu.org> <8761whxvjc.fsf@rosalinde.fritz.box> <838v1dulyl.fsf@gnu.org> <87zjttx741.fsf@rosalinde.fritz.box> <83ppuo6h73.fsf@gnu.org> <87vc4gyibs.fsf@rosalinde.fritz.box> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1373574374 9554 80.91.229.3 (11 Jul 2013 20:26:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Jul 2013 20:26:14 +0000 (UTC) Cc: 14838@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jul 11 22:26:14 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 1UxNRL-0004pP-0U for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 22:26:11 +0200 Original-Received: from localhost ([::1]:58465 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxNRK-00076S-Gn for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Jul 2013 16:26:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxNRE-000743-QW for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 16:26:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UxNRD-0005K9-7H for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 16:26:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UxNRC-0005K2-Rd for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 16:26:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1UxNRC-0002oX-16 for bug-gnu-emacs@gnu.org; Thu, 11 Jul 2013 16:26:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Jul 2013 20:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14838 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14838-submit@debbugs.gnu.org id=B14838.137357435010786 (code B ref 14838); Thu, 11 Jul 2013 20:26:01 +0000 Original-Received: (at 14838) by debbugs.gnu.org; 11 Jul 2013 20:25:50 +0000 Original-Received: from localhost ([127.0.0.1]:48520 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxNQz-0002nm-7i for submit@debbugs.gnu.org; Thu, 11 Jul 2013 16:25:49 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:52267) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1UxNQw-0002nX-EM for 14838@debbugs.gnu.org; Thu, 11 Jul 2013 16:25:48 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0MPS00L00GHBYX00@a-mtaout22.012.net.il> for 14838@debbugs.gnu.org; Thu, 11 Jul 2013 23:25:12 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MPS00LYWGPZM3A0@a-mtaout22.012.net.il>; Thu, 11 Jul 2013 23:25:12 +0300 (IDT) In-reply-to: <87vc4gyibs.fsf@rosalinde.fritz.box> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.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:76247 Archived-At: > From: Stephen Berman > Cc: jan.h.d@swipnet.se, 14838@debbugs.gnu.org > Date: Thu, 11 Jul 2013 22:04:07 +0200 > > > I don't believe the aref part. I think the real culprit is font-info. > > Let's conduct an experiment: if you modify default-font-height so that > > it always just calls frame-char-height, does the problem go away? > > Yep, that it does. And no trace messages are emitted. Thanks, I will come up with a change that will refrain from calling font-info unless it's strictly necessary. > So it seems some fonts are sensitive to this distinction and others > aren't. What is the crucial difference? Not sure, but I saw that the implementation of font-info actually opens the font file, so there's probably some non-trivial processing involved in that. And likewise for font-face -- it calls the font back-end. > There are no trace messages while scrolling is normal; only after > redisplay stops (with >90% CPU load) and then recovers do the messages > appear, and they are all as above, with py=0. Ah, OK, now everything is clear.