"Sebastien Vauban" <sva-n...@mygooglest.com> writes: > I've considered the following table: > > test a b c > test a b c > test a b c > test a b c > test a b c > test a b c > > and tried to convert it with various configs: > > - M-x org-table-convert-region > - C-u M-x org-table-convert-region > - C-u 4 M-x org-table-convert-region > - C-u 3 M-x org-table-convert-region > > In all cases, when evaluating `separator' under edebug, it showed me `nil', > and always converted the table into this: > > | test | a | b | c | > | test | a | b | c | > | test | a | b | c | > | test | a | b | c | > | test | a | b | c | > | test | a | b | c | > > So, `separator' seems never to get a correct value, and to be constantly be > equal to `nil'. Dunno why, though. > > Do you confirm this as well?
Yes, I can confirm this. So either (interactive "rP") isn't a valid combination, then its a bug in the org command3, or it is a valid combination and should work - then its a bug in Emacs 24? Evaluating the function works as expected though: ,----------------------------------------- | M-: (org-table-convert-region beg end 2) | | | test a b c | | | | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | | | | | `----------------------------------------- ,----------------------------------------- | M-: (org-table-convert-region beg end 3) | | | test a b c | | | | | | test a b c | | | | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | | | | | `----------------------------------------- ,----------------------------------------- | M-: (org-table-convert-region beg end 4) | | | test a b c | | | | | | test a b c | | | | | | test a b c | | | | | | test | a | b | c | | | test | a | b | c | | | test | a | b | c | | | | | | | `----------------------------------------- -- cheers, Thorsten