From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [RFC] Rewrite indentation functions Date: Mon, 05 May 2014 11:30:13 +0200 Message-ID: <87ha54zi6y.fsf@gmail.com> References: <87oazjnf55.fsf@gmail.com> <87d2fwhh95.fsf@ericabrahamsen.net> <87fvksoctz.fsf@gmail.com> <87oazffgne.fsf@ericabrahamsen.net> <8738grw8nn.fsf@ericabrahamsen.net> <87tx97ozhr.fsf@gmail.com> <87mweyb4b5.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53634) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhFDY-0007rK-HL for emacs-orgmode@gnu.org; Mon, 05 May 2014 05:29:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WhFDS-0001BO-OT for emacs-orgmode@gnu.org; Mon, 05 May 2014 05:29:48 -0400 Received: from mail-wg0-x232.google.com ([2a00:1450:400c:c00::232]:47515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WhFDS-0001BF-HS for emacs-orgmode@gnu.org; Mon, 05 May 2014 05:29:42 -0400 Received: by mail-wg0-f50.google.com with SMTP id x12so1106172wgg.9 for ; Mon, 05 May 2014 02:29:41 -0700 (PDT) In-Reply-To: <87mweyb4b5.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sun, 04 May 2014 11:39: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: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > One last thing! In the course of this I also noticed that, in a buffer > that contains a broken property drawer, you can't set properties on > *any* other heading. When `org-buffer-property-keys' goes looking for > valid keys used elsewhere in the current buffer, it calls > `org-get-property-block' on the broken drawer, and errors when that > function returns nil. > > I tried changing the call to (org-get-property-block nil nil t), and > that seems to solve it: at least the broken drawer is repaired, and I > can successfully set properties. Dunno if that's the right way to handle > it, though. IIUC, this problem is unrelated to indentation. Would you mind starting a new thread for this, with an ECM? Thank you. Regards, -- Nicolas Goaziou