From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#12867: 24.3.50; easy-to-repro crash involving mode line Date: Mon, 12 Nov 2012 15:55:34 -0500 Message-ID: References: <77CAAFE4D0CE4DD98476C996E3158648@us.oracle.com> <83obj2x218.fsf@gnu.org> <50A13289.4050301@gmx.at> <83bof2wup6.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1352753806 26122 80.91.229.3 (12 Nov 2012 20:56:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 20:56:46 +0000 (UTC) Cc: 12867@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 12 21:56:56 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 1TY13u-0001uv-6C for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 21:56:54 +0100 Original-Received: from localhost ([::1]:37718 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY13k-0008ET-PV for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 15:56:44 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50715) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY13f-0008DW-HM for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:56:42 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TY13c-0007cr-FB for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:56:39 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:54166) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TY13c-0007cn-Bb for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:56:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TY142-0004qg-0S for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 15:57:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 20:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12867 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12867-submit@debbugs.gnu.org id=B12867.135275376618575 (code B ref 12867); Mon, 12 Nov 2012 20:57:01 +0000 Original-Received: (at 12867) by debbugs.gnu.org; 12 Nov 2012 20:56:06 +0000 Original-Received: from localhost ([127.0.0.1]:36184 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY137-0004pY-VX for submit@debbugs.gnu.org; Mon, 12 Nov 2012 15:56:06 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.182]:31936) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TY134-0004pD-Jj for 12867@debbugs.gnu.org; Mon, 12 Nov 2012 15:56:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0FAG6Zu09sr+ZY/2dsb2JhbABEsEiDSYEIghUBAQQBViMFCws0EhQYDSSIHAW6CZBEA4hCmnGBWIMH X-IronPort-AV: E=Sophos;i="4.75,637,1330923600"; d="scan'208";a="207195029" Original-Received: from 108-175-230-88.dsl.teksavvy.com (HELO pastel.home) ([108.175.230.88]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 12 Nov 2012 15:55:35 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id F01C9592BD; Mon, 12 Nov 2012 15:55:34 -0500 (EST) In-Reply-To: <83bof2wup6.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 12 Nov 2012 20:19:01 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-Spam-Score: 0.8 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.8 (/) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:66827 Archived-At: > We already do, but maybe not as extensively as you may have in mind. > See the base_line_pos member of 'struct window'. > There's also region-cache.c, which we could use for that. But before > we do, Someone(TM) should time the thing and see if it's worth our > while to make that cache. FWIW, I recently added such a cache (in Elisp) to nlinum.el, and on my test case (largish file with C-v/M-v style scrolling) the difference was very significant (but the previous code had no cache at all, not even base_line_pos). Stefan