From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: [BUG] org-fill-paragraph on #+TBLNAME Date: Thu, 25 Apr 2013 14:36:18 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from eggs.gnu.org ([208.118.235.92]:49452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVLPV-0003oQ-AW for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 08:36:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UVLPQ-000748-M4 for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 08:36:25 -0400 Received: from mail-la0-x22b.google.com ([2a00:1450:4010:c03::22b]:50891) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UVLPQ-00073R-CU for emacs-orgmode@gnu.org; Thu, 25 Apr 2013 08:36:20 -0400 Received: by mail-la0-f43.google.com with SMTP id ea20so2569227lab.16 for ; Thu, 25 Apr 2013 05:36:18 -0700 (PDT) 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: Org Mode Hi all There is a minor bug, relevant in my first and simple trial to apply org-fill-paragraph on all parts of an Org buffer: M-q (fill-paragraph/org-fill-paragraph) on the first column of the line #+TBLNAME here #+TBLNAME: table | field | results in an error. The type "table" and the buffer range returned by org-element-at-point that determines to use org-table-align seems ok to me. More like the problem seems that the variable "lines" of org-table-align that should contain the table rows becomes nil. I am not sure how to resolve it in a robust way, preferrably with org-element. This is release_8.0.1-35-ge87dc9. Michael