From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#24074: bug#24094: 25.1.50; revert-buffer error in CC mode Date: Fri, 29 Jul 2016 19:41:39 +0100 Message-ID: References: <20160729175924.11811.qmail@mail.muc.de> <87r3ac2t7m.fsf@wanadoo.es> 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 1469817849 8373 80.91.229.3 (29 Jul 2016 18:44:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 29 Jul 2016 18:44:09 +0000 (UTC) Cc: Alan Mackenzie , 24094@debbugs.gnu.org, 24074@debbugs.gnu.org To: =?UTF-8?Q?=C3=93scar?= Fuentes Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 29 20:44:00 2016 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 1bTClL-0002Py-5F for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 20:43:59 +0200 Original-Received: from localhost ([::1]:32851 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTCl1-0007Y8-SV for geb-bug-gnu-emacs@m.gmane.org; Fri, 29 Jul 2016 14:43:39 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37434) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTCkh-0007Xk-Lf for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 14:43:29 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bTCkc-00069t-Jg for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2016 14:43:17 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:53650) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bTCkQ-00068y-ID; Fri, 29 Jul 2016 14:43:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bTCkQ-0001jM-BH; Fri, 29 Jul 2016 14:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 29 Jul 2016 18:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24074 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 24074-submit@debbugs.gnu.org id=B24074.14698177396599 (code B ref 24074); Fri, 29 Jul 2016 18:43:02 +0000 Original-Received: (at 24074) by debbugs.gnu.org; 29 Jul 2016 18:42:19 +0000 Original-Received: from localhost ([127.0.0.1]:50947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTCji-0001iI-Sy for submit@debbugs.gnu.org; Fri, 29 Jul 2016 14:42:19 -0400 Original-Received: from mail-vk0-f52.google.com ([209.85.213.52]:33947) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bTCje-0001hv-6x; Fri, 29 Jul 2016 14:42:17 -0400 Original-Received: by mail-vk0-f52.google.com with SMTP id s189so60442303vkh.1; Fri, 29 Jul 2016 11:42:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=8E075ndsi2xX8emFfOXGAQu5n3Pnv/6CwdxONngaD+Q=; b=pR5HDbmr2RsDB8bW8kZ+IKQDS/0lbS57nYt4cjH8wB5AJuxOAaST32DqniSX/safsc dxBQEF6neyZOVS8XKaJxZLBYTaoHe8S4hHGtJjtmFdFzkQ1xGeMN8RiCxcBjwPNsaiMJ j92IPB4LTF/qJ/Oy4kprYBjkjkmnCxXRXvUr/2eBJRu7nEtf6eLSeGCFirqKTaxUad9e c50fyK05qaetucvnkrBfQIlhSYAFqajC49NPnmbFYeB/7IzdXXCjZRcFR/V7DFq8VgFs mrg7OuOr+6ni7GQrai7uujzNybAOdVnvzgQ2nHrtuRW3DICwrmvYrFOsavcAqpNyThFy ibiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=8E075ndsi2xX8emFfOXGAQu5n3Pnv/6CwdxONngaD+Q=; b=m/kK05yxpZpOjfzlFfjdyCQ+s1geTVP+z6hcZ/1tJee13kUiz5ucpdjvGrfa9iLurK GUHCx8YsSfCFcJmAZ+Uc3v9r3IVTOgJZOVRIehWb6S/eMhft2eJeaEe3dBuOhT107ff/ 4O2FTrPvJoLzxeqcHSVEWzZAcaYWU+Mp0D1ny7sDw4ioOJ2tO8nj0FQIzG8pAXKA0Ny+ 2aLpzVv3EutqQ1Ux1vAFGpvmT5acpbjiik2GsrZQdOLBSlpH+197/K6O/IQmhvq680b4 plOPSAA5ZCm1+UfmP2yqtcw0x6WG3SQ6kbd5spWf+gyDQ/7wuzKSF5kg0lifJrDeE/ld aGng== X-Gm-Message-State: AEkoouux5/Kbqo9k6m2mPDCMG/zFlSmrFxOFp3voDImY34uqL14t/KCEhG0arNoMx/jL7vRbs7G5xyZ1VfQ/bg== X-Received: by 10.31.115.140 with SMTP id o134mr19970457vkc.0.1469817728719; Fri, 29 Jul 2016 11:42:08 -0700 (PDT) Original-Received: by 10.176.1.41 with HTTP; Fri, 29 Jul 2016 11:41:39 -0700 (PDT) In-Reply-To: <87r3ac2t7m.fsf@wanadoo.es> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:121694 Archived-At: On 29 July 2016 at 19:29, =C3=93scar Fuentes wrote: > Alan Mackenzie writes: > >> Could you be a bit more descriptive about the "chunks" that are missing, >> please? Are we talking about lots of isolated 2-character chunks, or >> just one or two larger chunks, or what? Are the chunks at the end of a >> buffer, or in the "middle" of it? > > It just happened again here. The missing chunk is everything below the > first 9 lines (the file has ~400 lines). Those preserved lines are > simply #include's. The final preserved line was truncated to > > #include < > > The original was > > #include > > Prior the revert, the point was much below that 9nth line. > > The reported failure is not always the same. In this case was: > > c-determine-+ve-limit: Args out of range: #, -7246, -6= 746 > > > Or course, now that I'm trying to cause the error for obtaining an stack > trace, it doesn't happen :-( As mentioned on my bug report, it seems > that the problem is triggered when the point falls on certain places > on the reverted file's contents, but that's just my guess. Here is a recipe. Prepare a file "test0.cpp" as follows: (<