From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: C-0 C-c | throws emacs into infinite loop Date: Sat, 19 Mar 2011 07:43:58 +0100 Message-ID: References: Mime-Version: 1.0 (Apple Message framework v1082) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=56586 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q0ptL-0000aw-O5 for emacs-orgmode@gnu.org; Sat, 19 Mar 2011 02:44:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q0ptK-0002zt-It for emacs-orgmode@gnu.org; Sat, 19 Mar 2011 02:44:03 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:40041) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q0ptK-0002zo-DX for emacs-orgmode@gnu.org; Sat, 19 Mar 2011 02:44:02 -0400 Received: by eyh6 with SMTP id 6so1162010eyh.0 for ; Fri, 18 Mar 2011 23:44:01 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Le Wang Cc: Orgmode Mailing List On 18.3.2011, at 15:29, Le Wang wrote: > The doc-string of `org-table-convert-region' doesn't specifically = address 0 as SEPARATOR, but 0 is an integer. It shouldn't hang in any = case. When I C-g out of the loop, my undo limit was exceeded because = the line filled with hundreds of thousands of empty cells. >=20 > I think the correct behavior is to convert region into table using 0 = spaces as a separator -- so each character forms its own column. While this might be nice, it is such a border case that, for now, I have = only added an error message to prevent the converter from going into an infinite loop. Or do you have a *really* goo use case for this? - Carsten