emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-enable-table-editor is removed since 9.1
@ 2019-11-23 10:33 Tomasz Piotrowski
  2019-11-26  9:15 ` Nicolas Goaziou
  2019-11-26 18:33 ` Nick Dokos
  0 siblings, 2 replies; 6+ messages in thread
From: Tomasz Piotrowski @ 2019-11-23 10:33 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

If I try to edit a table in org-mode, e.g., add a row to it, I get a
message

"eval: Symbol’s value as variable is void: org-enable-table-editor".

This is in line with changes made in version 9.1:
https://orgmode.org/Changes_old.html#org8981857

This makes the manual for editing tables:
https://orgmode.org/manual/Built_002din-table-editor.html

unusable for me. Indeed, I get the same message:

"eval: Symbol’s value as variable is void: org-enable-table-editor"

when I tried to submit the bug using:

M-x org-submit-bug-report <RET>

I am on version 9.2.6, but I think all versions since 9.1 are affected.

How to edit tables in org-mode?

Tomasz Piotrowski

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-enable-table-editor is removed since 9.1
  2019-11-23 10:33 org-enable-table-editor is removed since 9.1 Tomasz Piotrowski
@ 2019-11-26  9:15 ` Nicolas Goaziou
  2019-11-26  9:28   ` Tomasz Piotrowski
  2019-11-26 18:33 ` Nick Dokos
  1 sibling, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2019-11-26  9:15 UTC (permalink / raw)
  To: Tomasz Piotrowski; +Cc: emacs-orgmode

Hello,

Tomasz Piotrowski <tomasz.jan.piotrowski@gmail.com> writes:

> If I try to edit a table in org-mode, e.g., add a row to it, I get a
> message
>
> "eval: Symbol’s value as variable is void: org-enable-table-editor".

You should check, and possibly send, the full backtrace. Org code base
does not contain any reference to this variable. This may be related to
your configuration.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-enable-table-editor is removed since 9.1
  2019-11-26  9:15 ` Nicolas Goaziou
@ 2019-11-26  9:28   ` Tomasz Piotrowski
  2019-11-26  9:34     ` Nicolas Goaziou
  0 siblings, 1 reply; 6+ messages in thread
From: Tomasz Piotrowski @ 2019-11-26  9:28 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1298 bytes --]

Hello,

Many thanks for the reply. Please find the backtrace attached. This
variable org-enable-table-editor has been removed in org v.9.1., which
is stated explicitly in the release notes for v.9.1:
https://orgmode.org/Changes_old.html

I use v.9.2.6. The error appears each time I try to edit an org-mode
table, for example, inserting row using M-RET which calls

M-RET (translated from <M-return>) runs the command org-meta-return
(found in org-mode-map), which is an interactive Lisp closure in
‘org.el’.

It is bound to M-RET.

(org-meta-return &optional ARG)

Insert a new heading or wrap a region in a table.
Calls ‘org-insert-heading’, ‘org-insert-item’ or
‘org-table-wrap-region’, depending on context.  When called with
an argument, unconditionally call ‘org-insert-heading’.




Nicolas Goaziou writes:

> Hello,
>
> Tomasz Piotrowski <tomasz.jan.piotrowski@gmail.com> writes:
>
>> If I try to edit a table in org-mode, e.g., add a row to it, I get a
>> message
>>
>> "eval: Symbol’s value as variable is void: org-enable-table-editor".
>
> You should check, and possibly send, the full backtrace. Org code base
> does not contain any reference to this variable. This may be related to
> your configuration.
>
> Regards,


[-- Attachment #2: backtrace --]
[-- Type: application/octet-stream, Size: 1111 bytes --]

Debugger entered--Lisp error: (void-variable org-enable-table-editor)
  (eq org-enable-table-editor 'optimized)
  eval((eq org-enable-table-editor 'optimized))
  custom-initialize-reset(orgtbl-optimized (eq org-enable-table-editor 'optimized))
  custom-declare-variable(orgtbl-optimized (eq org-enable-table-editor 'optimized) "Non-nil means use the optimized table editor versi..." :group org-table :type boolean)
  eval-buffer(#<buffer  *load*> nil "/home/metalipa/localliza/configs/emacs/emacs_res/o..." nil t)  ; Reading at buffer position 2906
  load-with-code-conversion("/home/metalipa/localliza/configs/emacs/emacs_res/o..." "/home/metalipa/localliza/configs/emacs/emacs_res/o..." nil t)
  call-interactively(org-table-wrap-region)
  (or (run-hook-with-args-until-success 'org-metareturn-hook) (call-interactively (cond (arg #'org-insert-heading) ((org-at-table-p) #'org-table-wrap-region) ((org-in-item-p) #'org-insert-item) (t #'org-insert-heading))))
  org-meta-return(nil)
  funcall-interactively(org-meta-return nil)
  call-interactively(org-meta-return nil nil)
  command-execute(org-meta-return)

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-enable-table-editor is removed since 9.1
  2019-11-26  9:28   ` Tomasz Piotrowski
@ 2019-11-26  9:34     ` Nicolas Goaziou
  2019-11-26  9:36       ` Tomasz Piotrowski
  0 siblings, 1 reply; 6+ messages in thread
From: Nicolas Goaziou @ 2019-11-26  9:34 UTC (permalink / raw)
  To: Tomasz Piotrowski; +Cc: emacs-orgmode

Tomasz Piotrowski <tomasz.jan.piotrowski@gmail.com> writes:

> Many thanks for the reply. Please find the backtrace attached. This
> variable org-enable-table-editor has been removed in org v.9.1., which
> is stated explicitly in the release notes for v.9.1:
> https://orgmode.org/Changes_old.html
>
> I use v.9.2.6. The error appears each time I try to edit an org-mode
> table, for example, inserting row using M-RET which calls
>
> M-RET (translated from <M-return>) runs the command org-meta-return
> (found in org-mode-map), which is an interactive Lisp closure in
> ‘org.el’.

[...]

>   (eq org-enable-table-editor 'optimized)
>   eval((eq org-enable-table-editor 'optimized))
>   custom-initialize-reset(orgtbl-optimized (eq org-enable-table-editor 'optimized))
>   custom-declare-variable(orgtbl-optimized (eq org-enable-table-editor 'optimized) "Non-nil means use the optimized table editor versi..." :group org-table :type boolean)

This looks like a Frankenorg, there is no such code in Org 9.2.6. You
may want to double-check your Org installation, you are probably mixing
old and new libraries.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-enable-table-editor is removed since 9.1
  2019-11-26  9:34     ` Nicolas Goaziou
@ 2019-11-26  9:36       ` Tomasz Piotrowski
  0 siblings, 0 replies; 6+ messages in thread
From: Tomasz Piotrowski @ 2019-11-26  9:36 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

Nicolas,

I will check the libraries, thank you.

Tomasz


Nicolas Goaziou writes:

> Tomasz Piotrowski <tomasz.jan.piotrowski@gmail.com> writes:
>
>> Many thanks for the reply. Please find the backtrace attached. This
>> variable org-enable-table-editor has been removed in org v.9.1., which
>> is stated explicitly in the release notes for v.9.1:
>> https://orgmode.org/Changes_old.html
>>
>> I use v.9.2.6. The error appears each time I try to edit an org-mode
>> table, for example, inserting row using M-RET which calls
>>
>> M-RET (translated from <M-return>) runs the command org-meta-return
>> (found in org-mode-map), which is an interactive Lisp closure in
>> ‘org.el’.
>
> [...]
>
>>   (eq org-enable-table-editor 'optimized)
>>   eval((eq org-enable-table-editor 'optimized))
>>   custom-initialize-reset(orgtbl-optimized (eq org-enable-table-editor 'optimized))
>>   custom-declare-variable(orgtbl-optimized (eq org-enable-table-editor 'optimized) "Non-nil means use the optimized table editor versi..." :group org-table :type boolean)
>
> This looks like a Frankenorg, there is no such code in Org 9.2.6. You
> may want to double-check your Org installation, you are probably mixing
> old and new libraries.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: org-enable-table-editor is removed since 9.1
  2019-11-23 10:33 org-enable-table-editor is removed since 9.1 Tomasz Piotrowski
  2019-11-26  9:15 ` Nicolas Goaziou
@ 2019-11-26 18:33 ` Nick Dokos
  1 sibling, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2019-11-26 18:33 UTC (permalink / raw)
  To: emacs-orgmode

Tomasz Piotrowski <tomasz.jan.piotrowski@gmail.com> writes:

> If I try to edit a table in org-mode, e.g., add a row to it, I get a
> message
>
> "eval: Symbol’s value as variable is void: org-enable-table-editor".
>
> This is in line with changes made in version 9.1:
> https://orgmode.org/Changes_old.html#org8981857
>
> This makes the manual for editing tables:
> https://orgmode.org/manual/Built_002din-table-editor.html
>
> unusable for me. Indeed, I get the same message:
>
> "eval: Symbol’s value as variable is void: org-enable-table-editor"
>
> when I tried to submit the bug using:
>
> M-x org-submit-bug-report <RET>
>
> I am on version 9.2.6, but I think all versions since 9.1 are affected.
>

Turn on debug-on-error and try again - a stack trace should be produced which should help
to identify the place where the symbol is used:

   M-x toggle-debug-on-error RET
   M-x org-submit-bug-report RET

You either have a mixed installation (i.e. you are using a mixture of 9.2.6
and a 9.1-or-earlier version), or you are using this symbol in one of
your initialization files and/or in your customizations.

-- 
Nick

"There are only two hard problems in computer science: cache
invalidation, naming things, and off-by-one errors." -Martin Fowler

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-11-26 18:33 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-11-23 10:33 org-enable-table-editor is removed since 9.1 Tomasz Piotrowski
2019-11-26  9:15 ` Nicolas Goaziou
2019-11-26  9:28   ` Tomasz Piotrowski
2019-11-26  9:34     ` Nicolas Goaziou
2019-11-26  9:36       ` Tomasz Piotrowski
2019-11-26 18:33 ` Nick Dokos

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).