From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: Stack overflow in regexp matcher Date: Sat, 20 Nov 2010 17:03:32 +0100 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Return-path: Received: from [140.186.70.92] (port=43358 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJpuZ-0006mG-Nu for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 11:03:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJpuY-00058r-AU for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 11:03:35 -0500 Received: from mail-iw0-f169.google.com ([209.85.214.169]:41855) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJpuY-00058f-7A for emacs-orgmode@gnu.org; Sat, 20 Nov 2010 11:03:34 -0500 Received: by iwn33 with SMTP id 33so1291378iwn.0 for ; Sat, 20 Nov 2010 08:03:32 -0800 (PST) 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: Org Mode Hi all Here is an issue for the quite common work flow of copy pasting some table columns in a whole from a spreadsheet application into Org table. For this situation I suggest to provide a better user information than only the current error message "Stack overflow in regexp matcher". Reproduce like this: in a spreadsheet application like OpenOffice.org Calc or Excel: - create a 1x2 table with two columns A and B - fill out the fields A1 and B1 with some simple content - select the columns A and B and copy to clipboard in a new Org buffer: - paste from clipboard - select the line with A1 and B1 - convert the selection to Org table: C-c | - change A1 to the assignment `=1' - try to update Org table: C-c C-c This will produce the above mentioned error message. The reason are the 65535 lines with a TAB following the Org table that have been copied when selecting the two first columns A and B in the spreadsheet application. It can be quite annoying to find this out with only the current error message and with TABs not made visible so I thought it would be helpful to point this out in the hope of someone finding a better user guidance. I'd like to provide a patch by myself but in this case I don't understand more than to find out that the many TABs are the problem and have to be removed or to be not copied. Michael