From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Brand Subject: dynamic block for columnview: indent and TBLFM Date: Wed, 2 Nov 2011 18:06:44 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001485f7761a234ec104b0c37feb Return-path: Received: from eggs.gnu.org ([140.186.70.92]:34631) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLeH2-0003qs-86 for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 13:06:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RLeH0-0000jY-IE for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 13:06:48 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:62646) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RLeH0-0000jG-AD for emacs-orgmode@gnu.org; Wed, 02 Nov 2011 13:06:46 -0400 Received: by wwe3 with SMTP id 3so450596wwe.30 for ; Wed, 02 Nov 2011 10:06:45 -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 Cc: Carsten Dominik --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=ISO-8859-1 Hi all There are some issues with dynamic block for columnview. Attached are four minimal and complete example test files indent*_tbl*.org (remove .txt) with different wrong behaviors dependent on if the dynamic block is indented and if there is already a table from a previous update or not. The test is always C-c C-c on the dynamic block header for columnview with emacs -q, 23.3. I searched related changes with git bisect to see if by chance I would be able to resolve the issues by myself, but this seems too complicated to me. If they might be interesting, from present to past: - release_7.7-508-ga081581 (2011-11-02): still the same test results as release_6.30d-851-g74a59c0, see next - commit 74a59c0c008e1123a0cadfa9933001bfc773ee85 Author: Carsten Dominik Date: Fri Sep 18 09:12:26 2009 +0100 Allow indented dynamic blocks - test results after change, release_6.30d-851-g74a59c0: | indent0_tbl0.org | nok | Lisp error, see attached backtrace | | indent0_tbl4.org | ok | works as expected | | indent2_tbl0.org | nok | TBLFM deleted | | indent2_tbl4.org | nok | TBLFM deleted | - test results before change, release_6.30d-850-g60bf447: | indent0_tbl0.org | nok | Lisp error, see attached backtrace | | indent0_tbl4.org | ok | works as expected | | indent2_tbl0.org | nok | misread as Local setup | | indent2_tbl4.org | nok | misread as Local setup | - commit 3f1062a15d81aae2f1b10ea540f0d797711b492c Author: Carsten Dominik Date: Mon Sep 8 09:43:41 2008 +0200 Save and restore formulas for column view capture. - test results after change, release_6.06b-53-g3f1062a: | indent0_tbl0.org | nok | Lisp error, see attached backtrace | | indent0_tbl4.org | ok | works as expected | | indent2_tbl0.org | - | indentation not supported | | indent2_tbl4.org | - | indentation not supported | - test results before change, release_6.06b-52-g4aa23cf: | indent0_tbl0.org | nok | TBLFM deleted | | indent0_tbl4.org | nok | TBLFM deleted | | indent2_tbl0.org | - | indentation not supported | | indent2_tbl4.org | - | indentation not supported | Michael --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=US-ASCII; name="backtrace.txt" Content-Disposition: attachment; filename="backtrace.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_guikpe7z0 RGVidWdnZXIgZW50ZXJlZC0tTGlzcCBlcnJvcjogKHdyb25nLXR5cGUtYXJndW1lbnQgc3RyaW5n cCBuaWwpCiAgc3RyaW5nLW1hdGNoKCJeIyIgbmlsKQogICh3aGlsZSAoc3RyaW5nLW1hdGNoICJe IyIgKGNhciBjb250ZW50LWxpbmVzKSkgKGluc2VydCAocG9wIGNvbnRlbnQtbGluZXMpICJcbiIp KQogIChwcm9nbiAod2hpbGUgKHN0cmluZy1tYXRjaCAiXiMiIC4uLikgKGluc2VydCAuLi4gIlxu IikpKQogIChpZiBjb250ZW50LWxpbmVzIChwcm9nbiAod2hpbGUgLi4uIC4uLikpKQogICh3aGVu IGNvbnRlbnQtbGluZ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XZlbHkob3JnLWN0cmwtYy1jdHJsLWMgbmlsIG5pbCkK --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=US-ASCII; name="indent0_tbl0.org.txt" Content-Disposition: attachment; filename="indent0_tbl0.org.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_guikpqdk1 IytDT0xVTU5TOiAlNTBJVEVNKFRhc2spICVEYXlzICU1RWZmb3J0KHtIb3Vyc30peyt9CiMrU1RB UlRVUDogb2RkIHNob3dhbGwKCiMrQkVHSU46IGNvbHVtbnZpZXcgOm1heGxldmVsIDMgOmlkIDYy YjdjNGY1LWJjMzgtNDExZS1iMjRmLWJhOWM0YWRiNzRkYQojK1RCTEZNOiAkMiA9IGNlaWwoJDMg LyA4KQojK0VORDoKCiogcHJvamVjdAoqKiogVG90YWwgb2YgRWZmb3J0CiAgICA6UFJPUEVSVElF UzoKICAgIDpJRDogICAgICAgNjJiN2M0ZjUtYmMzOC00MTFlLWIyNGYtYmE5YzRhZGI3NGRhCiAg ICA6RU5EOgoqKioqKiBmZWF0dXJlCioqKioqKiogVE9ETyB0YXNrCiAgICAgICAgOlBST1BFUlRJ RVM6CiAgICAgICAgOkVmZm9ydDogICA3CiAgICAgICAgOkVORDoK --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=US-ASCII; name="indent0_tbl4.org.txt" Content-Disposition: attachment; filename="indent0_tbl4.org.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_guikq4uw2 IytDT0xVTU5TOiAlNTBJVEVNKFRhc2spICVEYXlzICU1RWZmb3J0KHtIb3Vyc30peyt9CiMrU1RB UlRVUDogb2RkIHNob3dhbGwKCiMrQkVHSU46IGNvbHVtbnZpZXcgOm1heGxldmVsIDMgOmlkIGRk YjM4OTA1LWZjYmItNDczYi05OWVmLWQzNTE5NDYwNGZmYQp8IFRhc2sgfCBEYXlzIHwge0hvdXJz fSB8CnwtLS0tLS0rLS0tLS0tKy0tLS0tLS0tLXwKfCAgICAgIHwgICAgICB8ICAgICAgICAgfAp8 ICAgICAgfCAgICAgIHwgICAgICAgICB8CiMrVEJMRk06ICQyID0gY2VpbCgkMyAvIDgpCiMrRU5E OgoKKiBwcm9qZWN0CioqKiBUb3RhbCBvZiBFZmZvcnQKICAgIDpQUk9QRVJUSUVTOgogICAgOklE OiAgICAgICBkZGIzODkwNS1mY2JiLTQ3M2ItOTllZi1kMzUxOTQ2MDRmZmEKICAgIDpFTkQ6Cioq KioqIGZlYXR1cmUKKioqKioqKiBUT0RPIHRhc2sKICAgICAgICA6UFJPUEVSVElFUzoKICAgICAg ICA6RWZmb3J0OiAgIDcKICAgICAgICA6RU5EOgo= --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=US-ASCII; name="indent2_tbl0.org.txt" Content-Disposition: attachment; filename="indent2_tbl0.org.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_guikqjd43 IytDT0xVTU5TOiAlNTBJVEVNKFRhc2spICVEYXlzICU1RWZmb3J0KHtIb3Vyc30peyt9CiMrU1RB UlRVUDogb2RkIHNob3dhbGwKCiogY3VzdG9tIHZpZXcKICAjK0JFR0lOOiBjb2x1bW52aWV3IDpt YXhsZXZlbCAzIDppZCBmOTY0ODRhMy1jNTIwLTRhYmYtOTc5ZS1lOGZmMmMwNDdjNTQKICAjK1RC TEZNOiAkMiA9IGNlaWwoJDMgLyA4KQogICMrRU5EOgoKKiBwcm9qZWN0CioqKiBUb3RhbCBvZiBF ZmZvcnQKICAgIDpQUk9QRVJUSUVTOgogICAgOklEOiAgICAgICBmOTY0ODRhMy1jNTIwLTRhYmYt OTc5ZS1lOGZmMmMwNDdjNTQKICAgIDpFTkQ6CioqKioqIGZlYXR1cmUKKioqKioqKiBUT0RPIHRh c2sKICAgICAgICA6UFJPUEVSVElFUzoKICAgICAgICA6RWZmb3J0OiAgIDcKICAgICAgICA6RU5E Ogo= --001485f7761a234ec104b0c37feb Content-Type: text/plain; charset=US-ASCII; name="indent2_tbl4.org.txt" Content-Disposition: attachment; filename="indent2_tbl4.org.txt" Content-Transfer-Encoding: base64 X-Attachment-Id: f_guikqveq4 IytDT0xVTU5TOiAlNTBJVEVNKFRhc2spICVEYXlzICU1RWZmb3J0KHtIb3Vyc30peyt9CiMrU1RB UlRVUDogb2RkIHNob3dhbGwKCiogY3VzdG9tIHZpZXcKICAjK0JFR0lOOiBjb2x1bW52aWV3IDpt YXhsZXZlbCAzIDppZCA1MmQ0ZjYyMC02ZjQxLTQxNGYtODlkOC1jZDNlOGUxOWEyZjAKICB8IFRh c2sgfCBEYXlzIHwge0hvdXJzfSB8CiAgfC0tLS0tLSstLS0tLS0rLS0tLS0tLS0tfAogIHwgICAg ICB8ICAgICAgfCAgICAgICAgIHwKICB8ICAgICAgfCAgICAgIHwgICAgICAgICB8CiAgIytUQkxG TTogJDIgPSBjZWlsKCQzIC8gOCkKICAjK0VORDoKCiogcHJvamVjdAoqKiogVG90YWwgb2YgRWZm b3J0CiAgICA6UFJPUEVSVElFUzoKICAgIDpJRDogICAgICAgNTJkNGY2MjAtNmY0MS00MTRmLTg5 ZDgtY2QzZThlMTlhMmYwCiAgICA6RU5EOgoqKioqKiBmZWF0dXJlCioqKioqKiogVE9ETyB0YXNr CiAgICAgICAgOlBST1BFUlRJRVM6CiAgICAgICAgOkVmZm9ydDogICA3CiAgICAgICAgOkVORDoK --001485f7761a234ec104b0c37feb--