From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Re: Corrupted TBLFM after table edit Date: Thu, 9 Jan 2014 20:17:36 +0100 Message-ID: References: <87wqi9wjye.fsf@bzg.ath.cx> <87fvoxtnj4.fsf@bzg.ath.cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38929) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1L6p-0003Au-33 for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 14:17:39 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W1L6n-0007Y0-Vt for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 14:17:39 -0500 Received: from mail-la0-x22f.google.com ([2a00:1450:4010:c03::22f]:58353) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W1L6n-0007Xw-O2 for emacs-orgmode@gnu.org; Thu, 09 Jan 2014 14:17:37 -0500 Received: by mail-la0-f47.google.com with SMTP id eh20so287077lab.34 for ; Thu, 09 Jan 2014 11:17:36 -0800 (PST) In-Reply-To: <87fvoxtnj4.fsf@bzg.ath.cx> 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: Bastien Cc: Org Mode Hi Bastien On Thu, Jan 9, 2014 at 12:14 PM, Bastien wrote: > Michael Brand writes: >> I suggest to solve this completely differently by replacing the greedy >> (re-search-forward "^\\S-*$\\|\\'" nil t) and not using s-end any >> more. I would change the "while" to >> >> (while (let ((case-fold-search t)) (looking-at "[ \t]*#\\+tblfm:")) >> [...] >> (forward-line)) >> >> which is simple and water-proof. > > Yes, sure, please go ahead -- thanks in advance, Done. Michael