From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: table align error Date: Sat, 28 Oct 2017 12:01:29 +0200 Message-ID: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------10B6BC29FE9A4EAB1DABA25D" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33456) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8NzB-0003DK-Pc for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 06:05:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8Nz8-0007bB-Jv for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 06:05:01 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:17604) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8Nz8-0007ZQ-9X for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 06:04:58 -0400 Received: from [192.168.178.54] (p4FD91E67.dip0.t-ipconnect.de [79.217.30.103]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id C06500t9SA1UVWZ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 28 Oct 2017 12:01:30 +0200 (CEST) Content-Language: de-LU 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" To: Org Mode This is a multi-part message in MIME format. --------------10B6BC29FE9A4EAB1DABA25D Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Hi! org mode table align ( key) is broken on my installation. I'm using the latest version from github:  Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ /home/thomas/dev/elisp/orgmode/org-mode/lisp/) This is the message I get when pressing on any table:  org-table-align: Wrong number of arguments: #[(string &optional separators omit-nulls) "ƒ This is the output from toggle-error-on-debug:  Debugger entered--Lisp error: (wrong-number-of-arguments #[(string &optional separators omit-nulls) "\203  [separators omit-nulls split-string-default-separators list notfirst start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4)   split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 (fontified nil)) "\n" t "[     ]")   org-table-align()   org-table-next-field()   call-interactively(org-table-next-field)   org-cycle(nil)   call-interactively(org-cycle nil nil)   recursive-edit()   debug()   call-interactively(debug record nil)   command-execute(debug record)   execute-extended-command(nil "debug")   call-interactively(execute-extended-command nil nil)* * I can't figure out what's wrong with my installation ... any suggestions would be very helpful! thank you, thomas * * --------------10B6BC29FE9A4EAB1DABA25D Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit

Hi!

org mode table align (<TAB> key) is broken on my installation.

I'm using the latest version from github:

 Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ /home/thomas/dev/elisp/orgmode/org-mode/lisp/)

This is the message I get when pressing <TAB> on any table:

 org-table-align: Wrong number of arguments: #[(string &optional separators omit-nulls) "ƒ

This is the output from toggle-error-on-debug:

 Debugger entered--Lisp error: (wrong-number-of-arguments #[(string &optional separators omit-nulls) "\203

 [separators omit-nulls split-string-default-separators list notfirst start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4)
  split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 (fontified nil)) "\n" t "[     ]")
  org-table-align()
  org-table-next-field()
  call-interactively(org-table-next-field)
  org-cycle(nil)
  call-interactively(org-cycle nil nil)
  recursive-edit()
  debug()
  call-interactively(debug record nil)
  command-execute(debug record)
  execute-extended-command(nil "debug")
  call-interactively(execute-extended-command nil nil)

I can't figure out what's wrong with my installation ... any suggestions would be very helpful!

thank you,

thomas





--------------10B6BC29FE9A4EAB1DABA25D-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: Re: table align error Date: Sat, 28 Oct 2017 16:25:47 +0200 Message-ID: <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> References: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------93BF342BA29F23BA8DD6421C" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8S3e-0007Yy-9i for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 10:25:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8S3b-0008HB-5c for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 10:25:54 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::2]:25905) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8S3a-0008FK-Rt for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 10:25:51 -0400 Received: from [192.168.178.54] (p4FD917D0.dip0.t-ipconnect.de [79.217.23.208]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id C06500t9SEPlWi9 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 28 Oct 2017 16:25:47 +0200 (CEST) In-Reply-To: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> Content-Language: de-LU 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" To: Org Mode This is a multi-part message in MIME format. --------------93BF342BA29F23BA8DD6421C Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit hm, I recompiled org mode and found this warning: Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el... In org-table-align: org-table.el:812:24:Warning: split-string called with 4 arguments, but accepts     only 1-3 this might be related to my error ... line 812 in org-table.el:    (split-string (buffer-substring beg end) "\n" t "[ \t]"))) My Emacs version is 24.3.50.1 - thomas On 28.10.2017 12:01, thomas wrote: > > Hi! > > org mode table align ( key) is broken on my installation. > > I'm using the latest version from github: > >  Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ > /home/thomas/dev/elisp/orgmode/org-mode/lisp/) > > This is the message I get when pressing on any table: > >  org-table-align: Wrong number of arguments: #[(string &optional > separators omit-nulls) "ƒ > > This is the output from toggle-error-on-debug: > >  Debugger entered--Lisp error: (wrong-number-of-arguments #[(string > &optional separators omit-nulls) "\203 > >  [separators omit-nulls split-string-default-separators list notfirst > start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4) >   split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 > (fontified nil)) "\n" t "[     ]") >   org-table-align() >   org-table-next-field() >   call-interactively(org-table-next-field) >   org-cycle(nil) >   call-interactively(org-cycle nil nil) >   recursive-edit() >   debug() >   call-interactively(debug record nil) >   command-execute(debug record) >   execute-extended-command(nil "debug") >   call-interactively(execute-extended-command nil nil)* > * > > I can't figure out what's wrong with my installation ... any > suggestions would be very helpful! > > thank you, > > thomas > > > > > * > * > --------------93BF342BA29F23BA8DD6421C Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
hm, I recompiled org mode and found this warning:

Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el...

In org-table-align:
org-table.el:812:24:Warning: split-string called with 4 arguments, but accepts
    only 1-3

this might be related to my error ... line 812 in org-table.el:

              (split-string (buffer-substring beg end) "\n" t "[ \t]")))

My Emacs version is 24.3.50.1

- thomas


On 28.10.2017 12:01, thomas wrote:

Hi!

org mode table align (<TAB> key) is broken on my installation.

I'm using the latest version from github:

 Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ /home/thomas/dev/elisp/orgmode/org-mode/lisp/)

This is the message I get when pressing <TAB> on any table:

 org-table-align: Wrong number of arguments: #[(string &optional separators omit-nulls) "ƒ

This is the output from toggle-error-on-debug:

 Debugger entered--Lisp error: (wrong-number-of-arguments #[(string &optional separators omit-nulls) "\203

 [separators omit-nulls split-string-default-separators list notfirst start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4)
  split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 (fontified nil)) "\n" t "[     ]")
  org-table-align()
  org-table-next-field()
  call-interactively(org-table-next-field)
  org-cycle(nil)
  call-interactively(org-cycle nil nil)
  recursive-edit()
  debug()
  call-interactively(debug record nil)
  command-execute(debug record)
  execute-extended-command(nil "debug")
  call-interactively(execute-extended-command nil nil)

I can't figure out what's wrong with my installation ... any suggestions would be very helpful!

thank you,

thomas






--------------93BF342BA29F23BA8DD6421C-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: Re: table align error Date: Sat, 28 Oct 2017 17:20:15 +0200 Message-ID: <4dfead22-5336-d7f7-6d86-b494f976dd8b@friendlyvillagers.com> References: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------D3062D4133C4973C20303E84" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52220) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8SuM-0000ZQ-2g for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 11:20:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8SuI-0005xu-Nq for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 11:20:22 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::5]:26758) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8SuI-0005r6-96 for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 11:20:18 -0400 Received: from [192.168.178.54] (p4FD917D0.dip0.t-ipconnect.de [79.217.23.208]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id C06500t9SFKFXB6 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 28 Oct 2017 17:20:15 +0200 (CEST) In-Reply-To: <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> Content-Language: de-LU 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" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------D3062D4133C4973C20303E84 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit bisecting the repo I found 6d6a30d4cd682732ba40328bbeb96122a50f96ff is the first bad commit commit 6d6a30d4cd682732ba40328bbeb96122a50f96ff Author: Nicolas Goaziou Date:   Tue Jun 27 23:06:02 2017 +0200     org-table: Implement shrunk columns     * lisp/org-table.el (org-table-shrunk-column-indicator): New variable.     (org-table-with-shrunk-columns): New macro.     (org-table--shrunk-field):     (org-table--list-shrunk-columns):     (org-table--shrink-field):     (org-table--read-column-selection):     (org-table--expand-all-columns):     (org-table-toggle-column-width): New functions.     (org-table-align):     (org-table-get-field):     (org-table-insert-column):     (org-table-delete-column):     (org-table-move-column):     (org-table-move-row):     (org-table-insert-row):     (org-table-insert-hline):     (org-table-kill-row):     (org-table-sort-lines): Use new functions.     (org-table-overlay-coordinates):     (org-table-toggle-coordinate-overlays): Tiny refactoring.     * testing/lisp/test-org-table.el (test-org-table/toggle-column-width):     (test-org-table/shrunk-columns): New tests. :040000 040000 a75dcf8311b90361b2d99e315d8cbae4c9836c68 2202d9db07c6bb02c03f6ba6b992542b82f0dafe M    lisp :040000 040000 cd9214392a149e0b2bd695221c3d33e48ab21678 93fd5cba6bb6814617f5d73d4f40f1bb12bc8295 M    testing - thomas On 28.10.2017 16:25, thomas wrote: > hm, I recompiled org mode and found this warning: > > Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el... > > In org-table-align: > org-table.el:812:24:Warning: split-string called with 4 arguments, but > accepts >     only 1-3 > > this might be related to my error ... line 812 in org-table.el: > >    (split-string (buffer-substring beg end) "\n" t "[ \t]"))) > > My Emacs version is 24.3.50.1 > > - thomas > > > On 28.10.2017 12:01, thomas wrote: >> >> Hi! >> >> org mode table align ( key) is broken on my installation. >> >> I'm using the latest version from github: >> >>  Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ >> /home/thomas/dev/elisp/orgmode/org-mode/lisp/) >> >> This is the message I get when pressing on any table: >> >>  org-table-align: Wrong number of arguments: #[(string &optional >> separators omit-nulls) "ƒ >> >> This is the output from toggle-error-on-debug: >> >>  Debugger entered--Lisp error: (wrong-number-of-arguments #[(string >> &optional separators omit-nulls) "\203 >> >>  [separators omit-nulls split-string-default-separators list notfirst >> start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4) >>   split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 >> (fontified nil)) "\n" t "[     ]") >>   org-table-align() >>   org-table-next-field() >>   call-interactively(org-table-next-field) >>   org-cycle(nil) >>   call-interactively(org-cycle nil nil) >>   recursive-edit() >>   debug() >>   call-interactively(debug record nil) >>   command-execute(debug record) >>   execute-extended-command(nil "debug") >>   call-interactively(execute-extended-command nil nil)* >> * >> >> I can't figure out what's wrong with my installation ... any >> suggestions would be very helpful! >> >> thank you, >> >> thomas >> >> >> >> >> * >> * >> > --------------D3062D4133C4973C20303E84 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
bisecting the repo I found

6d6a30d4cd682732ba40328bbeb96122a50f96ff is the first bad commit
commit 6d6a30d4cd682732ba40328bbeb96122a50f96ff
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Tue Jun 27 23:06:02 2017 +0200

    org-table: Implement shrunk columns
   
    * lisp/org-table.el (org-table-shrunk-column-indicator): New variable.
    (org-table-with-shrunk-columns): New macro.
    (org-table--shrunk-field):
    (org-table--list-shrunk-columns):
    (org-table--shrink-field):
    (org-table--read-column-selection):
    (org-table--expand-all-columns):
    (org-table-toggle-column-width): New functions.
   
    (org-table-align):
    (org-table-get-field):
    (org-table-insert-column):
    (org-table-delete-column):
    (org-table-move-column):
    (org-table-move-row):
    (org-table-insert-row):
    (org-table-insert-hline):
    (org-table-kill-row):
    (org-table-sort-lines): Use new functions.
   
    (org-table-overlay-coordinates):
    (org-table-toggle-coordinate-overlays): Tiny refactoring.
   
    * testing/lisp/test-org-table.el (test-org-table/toggle-column-width):
    (test-org-table/shrunk-columns): New tests.

:040000 040000 a75dcf8311b90361b2d99e315d8cbae4c9836c68 2202d9db07c6bb02c03f6ba6b992542b82f0dafe M    lisp
:040000 040000 cd9214392a149e0b2bd695221c3d33e48ab21678 93fd5cba6bb6814617f5d73d4f40f1bb12bc8295 M    testing



- thomas


On 28.10.2017 16:25, thomas wrote:
hm, I recompiled org mode and found this warning:

Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el...

In org-table-align:
org-table.el:812:24:Warning: split-string called with 4 arguments, but accepts
    only 1-3

this might be related to my error ... line 812 in org-table.el:

              (split-string (buffer-substring beg end) "\n" t "[ \t]")))

My Emacs version is 24.3.50.1

- thomas


On 28.10.2017 12:01, thomas wrote:

Hi!

org mode table align (<TAB> key) is broken on my installation.

I'm using the latest version from github:

 Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ /home/thomas/dev/elisp/orgmode/org-mode/lisp/)

This is the message I get when pressing <TAB> on any table:

 org-table-align: Wrong number of arguments: #[(string &optional separators omit-nulls) "ƒ

This is the output from toggle-error-on-debug:

 Debugger entered--Lisp error: (wrong-number-of-arguments #[(string &optional separators omit-nulls) "\203

 [separators omit-nulls split-string-default-separators list notfirst start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4)
  split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 (fontified nil)) "\n" t "[     ]")
  org-table-align()
  org-table-next-field()
  call-interactively(org-table-next-field)
  org-cycle(nil)
  call-interactively(org-cycle nil nil)
  recursive-edit()
  debug()
  call-interactively(debug record nil)
  command-execute(debug record)
  execute-extended-command(nil "debug")
  call-interactively(execute-extended-command nil nil)

I can't figure out what's wrong with my installation ... any suggestions would be very helpful!

thank you,

thomas







--------------D3062D4133C4973C20303E84-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: Re: table align error Date: Sat, 28 Oct 2017 19:10:51 +0200 Message-ID: <037acd5f-ad2d-0c40-8539-ca3064722c2a@friendlyvillagers.com> References: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> <4dfead22-5336-d7f7-6d86-b494f976dd8b@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------94FDAF1CB0AFABC296794DB9" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8UdO-0007Bh-5b for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 13:10:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8UdK-0000U1-Ug for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 13:10:58 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::2]:29767) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8UdK-0000Ow-Gb for emacs-orgmode@gnu.org; Sat, 28 Oct 2017 13:10:54 -0400 Received: from [192.168.178.54] (p4FD917D0.dip0.t-ipconnect.de [79.217.23.208]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id C06500t9SHAqXgj (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sat, 28 Oct 2017 19:10:52 +0200 (CEST) In-Reply-To: <4dfead22-5336-d7f7-6d86-b494f976dd8b@friendlyvillagers.com> Content-Language: de-LU 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" To: emacs-orgmode@gnu.org This is a multi-part message in MIME format. --------------94FDAF1CB0AFABC296794DB9 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3. Switched to 25, that fixed it. - thomas On 28.10.2017 17:20, thomas wrote: > bisecting the repo I found > > 6d6a30d4cd682732ba40328bbeb96122a50f96ff is the first bad commit > commit 6d6a30d4cd682732ba40328bbeb96122a50f96ff > Author: Nicolas Goaziou > Date:   Tue Jun 27 23:06:02 2017 +0200 > >     org-table: Implement shrunk columns > >     * lisp/org-table.el (org-table-shrunk-column-indicator): New variable. >     (org-table-with-shrunk-columns): New macro. >     (org-table--shrunk-field): >     (org-table--list-shrunk-columns): >     (org-table--shrink-field): >     (org-table--read-column-selection): >     (org-table--expand-all-columns): >     (org-table-toggle-column-width): New functions. > >     (org-table-align): >     (org-table-get-field): >     (org-table-insert-column): >     (org-table-delete-column): >     (org-table-move-column): >     (org-table-move-row): >     (org-table-insert-row): >     (org-table-insert-hline): >     (org-table-kill-row): >     (org-table-sort-lines): Use new functions. > >     (org-table-overlay-coordinates): >     (org-table-toggle-coordinate-overlays): Tiny refactoring. > >     * testing/lisp/test-org-table.el (test-org-table/toggle-column-width): >     (test-org-table/shrunk-columns): New tests. > > :040000 040000 a75dcf8311b90361b2d99e315d8cbae4c9836c68 > 2202d9db07c6bb02c03f6ba6b992542b82f0dafe M    lisp > :040000 040000 cd9214392a149e0b2bd695221c3d33e48ab21678 > 93fd5cba6bb6814617f5d73d4f40f1bb12bc8295 M    testing > > > > - thomas > > > On 28.10.2017 16:25, thomas wrote: >> hm, I recompiled org mode and found this warning: >> >> Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el... >> >> In org-table-align: >> org-table.el:812:24:Warning: split-string called with 4 arguments, >> but accepts >>     only 1-3 >> >> this might be related to my error ... line 812 in org-table.el: >> >>    (split-string (buffer-substring beg end) "\n" t "[ \t]"))) >> >> My Emacs version is 24.3.50.1 >> >> - thomas >> >> >> On 28.10.2017 12:01, thomas wrote: >>> >>> Hi! >>> >>> org mode table align ( key) is broken on my installation. >>> >>> I'm using the latest version from github: >>> >>>  Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ >>> /home/thomas/dev/elisp/orgmode/org-mode/lisp/) >>> >>> This is the message I get when pressing on any table: >>> >>>  org-table-align: Wrong number of arguments: #[(string &optional >>> separators omit-nulls) "ƒ >>> >>> This is the output from toggle-error-on-debug: >>> >>>  Debugger entered--Lisp error: (wrong-number-of-arguments #[(string >>> &optional separators omit-nulls) "\203 >>> >>>  [separators omit-nulls split-string-default-separators list >>> notfirst start t 0 nil string-match rexp keep-nulls string] 5 >>> 1652423] 4) >>>   split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 >>> (fontified nil)) "\n" t "[     ]") >>>   org-table-align() >>>   org-table-next-field() >>>   call-interactively(org-table-next-field) >>>   org-cycle(nil) >>>   call-interactively(org-cycle nil nil) >>>   recursive-edit() >>>   debug() >>>   call-interactively(debug record nil) >>>   command-execute(debug record) >>>   execute-extended-command(nil "debug") >>>   call-interactively(execute-extended-command nil nil)* >>> * >>> >>> I can't figure out what's wrong with my installation ... any >>> suggestions would be very helpful! >>> >>> thank you, >>> >>> thomas >>> >>> >>> >>> >>> * >>> * >>> >> > --------------94FDAF1CB0AFABC296794DB9 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: 8bit
OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3. Switched to 25, that fixed it.

- thomas

On 28.10.2017 17:20, thomas wrote:
bisecting the repo I found

6d6a30d4cd682732ba40328bbeb96122a50f96ff is the first bad commit
commit 6d6a30d4cd682732ba40328bbeb96122a50f96ff
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Date:   Tue Jun 27 23:06:02 2017 +0200

    org-table: Implement shrunk columns
   
    * lisp/org-table.el (org-table-shrunk-column-indicator): New variable.
    (org-table-with-shrunk-columns): New macro.
    (org-table--shrunk-field):
    (org-table--list-shrunk-columns):
    (org-table--shrink-field):
    (org-table--read-column-selection):
    (org-table--expand-all-columns):
    (org-table-toggle-column-width): New functions.
   
    (org-table-align):
    (org-table-get-field):
    (org-table-insert-column):
    (org-table-delete-column):
    (org-table-move-column):
    (org-table-move-row):
    (org-table-insert-row):
    (org-table-insert-hline):
    (org-table-kill-row):
    (org-table-sort-lines): Use new functions.
   
    (org-table-overlay-coordinates):
    (org-table-toggle-coordinate-overlays): Tiny refactoring.
   
    * testing/lisp/test-org-table.el (test-org-table/toggle-column-width):
    (test-org-table/shrunk-columns): New tests.

:040000 040000 a75dcf8311b90361b2d99e315d8cbae4c9836c68 2202d9db07c6bb02c03f6ba6b992542b82f0dafe M    lisp
:040000 040000 cd9214392a149e0b2bd695221c3d33e48ab21678 93fd5cba6bb6814617f5d73d4f40f1bb12bc8295 M    testing



- thomas


On 28.10.2017 16:25, thomas wrote:
hm, I recompiled org mode and found this warning:

Compiling /home/thomas/dev/elisp/orgmode/org-mode/lisp/org-table.el...

In org-table-align:
org-table.el:812:24:Warning: split-string called with 4 arguments, but accepts
    only 1-3

this might be related to my error ... line 812 in org-table.el:

              (split-string (buffer-substring beg end) "\n" t "[ \t]")))

My Emacs version is 24.3.50.1

- thomas


On 28.10.2017 12:01, thomas wrote:

Hi!

org mode table align (<TAB> key) is broken on my installation.

I'm using the latest version from github:

 Org mode version 9.1.2 (release_9.1.2-154-g99dbca @ /home/thomas/dev/elisp/orgmode/org-mode/lisp/)

This is the message I get when pressing <TAB> on any table:

 org-table-align: Wrong number of arguments: #[(string &optional separators omit-nulls) "ƒ

This is the output from toggle-error-on-debug:

 Debugger entered--Lisp error: (wrong-number-of-arguments #[(string &optional separators omit-nulls) "\203

 [separators omit-nulls split-string-default-separators list notfirst start t 0 nil string-match rexp keep-nulls string] 5 1652423] 4)
  split-string(#("| test\n" 0 6 (fontified nil face org-table) 6 7 (fontified nil)) "\n" t "[     ]")
  org-table-align()
  org-table-next-field()
  call-interactively(org-table-next-field)
  org-cycle(nil)
  call-interactively(org-cycle nil nil)
  recursive-edit()
  debug()
  call-interactively(debug record nil)
  command-execute(debug record)
  execute-extended-command(nil "debug")
  call-interactively(execute-extended-command nil nil)

I can't figure out what's wrong with my installation ... any suggestions would be very helpful!

thank you,

thomas








--------------94FDAF1CB0AFABC296794DB9-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: table align error Date: Sun, 29 Oct 2017 09:17:47 +0100 Message-ID: <87tvyiweok.fsf@nicolasgoaziou.fr> References: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> <4dfead22-5336-d7f7-6d86-b494f976dd8b@friendlyvillagers.com> <037acd5f-ad2d-0c40-8539-ca3064722c2a@friendlyvillagers.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:34473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8in3-0007Ec-2h for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 04:17:53 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8imz-0004aW-Ub for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 04:17:53 -0400 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:33078) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8imz-0004a1-O9 for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 04:17:49 -0400 In-Reply-To: <037acd5f-ad2d-0c40-8539-ca3064722c2a@friendlyvillagers.com> (thomas@friendlyvillagers.com's message of "Sat, 28 Oct 2017 19:10:51 +0200") 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" To: thomas Cc: emacs-orgmode@gnu.org Hello, thomas writes: > OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3. > Switched to 25, that fixed it. The change you are referring to belong to Org 9.2, not Org 9.1. Org mode 9.2 is supposed to be compatible with Emacs 24.3, so I fixed this issue. Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: thomas Subject: Re: table align error Date: Sun, 29 Oct 2017 10:16:56 +0100 Message-ID: <4b2f62c4-65b1-f401-511e-2dcb9168c3b4@friendlyvillagers.com> References: <8bc0b35c-447a-e59c-bd35-e2718c46a336@friendlyvillagers.com> <213ad5ac-f274-4137-f844-325563b4fec3@friendlyvillagers.com> <4dfead22-5336-d7f7-6d86-b494f976dd8b@friendlyvillagers.com> <037acd5f-ad2d-0c40-8539-ca3064722c2a@friendlyvillagers.com> <87tvyiweok.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40818) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8jiK-00076J-Vf for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 05:17:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8jiG-0001Pq-1G for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 05:17:04 -0400 Received: from mo6-p00-ob.smtp.rzone.de ([2a01:238:20a:202:5300::12]:24351) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e8jiF-0001Op-NZ for emacs-orgmode@gnu.org; Sun, 29 Oct 2017 05:16:59 -0400 Received: from [192.168.178.54] (p4FCD2E8B.dip0.t-ipconnect.de [79.205.46.139]) by smtp.strato.de (RZmta 42.8 DYNA|AUTH) with ESMTPSA id C06500t9T9GvbnQ (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (curve secp521r1 with 521 ECDH bits, eq. 15360 bits RSA)) (Client did not present a certificate) for ; Sun, 29 Oct 2017 10:16:57 +0100 (CET) In-Reply-To: <87tvyiweok.fsf@nicolasgoaziou.fr> Content-Language: de-LU 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" To: emacs-orgmode@gnu.org Hi Nicolas, thank you for the clarification! - thomas On 29.10.2017 09:17, Nicolas Goaziou wrote: > Hello, > > thomas writes: > >> OK, I found it - orgmode 9.1 seems to be incompatible with emacs 24.3. >> Switched to 25, that fixed it. > The change you are referring to belong to Org 9.2, not Org 9.1. > > Org mode 9.2 is supposed to be compatible with Emacs 24.3, so I fixed > this issue. > > Regards, >