From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: One broken property drawer prevents setting of any property Date: Fri, 23 May 2014 11:07:14 +0200 Message-ID: <87fvk0g8xp.fsf@bzg.ath.cx> References: <87wqdzebq0.fsf@ericabrahamsen.net> <87k39df36v.fsf@bzg.ath.cx> <87k39cnabl.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnlRj-0002pl-Ju for emacs-orgmode@gnu.org; Fri, 23 May 2014 05:07:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WnlRd-0006Gn-QT for emacs-orgmode@gnu.org; Fri, 23 May 2014 05:07:23 -0400 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:54836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WnlRd-0006Gh-K0 for emacs-orgmode@gnu.org; Fri, 23 May 2014 05:07:17 -0400 Received: by mail-we0-f182.google.com with SMTP id t60so4501918wes.41 for ; Fri, 23 May 2014 02:07:16 -0700 (PDT) In-Reply-To: <87k39cnabl.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Fri, 23 May 2014 16:55:26 +0800") 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: Eric Abrahamsen Cc: Nicolas Goaziou , emacs-orgmode@gnu.org Hi Eric, Eric Abrahamsen writes: > The more I thought about it, the more it seemed the silent repair is a > bad idea: it's not really repair, it's just sticking a new :END: in, and > will very likely result in cruft in the buffer. This patch wraps the > scan in catch/throw and asks users if they want to repair broken > drawers. Since the y-or-no-p stops at the broken drawer, it should be > useful for manual fixing. Agreed and applied on master, thanks a lot! -- Bastien