From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: [PATCH] Fix org-entry-put (trouble with org-columns-edit-value) Date: Fri, 09 Nov 2012 09:58:58 +0100 Message-ID: <87ehk3jgod.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:36847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWkUk-0004mf-0e for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 04:03:28 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TWkUd-0008HX-FV for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 04:03:21 -0500 Received: from mail-wi0-f169.google.com ([209.85.212.169]:43886) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TWkUd-0008HO-9x for emacs-orgmode@gnu.org; Fri, 09 Nov 2012 04:03:15 -0500 Received: by mail-wi0-f169.google.com with SMTP id hq4so399280wib.0 for ; Fri, 09 Nov 2012 01:03:14 -0800 (PST) In-Reply-To: (Takafumi Arakaki's message of "Tue, 6 Nov 2012 20:48:40 +0100") 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: Takafumi Arakaki Cc: emacs-orgmode@gnu.org Hello, Takafumi Arakaki writes: > I have a trouble with org-columns-edit-value; updating property using > this command breaks property formatting. > > If I update MyProp_B in, > > :PROPERTIES: > :MyProp_A: a > :MyProp_B: b > :END: > > I end up with: > > :PROPERTIES: > :MyProp_A: :MyProp_B: x a > > :END: > > > I found that (match-beginning 0) returns different value after > (delete-region (match-beginning 0) (match-end 0)). The strange thing > is that I could not reproduce it in "plain" Emacs without loading my > init.el. > > I am using a few week older version from Emacs trunk. > emacs-version: "24.2.50.1" > emacs-bzr-version: "110740 rgm@gnu.org-20121030101856-aimepc487hfjuqqs" > > > I will try to reproduce the bug after updating Emacs (probably to the > 24.3 release branch) and org-mode later. But I thought I'd share the > patch first. I think this was fixed a while ago. I'll wait for your feedback after you update Org. Regards, -- Nicolas Goaziou