From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: newline cache Date: Wed, 23 Apr 2014 01:31:24 -0400 Message-ID: References: <837g6id3mi.fsf@gnu.org> <838uqxb6o6.fsf@gnu.org> Reply-To: rms@gnu.org NNTP-Posting-Host: plane.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1398231094 6146 80.91.229.3 (23 Apr 2014 05:31:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 23 Apr 2014 05:31:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 23 07:31:30 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WcpmL-0005HP-6c for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2014 07:31:29 +0200 Original-Received: from localhost ([::1]:58697 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcpmK-0001Nw-Qa for ged-emacs-devel@m.gmane.org; Wed, 23 Apr 2014 01:31:28 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41150) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcpmI-0001Ng-8C for emacs-devel@gnu.org; Wed, 23 Apr 2014 01:31:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WcpmH-0000of-6Y for emacs-devel@gnu.org; Wed, 23 Apr 2014 01:31:26 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52330) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WcpmH-0000oO-2z for emacs-devel@gnu.org; Wed, 23 Apr 2014 01:31:25 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1WcpmG-0000SR-Gp; Wed, 23 Apr 2014 01:31:24 -0400 In-reply-to: <838uqxb6o6.fsf@gnu.org> (message from Eli Zaretskii on Tue, 22 Apr 2014 20:44:25 +0300) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:171604 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > I investigated what was happening when the bug occurred. > (forward-line 1) moved across an extra newline, down to point-max. When forward-line errs, it's too late, because the cache is already corrupted. The point is, this is how I know the problem is in the newline cache. A year ago I debugged the subroutines of Fforward_line and verified that the problem happened in the call to the newline cache code. The cache code is in region-cache.c. I don't have time to study and debug that. -- Dr Richard Stallman President, Free Software Foundation 51 Franklin St Boston MA 02110 USA www.fsf.org www.gnu.org Skype: No way! That's nonfree (freedom-denying) software. Use Ekiga or an ordinary phone call.