From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thorsten Jolitz Subject: (org-table-next-row) and # - bug or feature? Date: Fri, 22 Mar 2013 02:08:34 +0100 Message-ID: <87r4j8kzql.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:43192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIqTU-0003ZR-Ut for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 21:08:54 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UIqTT-0000wb-9K for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 21:08:52 -0400 Received: from plane.gmane.org ([80.91.229.3]:37922) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UIqTT-0000vQ-2h for emacs-orgmode@gnu.org; Thu, 21 Mar 2013 21:08:51 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1UIqTk-0002CI-V9 for emacs-orgmode@gnu.org; Fri, 22 Mar 2013 02:09:08 +0100 Received: from g231234180.adsl.alicedsl.de ([92.231.234.180]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 02:09:08 +0100 Received: from tjolitz by g231234180.adsl.alicedsl.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 22 Mar 2013 02:09:08 +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: emacs-orgmode@gnu.org Hi List, is this a bug or a feature: in all 4 following examples point is in cell 1x1 when calling ,----------------------- | M-x org-table-next-row `----------------------- | A | B | | | | | 1 | 2 | | | | | \ | / | | | | but | # | b | | # | | For me at least it breaks a program that looks if e.g. cell 1x1 is empty, and if it isn't, calls 'org-table-next-row' and then inserts in new empty cell 2x1. As it happens, # is among the characters my program tries to insert and thus it enters an endless loop, since everytime it calls 'org-table-next-row', the new cell in the next-row/same-column will be filled with # too, and never be empty. I can't think of a situation where this behaviour could be useful. Its probably a bug related to the use of '#' as 'comment-start' char in Org-mode. -- cheers, Thorsten