From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: org-indent-mode corrupted most of a big org file Date: Mon, 2 Dec 2013 13:06:28 +0100 Message-ID: <1768B7D8-D6EF-4C16-B9FD-D252E73142F0@gmail.com> References: <861u1vzdyl.fsf@somewhere.org> Mime-Version: 1.0 (Mac OS X Mail 6.6 \(1510\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59067) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnSGs-00023L-V4 for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 07:06:44 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VnSGn-0005xd-5q for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 07:06:38 -0500 Received: from mail-ea0-x232.google.com ([2a00:1450:4013:c01::232]:61996) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VnSGm-0005xZ-UG for emacs-orgmode@gnu.org; Mon, 02 Dec 2013 07:06:33 -0500 Received: by mail-ea0-f178.google.com with SMTP id d10so8904583eaj.37 for ; Mon, 02 Dec 2013 04:06:32 -0800 (PST) In-Reply-To: <861u1vzdyl.fsf@somewhere.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastien Vauban Cc: Rainer Stengele , emacs-orgmode@gnu.org On Dec 2, 2013, at 12:31 PM, Sebastien Vauban = wrote: > Rainer Stengele wrote: >> last week I played around with org-indent-mode in my biggest (37.000 = lines) org file. >> 3 days later I detected that most of the file was corrupted. >> WHy so late? Using the agenda I only saw the todos and did not = recognise the corrupted structures. >> Most "*" items had been placed at the beginning of the line and = therefore now became headlines. >> I do not know how this happened. I am not sure if I myself was the = reason somehow. >> Anyway I had to spend a fair amount of work to get the old file = format from >> subversion and insert the changes since the corruption. >>=20 >> This is just a warning to have backups at hand before changing to = org-indent mode. >> Then immediately and check often the contents of the file until you = are sure all is running well. >>=20 >> Maybe someone has an idea. >>=20 >> I will try to convert again later but then be much more careful. >=20 > Last week, I also "lost" contents in the file I worked a lot in (R = code, > published to slides). In fact, I did not really lose it, thanks to = SVN... >=20 > That seems to have been a nasty bug in the caching. I should be fixed = AFAICT. > But, yes, this can always happen. Better to have fallback mechanisms = when it > occurs -- even if we've to admit it is very, very seldsom, and only = with the > dev trunk. This is great advice, in particular while testing fundamental changes = like the caching mechanism. git-up everybody! - Carsten >=20 > Best regards, > Seb >=20 > --=20 > Sebastien Vauban >=20