From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.bugs Subject: bug#12872: bug#12867: 24.3.50; easy-to-repro crash involving mode line Date: Mon, 12 Nov 2012 11:07:11 -0800 Message-ID: References: <77CAAFE4D0CE4DD98476C996E3158648@us.oracle.com> <83obj2x218.fsf@gnu.org> <83ehjywvx9.fsf@gnu.org> <42FD6C9E3CE4497C860CC8BA17FB1DE5@us.oracle.com> <83625awtyj.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1352747267 31962 80.91.229.3 (12 Nov 2012 19:07:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 12 Nov 2012 19:07:47 +0000 (UTC) Cc: 12872@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 20:07:57 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 1TXzMR-0007wN-1v for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 20:07:55 +0100 Original-Received: from localhost ([::1]:58758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXzMH-0000vg-Ez for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Nov 2012 14:07:45 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49308) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXzMC-0000oj-6G for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:07:43 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TXzM9-000678-3S for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:07:40 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:53955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TXzM9-000674-0H for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:07:37 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TXzMY-0000au-CG for bug-gnu-emacs@gnu.org; Mon, 12 Nov 2012 14:08:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: "Drew Adams" Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Nov 2012 19:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12872 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12872-submit@debbugs.gnu.org id=B12872.13527472642256 (code B ref 12872); Mon, 12 Nov 2012 19:08:02 +0000 Original-Received: (at 12872) by debbugs.gnu.org; 12 Nov 2012 19:07:44 +0000 Original-Received: from localhost ([127.0.0.1]:35973 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzMG-0000aL-16 for submit@debbugs.gnu.org; Mon, 12 Nov 2012 14:07:44 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:29170) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TXzMD-0000aE-Qo for 12872@debbugs.gnu.org; Mon, 12 Nov 2012 14:07:42 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id qACJ7EK9013834 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 12 Nov 2012 19:07:15 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id qACJ7DZZ014437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 12 Nov 2012 19:07:14 GMT Original-Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id qACJ7D7n022020; Mon, 12 Nov 2012 13:07:13 -0600 Original-Received: from dradamslap1 (/130.35.178.8) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 12 Nov 2012 11:07:12 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <83625awtyj.fsf@gnu.org> Thread-Index: Ac3BBGdBEM249hz4RtKiGKByx7hKMQAA53HQ X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-Spam-Score: 0.6 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-Spam-Score: 0.6 (/) 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:66815 Archived-At: [from bug #12867] > I mean a new option, an enhancement. > > > > But we should first formulate the conditions under which this > > > redisplay will be performed. > > > > If we're talking about my use case then it is each time the > > current line changes. > > Would it be good enough to redisplay whenever point moves, and let > your code you run from :eval decide whether the text on the mode line > needs to be changed? I think this will be a more general solution. Yes, it would be good enough. But the advantage that I'm supposing %l has is that the line-counting is done in C, as part of the display engine. If my code had to check whether the line has changed then it would do that in Lisp. Not saying that's a big deal. But it still looks to me like the %l triggering is convenient. Perhaps the option could handle both cases: the general point-change case and the more particular line-change case, depending on the option value? BTW, why would this be a user option, rather than just a variable that code can bind? The use case for users is not too clear to me. I guess you want users to be able to turn off such triggering? That is something different from turning off redisplay caused by such triggering (of course, inhibiting the triggering turns off its resulting redisplay also). Anyway, I don't have much to say about what should be done for this enhancement. > Done: bug #12872. Let's continue there. Thank you.