* [BUG] orgalist send bug
@ 2024-06-14 16:54 Rustom Mody
2024-06-15 13:27 ` Ihor Radchenko
0 siblings, 1 reply; 19+ messages in thread
From: Rustom Mody @ 2024-06-14 16:54 UTC (permalink / raw)
To: emacs-orgmode
This is regarding the separate package orgalist by Nicolas Goaziou.
https://elpa.gnu.org/packages/orgalist.html
I installed orgalist with package install.
Open the file orgalist.txt which contains the example from orgalist shown below
M-x orgalist-mode
M-x orgalist-send-list
I get a warning
Warning (org-element): ‘org-element-at-point’ cannot be used in
non-Org buffer #<buffer orgalist.txt> (text-mode)
Also: The receiving site gets the latex version but the list
disappears from the sending site
----------------------orgalist.txt ----------------------
% BEGIN RECEIVE ORGLST to-buy
% END RECEIVE ORGLST to-buy
\begin{comment}
#+ORGLST: SEND to-buy org-list-to-latex
- a new house
- a new computer
+ a new keyboard
+ a new mouse
- a new life
\end{comment}
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-14 16:54 [BUG] orgalist send bug Rustom Mody
@ 2024-06-15 13:27 ` Ihor Radchenko
2024-06-16 2:31 ` Rustom Mody
2024-06-17 18:07 ` Nicolas Goaziou via General discussions about Org-mode.
0 siblings, 2 replies; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-15 13:27 UTC (permalink / raw)
To: Rustom Mody, Nicolas Goaziou; +Cc: emacs-orgmode
CCing Nicolas.
Rustom Mody <rustompmody@gmail.com> writes:
> This is regarding the separate package orgalist by Nicolas Goaziou.
> https://elpa.gnu.org/packages/orgalist.html
>
> I installed orgalist with package install.
> Open the file orgalist.txt which contains the example from orgalist shown below
> M-x orgalist-mode
> M-x orgalist-send-list
>
> I get a warning
> Warning (org-element): ‘org-element-at-point’ cannot be used in
> non-Org buffer #<buffer orgalist.txt> (text-mode)
I cannot reproduce using the latest Org mode.
> Also: The receiving site gets the latex version but the list
> disappears from the sending site
I can reproduce. The problem is in
;; FIXME: Compatibility layer. Remove when
;; we require at least Emacs 26.1.
(funcall (if (fboundp 'org-list-to-lisp)
'org-list-to-lisp)
'org-list-parse-list)
The `if' has its parenthesis messed up, calling `org-list-to-lisp'
with DELETE argument.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-15 13:27 ` Ihor Radchenko
@ 2024-06-16 2:31 ` Rustom Mody
2024-06-16 2:44 ` Rustom Mody
2024-06-16 12:13 ` Ihor Radchenko
2024-06-17 18:07 ` Nicolas Goaziou via General discussions about Org-mode.
1 sibling, 2 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-16 2:31 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1004 bytes --]
On Sat, Jun 15, 2024 at 6:55 PM Ihor Radchenko <yantar92@posteo.net> wrote:
> CCing Nicolas.
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> > This is regarding the separate package orgalist by Nicolas Goaziou.
> > https://elpa.gnu.org/packages/orgalist.html
> >
> > I installed orgalist with package install.
> > Open the file orgalist.txt which contains the example from orgalist
> shown below
> > M-x orgalist-mode
> > M-x orgalist-send-list
> >
> > I get a warning
> > Warning (org-element): ‘org-element-at-point’ cannot be used in
> > non-Org buffer #<buffer orgalist.txt> (text-mode)
>
> I cannot reproduce using the latest Org mode.
>
>
Maybe relevant to "cant reproduce"
I tried to run it with make vanilla -- got the error of mismatching org
versions
Tried to remove the elc files as suggested in that error message -- the
error became more involved.
DIdn't think it very relevant to the bug bugging me ... but...
Can supply more details if required
[-- Attachment #2: Type: text/html, Size: 1643 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-16 2:31 ` Rustom Mody
@ 2024-06-16 2:44 ` Rustom Mody
2024-06-16 12:13 ` Ihor Radchenko
1 sibling, 0 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-16 2:44 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1225 bytes --]
Some immediate data
org-version: 9.8pre
emacs-version: 29.1
orgalist version 1.14
On Sun, Jun 16, 2024 at 8:01 AM Rustom Mody <rustompmody@gmail.com> wrote:
>
>
> On Sat, Jun 15, 2024 at 6:55 PM Ihor Radchenko <yantar92@posteo.net>
> wrote:
>
>> CCing Nicolas.
>>
>> Rustom Mody <rustompmody@gmail.com> writes:
>>
>> > This is regarding the separate package orgalist by Nicolas Goaziou.
>> > https://elpa.gnu.org/packages/orgalist.html
>> >
>> > I installed orgalist with package install.
>> > Open the file orgalist.txt which contains the example from orgalist
>> shown below
>> > M-x orgalist-mode
>> > M-x orgalist-send-list
>> >
>> > I get a warning
>> > Warning (org-element): ‘org-element-at-point’ cannot be used in
>> > non-Org buffer #<buffer orgalist.txt> (text-mode)
>>
>> I cannot reproduce using the latest Org mode.
>>
>>
> Maybe relevant to "cant reproduce"
>
> I tried to run it with make vanilla -- got the error of mismatching org
> versions
> Tried to remove the elc files as suggested in that error message -- the
> error became more involved.
>
> DIdn't think it very relevant to the bug bugging me ... but...
> Can supply more details if required
>
[-- Attachment #2: Type: text/html, Size: 2154 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-16 2:31 ` Rustom Mody
2024-06-16 2:44 ` Rustom Mody
@ 2024-06-16 12:13 ` Ihor Radchenko
2024-06-17 5:02 ` Rustom Mody
1 sibling, 1 reply; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-16 12:13 UTC (permalink / raw)
To: Rustom Mody; +Cc: Nicolas Goaziou, emacs-orgmode
Rustom Mody <rustompmody@gmail.com> writes:
>> I cannot reproduce using the latest Org mode.
>>
>>
> Maybe relevant to "cant reproduce"
>
> I tried to run it with make vanilla -- got the error of mismatching org
> versions
> Tried to remove the elc files as suggested in that error message -- the
> error became more involved.
>
> DIdn't think it very relevant to the bug bugging me ... but...
> Can supply more details if required
Please follow https://orgmode.org/manual/Feedback.html#Feedback
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-16 12:13 ` Ihor Radchenko
@ 2024-06-17 5:02 ` Rustom Mody
2024-06-17 5:07 ` Rustom Mody
2024-06-17 15:48 ` Ihor Radchenko
0 siblings, 2 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-17 5:02 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 13290 bytes --]
On Sun, Jun 16, 2024 at 5:42 PM Ihor Radchenko <yantar92@posteo.net> wrote:
>
> Please follow https://orgmode.org/manual/Feedback.html#Feedback
>
>
1. make repro
2. package-initialize (to get org-alist)
3. load file shown above
4. M-x orgalist-send-list
Backtrace
Debugger entered--Lisp error: (void-variable org-element-cache-version)
(list 'version org-element-cache-version)
(list '(elisp org-element--cache) (list 'version
org-element-cache-version))
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related t)
(progn (org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related t))
(if (and org-element-cache-persistent org-element-use-cache) (progn
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related t)))
(let ((delay-mode-hooks t)) (outline-mode) (setq major-mode 'org-mode)
(setq mode-name "Org") (progn (if (get 'outline-mode 'mode-class) (put
'org-mode 'mode-class (get 'outline-mode 'mode-class))) (if (keymap-parent
org-mode-map) nil (set-keymap-parent org-mode-map (current-local-map)))
(let ((parent (char-table-parent org-mode-syntax-table))) (if (and parent
(not (eq parent (standard-syntax-table)))) nil (set-char-table-parent
org-mode-syntax-table (syntax-table)))) (if (or (abbrev-table-get
org-mode-abbrev-table :parents) (eq org-mode-abbrev-table
local-abbrev-table)) nil (abbrev-table-put org-mode-abbrev-table :parents
(list local-abbrev-table)))) (use-local-map org-mode-map) (set-syntax-table
org-mode-syntax-table) (setq local-abbrev-table org-mode-abbrev-table) (set
(make-local-variable 'org-mode-loading) t) (set (make-local-variable
'tab-width) 8) (org-load-modules-maybe) (if org-agenda-file-menu-enabled
(progn (org-install-agenda-files-menu))) (set (make-local-variable
'outline-regexp) org-outline-regexp) (set (make-local-variable
'outline-level) 'org-outline-level) (org-element-cache-reset) (if (and
org-element-cache-persistent org-element-use-cache) (progn
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related t)))
(org-set-regexps-and-options) (add-to-invisibility-spec '(org-link))
(org-fold-initialize (or (and (stringp org-ellipsis) (not (equal ""
org-ellipsis)) org-ellipsis) "...")) (make-local-variable
'org-link-descriptive) (if (eq org-fold-core-style 'overlays) (progn
(add-to-invisibility-spec '(org-hide-block . t)))) (if (and (stringp
org-ellipsis) (not (equal "" org-ellipsis))) (progn (if org-display-table
nil (setq org-display-table (make-display-table))) (set-display-table-slot
org-display-table 4 (vconcat (mapcar #'(lambda ... ...) org-ellipsis)))
(setq buffer-display-table org-display-table)))
(org-set-font-lock-defaults) (if (and org-tag-faces (not
org-tags-special-faces-re)) (progn (org-set-tag-faces 'org-tag-faces
org-tag-faces))) (set (make-local-variable 'calc-embedded-open-mode) "# ")
(set-syntax-table (make-syntax-table org-mode-syntax-table)) (set
(make-local-variable 'font-lock-unfontify-region-function)
'org-unfontify-region) (set (make-local-variable
'org-table-may-need-update) t) (add-hook 'before-change-functions
'org-before-change-function nil 'local) (add-hook 'kill-buffer-hook
'org-check-running-clock nil 'local) (org-fold--advice-edit-commands)
(org-macro-initialize-templates) (org-update-radio-target-regexp) (set
(make-local-variable 'indent-line-function) 'org-indent-line) (set
(make-local-variable 'indent-region-function) 'org-indent-region)
(org-setup-filling) (org-setup-comments-handling) (set (make-local-variable
'beginning-of-defun-function) 'org-backward-element) (set
(make-local-variable 'end-of-defun-function) #'(lambda nil (if (not
(org-at-heading-p)) (org-forward-element) (org-forward-element)
(forward-char -1)))) (set (make-local-variable 'next-error-function)
'org-occur-next-match) (set (make-local-variable
'add-log-current-defun-function) #'org-add-log-current-headline) (if
org-enforce-todo-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent) (remove-hook
'org-blocker-hook 'org-block-todo-from-children-or-siblings-or-parent)) (if
org-enforce-todo-checkbox-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-checkboxes) (remove-hook 'org-blocker-hook
'org-block-todo-from-checkboxes)) (set (make-local-variable
'align-mode-rules-list) '((org-in-buffer-settings (regexp . "^[
\11]*#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode))))) (set
(make-local-variable 'pcomplete-command-completion-function)
#'org-pcomplete-initial) (set (make-local-variable
'pcomplete-command-name-function) #'org-command-at-point) (set
(make-local-variable 'pcomplete-default-completion-function) #'ignore) (set
(make-local-variable 'pcomplete-parse-arguments-function)
#'org-parse-arguments) (set (make-local-variable
'pcomplete-termination-string) "") ...)
(progn (make-local-variable 'delay-mode-hooks) (let ((delay-mode-hooks
t)) (outline-mode) (setq major-mode 'org-mode) (setq mode-name "Org")
(progn (if (get 'outline-mode 'mode-class) (put 'org-mode 'mode-class (get
'outline-mode 'mode-class))) (if (keymap-parent org-mode-map) nil
(set-keymap-parent org-mode-map (current-local-map))) (let ((parent
(char-table-parent org-mode-syntax-table))) (if (and parent (not (eq parent
...))) nil (set-char-table-parent org-mode-syntax-table (syntax-table))))
(if (or (abbrev-table-get org-mode-abbrev-table :parents) (eq
org-mode-abbrev-table local-abbrev-table)) nil (abbrev-table-put
org-mode-abbrev-table :parents (list local-abbrev-table)))) (use-local-map
org-mode-map) (set-syntax-table org-mode-syntax-table) (setq
local-abbrev-table org-mode-abbrev-table) (set (make-local-variable
'org-mode-loading) t) (set (make-local-variable 'tab-width) 8)
(org-load-modules-maybe) (if org-agenda-file-menu-enabled (progn
(org-install-agenda-files-menu))) (set (make-local-variable
'outline-regexp) org-outline-regexp) (set (make-local-variable
'outline-level) 'org-outline-level) (org-element-cache-reset) (if (and
org-element-cache-persistent org-element-use-cache) (progn
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related t)))
(org-set-regexps-and-options) (add-to-invisibility-spec '(org-link))
(org-fold-initialize (or (and (stringp org-ellipsis) (not (equal ""
org-ellipsis)) org-ellipsis) "...")) (make-local-variable
'org-link-descriptive) (if (eq org-fold-core-style 'overlays) (progn
(add-to-invisibility-spec '(org-hide-block . t)))) (if (and (stringp
org-ellipsis) (not (equal "" org-ellipsis))) (progn (if org-display-table
nil (setq org-display-table (make-display-table))) (set-display-table-slot
org-display-table 4 (vconcat (mapcar #'... org-ellipsis))) (setq
buffer-display-table org-display-table))) (org-set-font-lock-defaults) (if
(and org-tag-faces (not org-tags-special-faces-re)) (progn
(org-set-tag-faces 'org-tag-faces org-tag-faces))) (set
(make-local-variable 'calc-embedded-open-mode) "# ") (set-syntax-table
(make-syntax-table org-mode-syntax-table)) (set (make-local-variable
'font-lock-unfontify-region-function) 'org-unfontify-region) (set
(make-local-variable 'org-table-may-need-update) t) (add-hook
'before-change-functions 'org-before-change-function nil 'local) (add-hook
'kill-buffer-hook 'org-check-running-clock nil 'local)
(org-fold--advice-edit-commands) (org-macro-initialize-templates)
(org-update-radio-target-regexp) (set (make-local-variable
'indent-line-function) 'org-indent-line) (set (make-local-variable
'indent-region-function) 'org-indent-region) (org-setup-filling)
(org-setup-comments-handling) (set (make-local-variable
'beginning-of-defun-function) 'org-backward-element) (set
(make-local-variable 'end-of-defun-function) #'(lambda nil (if (not
(org-at-heading-p)) (org-forward-element) (org-forward-element)
(forward-char -1)))) (set (make-local-variable 'next-error-function)
'org-occur-next-match) (set (make-local-variable
'add-log-current-defun-function) #'org-add-log-current-headline) (if
org-enforce-todo-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent) (remove-hook
'org-blocker-hook 'org-block-todo-from-children-or-siblings-or-parent)) (if
org-enforce-todo-checkbox-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-checkboxes) (remove-hook 'org-blocker-hook
'org-block-todo-from-checkboxes)) (set (make-local-variable
'align-mode-rules-list) '((org-in-buffer-settings (regexp . "^[
\11]*#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode))))) (set
(make-local-variable 'pcomplete-command-completion-function)
#'org-pcomplete-initial) (set (make-local-variable
'pcomplete-command-name-function) #'org-command-at-point) (set
(make-local-variable 'pcomplete-default-completion-function) #'ignore) (set
(make-local-variable 'pcomplete-parse-arguments-function)
#'org-parse-arguments) (set (make-local-variable
'pcomplete-termination-string) "") ...))
org-mode()
(let ((org-inhibit-startup t)) (org-mode))
(progn (let ((org-inhibit-startup t)) (org-mode)) (let (insert-list
insert-item) (setq insert-list #'(lambda (l) (let ((tail ...)) (while tail
(let ... ... ...))))) (setq insert-item #'(lambda (i type) (let ((start
...)) (insert (if ... "1. " "- ")) (let (...) (while tail ...))
(forward-line 0) (save-excursion (let ... ...))))) (funcall insert-list
list)) (setq data (org-element-map (org-element-parse-buffer) 'plain-list
#'identity nil t)) (setq info (org-export-get-environment backend nil
params)))
(unwind-protect (progn (let ((org-inhibit-startup t)) (org-mode)) (let
(insert-list insert-item) (setq insert-list #'(lambda (l) (let (...) (while
tail ...)))) (setq insert-item #'(lambda (i type) (let (...) (insert ...)
(let ... ...) (forward-line 0) (save-excursion ...)))) (funcall insert-list
list)) (setq data (org-element-map (org-element-parse-buffer) 'plain-list
#'identity nil t)) (setq info (org-export-get-environment backend nil
params))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let
((org-inhibit-startup t)) (org-mode)) (let (insert-list insert-item) (setq
insert-list #'(lambda (l) (let ... ...))) (setq insert-item #'(lambda (i
type) (let ... ... ... ... ...))) (funcall insert-list list)) (setq data
(org-element-map (org-element-parse-buffer) 'plain-list #'identity nil t))
(setq info (org-export-get-environment backend nil params))) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*" t)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (let
((org-inhibit-startup t)) (org-mode)) (let (insert-list insert-item) (setq
insert-list #'(lambda ... ...)) (setq insert-item #'(lambda ... ...))
(funcall insert-list list)) (setq data (org-element-map
(org-element-parse-buffer) 'plain-list #'identity nil t)) (setq info
(org-export-get-environment backend nil params))) (and (buffer-name
temp-buffer) (kill-buffer temp-buffer)))))
(let* ((backend (plist-get params :backend)) (custom-backend
(org-export-create-backend :parent (or backend 'org) :transcoders (cons
(cons 'plain-list (org-list--to-generic-plain-list params)) (cons (cons
'item (org-list--to-generic-item params)) '(...))))) data info) (let
((temp-buffer (generate-new-buffer " *temp*" t))) (save-current-buffer
(set-buffer temp-buffer) (unwind-protect (progn (let ((org-inhibit-startup
t)) (org-mode)) (let (insert-list insert-item) (setq insert-list #'...)
(setq insert-item #'...) (funcall insert-list list)) (setq data
(org-element-map (org-element-parse-buffer) 'plain-list #'identity nil t))
(setq info (org-export-get-environment backend nil params))) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer))))) (if (and backend
(symbolp backend) (not (org-export-get-backend backend))) (progn
(user-error "Unknown :backend value"))) (if backend nil (require 'ox-org))
(if (and backend (plist-get params :raw)) (progn (org-element-map data
org-element-all-objects #'(lambda (object) (org-element-set object
(org-element-interpret-data object)))))) (let ((output
(org-export-data-with-backend data custom-backend info))) (if
(org-string-nw-p output) (substring-no-properties output 0 -1) "")))
org-list-to-generic((unordered ("a new house") ("a new computer"
(unordered ("a new keyboard") ("a new mouse"))) ("a new life")) (:backend
latex))
org-list-to-latex((unordered ("a new house") ("a new computer" (unordered
("a new keyboard") ("a new mouse"))) ("a new life")))
orgalist-send-list()
funcall-interactively(orgalist-send-list)
command-execute(orgalist-send-list record)
execute-extended-command(nil "orgalist-send-list" "orgalist-se")
funcall-interactively(execute-extended-command nil "orgalist-send-list"
"orgalist-se")
command-execute(execute-extended-command)
[-- Attachment #2: Type: text/html, Size: 14702 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-17 5:02 ` Rustom Mody
@ 2024-06-17 5:07 ` Rustom Mody
2024-06-17 15:48 ` Ihor Radchenko
1 sibling, 0 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-17 5:07 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 39653 bytes --]
Oops after sending the last mail, when I closed the debug window I see this
warning window below
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
⛔ Warning (emacs): Org version mismatch.
This warning usually appears when a built-in Org version is loaded
prior to the more recent Org version.
Version mismatch is commonly encountered in the following situations:
1. Emacs is loaded using literate Org config and more recent Org
version is loaded inside the file loaded by ‘org-babel-load-file’.
‘org-babel-load-file’ triggers the built-in Org version clashing
the newer Org version attempt to be loaded later.
It is recommended to move the Org loading code before the
‘org-babel-load-file’ call.
2. New Org version is loaded manually by setting ‘load-path’, but some
other package depending on Org is loaded before the ‘load-path’ is
configured.
This "other package" is triggering built-in Org version, again
causing the version mismatch.
It is recommended to set ‘load-path’ as early in the config as
possible.
3. New Org version is loaded using straight.el package manager and
other package depending on Org is loaded before straight triggers
loading of the newer Org version.
It is recommended to put
(straight-use-package 'org)
early in the config. Ideally, right after the straight.el
bootstrap. Moving ‘use-package’ :straight declaration may not be
sufficient if the corresponding ‘use-package’ statement is
deferring the loading.
4. A new Org version is synchronized with Emacs git repository and
stale .elc files are still left from the previous build.
It is recommended to remove .elc files from lisp/org directory and
re-compile.
[-- Attachment #2: Type: text/html, Size: 43167 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-17 5:02 ` Rustom Mody
2024-06-17 5:07 ` Rustom Mody
@ 2024-06-17 15:48 ` Ihor Radchenko
1 sibling, 0 replies; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-17 15:48 UTC (permalink / raw)
To: Rustom Mody; +Cc: Nicolas Goaziou, emacs-orgmode
Rustom Mody <rustompmody@gmail.com> writes:
> On Sun, Jun 16, 2024 at 5:42 PM Ihor Radchenko <yantar92@posteo.net> wrote:
>
>>
>> Please follow https://orgmode.org/manual/Feedback.html#Feedback
>>
>>
> 1. make repro
> 2. package-initialize (to get org-alist)
Please do M-: (require 'org-element) RET here.
You are getting a mix of built-in and git Org versions somehow.
> 3. load file shown above
> 4. M-x orgalist-send-list
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-15 13:27 ` Ihor Radchenko
2024-06-16 2:31 ` Rustom Mody
@ 2024-06-17 18:07 ` Nicolas Goaziou via General discussions about Org-mode.
2024-06-18 6:26 ` Rustom Mody
1 sibling, 1 reply; 19+ messages in thread
From: Nicolas Goaziou via General discussions about Org-mode. @ 2024-06-17 18:07 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Rustom Mody, emacs-orgmode
Hello,
Ihor Radchenko <yantar92@posteo.net> writes:
> I can reproduce. The problem is in
>
> ;; FIXME: Compatibility layer. Remove when
> ;; we require at least Emacs 26.1.
> (funcall (if (fboundp 'org-list-to-lisp)
> 'org-list-to-lisp)
> 'org-list-parse-list)
>
> The `if' has its parenthesis messed up, calling `org-list-to-lisp'
> with DELETE argument.
Fixed. Thank you.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-17 18:07 ` Nicolas Goaziou via General discussions about Org-mode.
@ 2024-06-18 6:26 ` Rustom Mody
2024-06-18 6:31 ` Ihor Radchenko
2024-06-18 9:21 ` Nicolas Goaziou via General discussions about Org-mode.
0 siblings, 2 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 6:26 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Ihor Radchenko, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 795 bytes --]
On Mon, Jun 17, 2024 at 11:37 PM Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
>
> Fixed. Thank you.
>
>
Nicolas:
I can confirm that with orgalist 1.15 the delete behavior has been
corrected -- Thanks!
The warning:
⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org
buffer #<buffer orgalist.txt> (text-mode)
remains however. [A 1 line warning buffer]
Ihor:
The (require 'org-element) at that point (after make repro and
package-initialize)
a 165 line warning buffer starting
⛔ Warning (emacs): Org version mismatch.
...
There is no mixed org
List-load-path-shadows shows a git org 9.8pre and an elpa org 9.6
I cant remove the elpa because there are other elpa packages that have
(require 'org)
Any thoughts/suggestions?
[-- Attachment #2: Type: text/html, Size: 1472 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 6:26 ` Rustom Mody
@ 2024-06-18 6:31 ` Ihor Radchenko
2024-06-18 6:47 ` Rustom Mody
2024-06-18 9:21 ` Nicolas Goaziou via General discussions about Org-mode.
1 sibling, 1 reply; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-18 6:31 UTC (permalink / raw)
To: Rustom Mody; +Cc: Nicolas Goaziou, emacs-orgmode
Rustom Mody <rustompmody@gmail.com> writes:
> There is no mixed org
>
> List-load-path-shadows shows a git org 9.8pre and an elpa org 9.6
> I cant remove the elpa because there are other elpa packages that have
> (require 'org)
>
> Any thoughts/suggestions?
There _is_ mixed Org. In this particular case, likely org 9.6 from ELPA
is shadowing the 9.8pre that make repro sets up. When you run
(package-activate-all), you shadow the 9.8pre with ELPA version.
Instead of doing (package-activate-all) try
1. make repro
2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path)
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 6:31 ` Ihor Radchenko
@ 2024-06-18 6:47 ` Rustom Mody
2024-06-18 6:50 ` Rustom Mody
2024-06-18 7:40 ` Ihor Radchenko
0 siblings, 2 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 6:47 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 1381 bytes --]
On Tue, Jun 18, 2024 at 11:59 AM Ihor Radchenko <yantar92@posteo.net> wrote:
> Rustom Mody <rustompmody@gmail.com> writes:
>
> > There is no mixed org
> >
> > List-load-path-shadows shows a git org 9.8pre and an elpa org 9.6
> > I cant remove the elpa because there are other elpa packages that have
> > (require 'org)
> >
> > Any thoughts/suggestions?
>
> There _is_ mixed Org. In this particular case, likely org 9.6 from ELPA
>
Yes -- that was a typo when I said there is no mixed org
> is shadowing the 9.8pre that make repro sets up. When you run
> (package-activate-all), you shadow the 9.8pre with ELPA version.
>
> Instead of doing (package-activate-all) try
>
> 1. make repro
> 2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path)
>
>
Doing that alone does not find orgalist-mode
If I add:
3. load-file "/path/to/orgalist/folder/on/elpa/dir/orgalist-autoloads.el"
then orgalist minor mode starts
But on M-x orgalist-send-list I get
Debugger entered--Lisp error: (error "Not at a list item")
error("Not at a list item")
orgalist-send-list()
funcall-interactively(orgalist-send-list)
command-execute(orgalist-send-list record)
execute-extended-command(nil "orgalist-send-list" nil)
funcall-interactively(execute-extended-command nil "orgalist-send-list"
nil)
command-execute(execute-extended-command)
[-- Attachment #2: Type: text/html, Size: 2184 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 6:47 ` Rustom Mody
@ 2024-06-18 6:50 ` Rustom Mody
2024-06-18 7:40 ` Ihor Radchenko
1 sibling, 0 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 6:50 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 95 bytes --]
Note I tried removing the elpa packages requiring org but there are many
Including org-contrib
[-- Attachment #2: Type: text/html, Size: 162 bytes --]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 6:47 ` Rustom Mody
2024-06-18 6:50 ` Rustom Mody
@ 2024-06-18 7:40 ` Ihor Radchenko
2024-06-18 8:44 ` Rustom Mody
1 sibling, 1 reply; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-18 7:40 UTC (permalink / raw)
To: Rustom Mody; +Cc: Nicolas Goaziou, emacs-orgmode
Rustom Mody <rustompmody@gmail.com> writes:
>> 1. make repro
>> 2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path)
>>
>>
> Doing that alone does not find orgalist-mode
> If I add:
> 3. load-file "/path/to/orgalist/folder/on/elpa/dir/orgalist-autoloads.el"
>
> then orgalist minor mode starts
>
> But on M-x orgalist-send-list I get
>
> Debugger entered--Lisp error: (error "Not at a list item")
> error("Not at a list item")
Hmm. Let's try to isolate things even further.
May you
1. make repro
2. download orgalist source code separately
3. Add it to load-path
4. (require 'orgalist)
5. Try to reproduce
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 7:40 ` Ihor Radchenko
@ 2024-06-18 8:44 ` Rustom Mody
2024-06-18 14:45 ` Ihor Radchenko
0 siblings, 1 reply; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 8:44 UTC (permalink / raw)
To: Ihor Radchenko; +Cc: Nicolas Goaziou, emacs-orgmode
On Tue, Jun 18, 2024 at 1:09 PM Ihor Radchenko <yantar92@posteo.net> wrote:
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> >> 1. make repro
> >> 2. (push "/path/to/orgalist/folder/on/elpa/dir" load-path)
> >>
> >>
> > Doing that alone does not find orgalist-mode
> > If I add:
> > 3. load-file "/path/to/orgalist/folder/on/elpa/dir/orgalist-autoloads.el"
> >
> > then orgalist minor mode starts
> >
> > But on M-x orgalist-send-list I get
> >
> > Debugger entered--Lisp error: (error "Not at a list item")
> > error("Not at a list item")
>
> Hmm. Let's try to isolate things even further.
>
> May you
>
> 1. make repro
> 2. download orgalist source code separately
All I can find is https://elpa.gnu.org/packages/orgalist.html
That has a link
https://elpa.gnu.org/packages/orgalist-1.14.tar
which is broken
Also it has versions 1.14 and 1.15 confused
Latest orgalist-1.14.tar
But below the badge
GNU ELPA orgalist 1.15
When I changed the 14 in the link to 15 I could download a tar file
It seems to contain the same file that elpa gets
I load it by hand
Get the same error:
Debugger entered--Lisp error: (error "Not at a list item")
error("Not at a list item")
(if (orgalist--at-item-p) nil (error "Not at a list item"))
(catch 'exit (if (orgalist--at-item-p) nil (error "Not at a list
item")) (save-excursion (let ((case-fold-search t))
(re-search-backward "^[ \11]*#\\+ORGLST:" nil t) (if (looking-at "[
\11]*#\\+ORGLST:[ \11]+SEND[ \11]+\\(\\S-+\\)[ \11]+\\([^ \11\n]...")
nil (if maybe (throw 'exit nil) (error "Don't know how to transform
this list"))))) (let* ((name (regexp-quote (match-string 1)))
(transform (intern (match-string 2))) (bottom-point (save-excursion
(re-search-forward "\\(\\\\end{comment}\\|@end ignore\\|-->\\)" nil t)
(match-beginning 0))) (top-point (progn (re-search-backward
"#\\+ORGLST" nil t) (re-search-forward (org-item-beginning-re)
bottom-point t) (match-beginning 0))) (plain-list (save-excursion
(goto-char top-point) (funcall 'org-list-to-lisp)))) (if (fboundp
transform) nil (error "No such transformation function %s" transform))
(let ((txt (funcall transform plain-list))) (save-excursion (goto-char
(point-min)) (let ((receiver-count 0) (begin-re (format "BEGIN
+RECEIVE +ORGLST +%s\\([ \11]\\|$\\)" name)) (end-re (format "END
+RECEIVE +ORGLST +%s\\([ \11]\\|$\\)" name))) (while
(re-search-forward begin-re nil t) (setq receiver-count (1+
receiver-count)) (let (...) (if ... nil ...) (beginning-of-line)
(delete-region beg ...) (insert txt "\n"))) (cond ((> receiver-count
1) (message "List converted and installed at receiver locations")) ((=
receiver-count 1) (message "List converted and installed at receiver
location")) (t (user-error "No valid receiver location found"))))))))
orgalist-send-list()
funcall-interactively(orgalist-send-list)
command-execute(orgalist-send-list record)
execute-extended-command(nil "orgalist-send-list" "orgalist-se")
funcall-interactively(execute-extended-command nil
"orgalist-send-list" "orgalist-se")
command-execute(execute-extended-command)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 6:26 ` Rustom Mody
2024-06-18 6:31 ` Ihor Radchenko
@ 2024-06-18 9:21 ` Nicolas Goaziou via General discussions about Org-mode.
2024-06-18 9:34 ` Rustom Mody
1 sibling, 1 reply; 19+ messages in thread
From: Nicolas Goaziou via General discussions about Org-mode. @ 2024-06-18 9:21 UTC (permalink / raw)
To: Rustom Mody; +Cc: Ihor Radchenko, emacs-orgmode
Hello,
Rustom Mody <rustompmody@gmail.com> writes:
> I can confirm that with orgalist 1.15 the delete behavior has been
> corrected -- Thanks!
> The warning:
> ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org
> buffer #<buffer orgalist.txt> (text-mode)
I think I fixed it in release freshly submitted release 1.16.
Thanks.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 9:21 ` Nicolas Goaziou via General discussions about Org-mode.
@ 2024-06-18 9:34 ` Rustom Mody
2024-06-18 12:05 ` Rustom Mody
0 siblings, 1 reply; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 9:34 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Ihor Radchenko, emacs-orgmode
On Tue, Jun 18, 2024 at 2:51 PM Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote:
>
> Hello,
>
> Rustom Mody <rustompmody@gmail.com> writes:
>
> > I can confirm that with orgalist 1.15 the delete behavior has been
> > corrected -- Thanks!
> > The warning:
> > ⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in non-Org
> > buffer #<buffer orgalist.txt> (text-mode)
>
> I think I fixed it in release freshly submitted release 1.16.
The elpa broken link and 1.14 1.15 mixup is gone
But the problem remains
If I start emacs normally then this warning
⛔ Warning (org-element): ‘org-element-at-point’ cannot be used in
non-Org buffer #<buffer orgalist.txt> (text-mode)
The following error on
make repro
package-initialize
package-install orgalist
Open file
M-x orgalist-mode
M-x orgalist-send-list
Debugger entered--Lisp error: (wrong-number-of-arguments org-persist-load 5)
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related
t)
(progn (org-persist-load (list '(elisp org-element--cache) (list
'version org-element-cache-version)) (current-buffer) 'match-hash
:read-related t))
(if (and org-element-cache-persistent org-element-use-cache) (progn
(org-persist-load (list '(elisp org-element--cache) (list 'version
org-element-cache-version)) (current-buffer) 'match-hash :read-related
t)))
(let ((delay-mode-hooks t)) (outline-mode) (setq major-mode
'org-mode) (setq mode-name "Org") (progn (if (get 'outline-mode
'mode-class) (put 'org-mode 'mode-class (get 'outline-mode
'mode-class))) (if (keymap-parent org-mode-map) nil (set-keymap-parent
org-mode-map (current-local-map))) (let ((parent (char-table-parent
org-mode-syntax-table))) (if (and parent (not (eq parent
(standard-syntax-table)))) nil (set-char-table-parent
org-mode-syntax-table (syntax-table)))) (if (or (abbrev-table-get
org-mode-abbrev-table :parents) (eq org-mode-abbrev-table
local-abbrev-table)) nil (abbrev-table-put org-mode-abbrev-table
:parents (list local-abbrev-table)))) (use-local-map org-mode-map)
(set-syntax-table org-mode-syntax-table) (setq local-abbrev-table
org-mode-abbrev-table) (set (make-local-variable 'org-mode-loading) t)
(set (make-local-variable 'tab-width) 8) (org-load-modules-maybe) (if
org-agenda-file-menu-enabled (progn (org-install-agenda-files-menu)))
(set (make-local-variable 'outline-regexp) org-outline-regexp) (set
(make-local-variable 'outline-level) 'org-outline-level)
(org-element-cache-reset) (if (and org-element-cache-persistent
org-element-use-cache) (progn (org-persist-load (list '(elisp
org-element--cache) (list 'version org-element-cache-version))
(current-buffer) 'match-hash :read-related t)))
(org-set-regexps-and-options) (add-to-invisibility-spec '(org-link))
(org-fold-initialize (or (and (stringp org-ellipsis) (not (equal ""
org-ellipsis)) org-ellipsis) "...")) (make-local-variable
'org-link-descriptive) (if (eq org-fold-core-style 'overlays) (progn
(add-to-invisibility-spec '(org-hide-block . t)))) (if (and (stringp
org-ellipsis) (not (equal "" org-ellipsis))) (progn (if
org-display-table nil (setq org-display-table (make-display-table)))
(set-display-table-slot org-display-table 4 (vconcat (mapcar #'(lambda
... ...) org-ellipsis))) (setq buffer-display-table
org-display-table))) (org-set-font-lock-defaults) (if (and
org-tag-faces (not org-tags-special-faces-re)) (progn
(org-set-tag-faces 'org-tag-faces org-tag-faces))) (set
(make-local-variable 'calc-embedded-open-mode) "# ") (set-syntax-table
(make-syntax-table org-mode-syntax-table)) (set (make-local-variable
'font-lock-unfontify-region-function) 'org-unfontify-region) (set
(make-local-variable 'org-table-may-need-update) t) (add-hook
'before-change-functions 'org-before-change-function nil 'local)
(add-hook 'kill-buffer-hook 'org-check-running-clock nil 'local)
(org-fold--advice-edit-commands) (org-macro-initialize-templates)
(org-update-radio-target-regexp) (set (make-local-variable
'indent-line-function) 'org-indent-line) (set (make-local-variable
'indent-region-function) 'org-indent-region) (org-setup-filling)
(org-setup-comments-handling) (set (make-local-variable
'beginning-of-defun-function) 'org-backward-element) (set
(make-local-variable 'end-of-defun-function) #'(lambda nil (if (not
(org-at-heading-p)) (org-forward-element) (org-forward-element)
(forward-char -1)))) (set (make-local-variable 'next-error-function)
'org-occur-next-match) (set (make-local-variable
'add-log-current-defun-function) #'org-add-log-current-headline) (if
org-enforce-todo-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent) (remove-hook
'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent)) (if
org-enforce-todo-checkbox-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-checkboxes) (remove-hook 'org-blocker-hook
'org-block-todo-from-checkboxes)) (set (make-local-variable
'align-mode-rules-list) '((org-in-buffer-settings (regexp . "^[
\11]*#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode))))) (set
(make-local-variable 'pcomplete-command-completion-function)
#'org-pcomplete-initial) (set (make-local-variable
'pcomplete-command-name-function) #'org-command-at-point) (set
(make-local-variable 'pcomplete-default-completion-function) #'ignore)
(set (make-local-variable 'pcomplete-parse-arguments-function)
#'org-parse-arguments) (set (make-local-variable
'pcomplete-termination-string) "") ...)
(progn (make-local-variable 'delay-mode-hooks) (let
((delay-mode-hooks t)) (outline-mode) (setq major-mode 'org-mode)
(setq mode-name "Org") (progn (if (get 'outline-mode 'mode-class) (put
'org-mode 'mode-class (get 'outline-mode 'mode-class))) (if
(keymap-parent org-mode-map) nil (set-keymap-parent org-mode-map
(current-local-map))) (let ((parent (char-table-parent
org-mode-syntax-table))) (if (and parent (not (eq parent ...))) nil
(set-char-table-parent org-mode-syntax-table (syntax-table)))) (if (or
(abbrev-table-get org-mode-abbrev-table :parents) (eq
org-mode-abbrev-table local-abbrev-table)) nil (abbrev-table-put
org-mode-abbrev-table :parents (list local-abbrev-table))))
(use-local-map org-mode-map) (set-syntax-table org-mode-syntax-table)
(setq local-abbrev-table org-mode-abbrev-table) (set
(make-local-variable 'org-mode-loading) t) (set (make-local-variable
'tab-width) 8) (org-load-modules-maybe) (if
org-agenda-file-menu-enabled (progn (org-install-agenda-files-menu)))
(set (make-local-variable 'outline-regexp) org-outline-regexp) (set
(make-local-variable 'outline-level) 'org-outline-level)
(org-element-cache-reset) (if (and org-element-cache-persistent
org-element-use-cache) (progn (org-persist-load (list '(elisp
org-element--cache) (list 'version org-element-cache-version))
(current-buffer) 'match-hash :read-related t)))
(org-set-regexps-and-options) (add-to-invisibility-spec '(org-link))
(org-fold-initialize (or (and (stringp org-ellipsis) (not (equal ""
org-ellipsis)) org-ellipsis) "...")) (make-local-variable
'org-link-descriptive) (if (eq org-fold-core-style 'overlays) (progn
(add-to-invisibility-spec '(org-hide-block . t)))) (if (and (stringp
org-ellipsis) (not (equal "" org-ellipsis))) (progn (if
org-display-table nil (setq org-display-table (make-display-table)))
(set-display-table-slot org-display-table 4 (vconcat (mapcar #'...
org-ellipsis))) (setq buffer-display-table org-display-table)))
(org-set-font-lock-defaults) (if (and org-tag-faces (not
org-tags-special-faces-re)) (progn (org-set-tag-faces 'org-tag-faces
org-tag-faces))) (set (make-local-variable 'calc-embedded-open-mode)
"# ") (set-syntax-table (make-syntax-table org-mode-syntax-table))
(set (make-local-variable 'font-lock-unfontify-region-function)
'org-unfontify-region) (set (make-local-variable
'org-table-may-need-update) t) (add-hook 'before-change-functions
'org-before-change-function nil 'local) (add-hook 'kill-buffer-hook
'org-check-running-clock nil 'local) (org-fold--advice-edit-commands)
(org-macro-initialize-templates) (org-update-radio-target-regexp) (set
(make-local-variable 'indent-line-function) 'org-indent-line) (set
(make-local-variable 'indent-region-function) 'org-indent-region)
(org-setup-filling) (org-setup-comments-handling) (set
(make-local-variable 'beginning-of-defun-function)
'org-backward-element) (set (make-local-variable
'end-of-defun-function) #'(lambda nil (if (not (org-at-heading-p))
(org-forward-element) (org-forward-element) (forward-char -1)))) (set
(make-local-variable 'next-error-function) 'org-occur-next-match) (set
(make-local-variable 'add-log-current-defun-function)
#'org-add-log-current-headline) (if org-enforce-todo-dependencies
(add-hook 'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent) (remove-hook
'org-blocker-hook
'org-block-todo-from-children-or-siblings-or-parent)) (if
org-enforce-todo-checkbox-dependencies (add-hook 'org-blocker-hook
'org-block-todo-from-checkboxes) (remove-hook 'org-blocker-hook
'org-block-todo-from-checkboxes)) (set (make-local-variable
'align-mode-rules-list) '((org-in-buffer-settings (regexp . "^[
\11]*#\\+[A-Z_]+:\\(\\s-*\\)\\S-+") (modes quote (org-mode))))) (set
(make-local-variable 'pcomplete-command-completion-function)
#'org-pcomplete-initial) (set (make-local-variable
'pcomplete-command-name-function) #'org-command-at-point) (set
(make-local-variable 'pcomplete-default-completion-function) #'ignore)
(set (make-local-variable 'pcomplete-parse-arguments-function)
#'org-parse-arguments) (set (make-local-variable
'pcomplete-termination-string) "") ...))
org-mode()
(let ((org-inhibit-startup t)) (org-mode))
(progn (let ((org-inhibit-startup t)) (org-mode)) (let (insert-list
insert-item) (setq insert-list #'(lambda (l) (let ((tail ...)) (while
tail (let ... ... ...))))) (setq insert-item #'(lambda (i type) (let
((start ...)) (insert (if ... "1. " "- ")) (let (...) (while tail
...)) (forward-line 0) (save-excursion (let ... ...))))) (funcall
insert-list list)) (setq data (org-element-map
(org-element-parse-buffer) 'plain-list #'identity nil t)) (setq info
(org-export-get-environment backend nil params)))
(unwind-protect (progn (let ((org-inhibit-startup t)) (org-mode))
(let (insert-list insert-item) (setq insert-list #'(lambda (l) (let
(...) (while tail ...)))) (setq insert-item #'(lambda (i type) (let
(...) (insert ...) (let ... ...) (forward-line 0) (save-excursion
...)))) (funcall insert-list list)) (setq data (org-element-map
(org-element-parse-buffer) 'plain-list #'identity nil t)) (setq info
(org-export-get-environment backend nil params))) (and (buffer-name
temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((org-inhibit-startup t)) (org-mode)) (let (insert-list
insert-item) (setq insert-list #'(lambda (l) (let ... ...))) (setq
insert-item #'(lambda (i type) (let ... ... ... ... ...))) (funcall
insert-list list)) (setq data (org-element-map
(org-element-parse-buffer) 'plain-list #'identity nil t)) (setq info
(org-export-get-environment backend nil params))) (and (buffer-name
temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*" t)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((org-inhibit-startup t)) (org-mode)) (let (insert-list
insert-item) (setq insert-list #'(lambda ... ...)) (setq insert-item
#'(lambda ... ...)) (funcall insert-list list)) (setq data
(org-element-map (org-element-parse-buffer) 'plain-list #'identity nil
t)) (setq info (org-export-get-environment backend nil params))) (and
(buffer-name temp-buffer) (kill-buffer temp-buffer)))))
(let* ((backend (plist-get params :backend)) (custom-backend
(org-export-create-backend :parent (or backend 'org) :transcoders
(cons (cons 'plain-list (org-list--to-generic-plain-list params))
(cons (cons 'item (org-list--to-generic-item params)) '(...))))) data
info) (let ((temp-buffer (generate-new-buffer " *temp*" t)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn
(let ((org-inhibit-startup t)) (org-mode)) (let (insert-list
insert-item) (setq insert-list #'...) (setq insert-item #'...)
(funcall insert-list list)) (setq data (org-element-map
(org-element-parse-buffer) 'plain-list #'identity nil t)) (setq info
(org-export-get-environment backend nil params))) (and (buffer-name
temp-buffer) (kill-buffer temp-buffer))))) (if (and backend (symbolp
backend) (not (org-export-get-backend backend))) (progn (user-error
"Unknown :backend value"))) (if backend nil (require 'ox-org)) (if
(and backend (plist-get params :raw)) (progn (org-element-map data
org-element-all-objects #'(lambda (object) (org-element-set object
(org-element-interpret-data object)))))) (let ((output
(org-export-data-with-backend data custom-backend info))) (if
(org-string-nw-p output) (substring-no-properties output 0 -1) "")))
org-list-to-generic((unordered ("a new house") ("a new computer"
(unordered ("a new keyboard") ("a new mouse"))) ("a new life"))
(:backend latex))
org-list-to-latex((unordered ("a new house") ("a new computer"
(unordered ("a new keyboard") ("a new mouse"))) ("a new life")))
orgalist-send-list()
funcall-interactively(orgalist-send-list)
command-execute(orgalist-send-list record)
execute-extended-command(nil "orgalist-send-list" "orgalist-se")
funcall-interactively(execute-extended-command nil
"orgalist-send-list" "orgalist-se")
command-execute(execute-extended-command)
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 9:34 ` Rustom Mody
@ 2024-06-18 12:05 ` Rustom Mody
0 siblings, 0 replies; 19+ messages in thread
From: Rustom Mody @ 2024-06-18 12:05 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: Ihor Radchenko, emacs-orgmode
Playing around a little more only more confusing
Earlier I thought:
- Normal emacs startup gives warning on send
- make repro startup makes it an error
But now I find that even the make repro
also gives warnings or errors unpredictably.
[Normal startup was never giving errors; only warnings and until 1.14
it was deleting the source, now not deleting]
^ permalink raw reply [flat|nested] 19+ messages in thread
* Re: [BUG] orgalist send bug
2024-06-18 8:44 ` Rustom Mody
@ 2024-06-18 14:45 ` Ihor Radchenko
0 siblings, 0 replies; 19+ messages in thread
From: Ihor Radchenko @ 2024-06-18 14:45 UTC (permalink / raw)
To: Rustom Mody; +Cc: Nicolas Goaziou, emacs-orgmode
Rustom Mody <rustompmody@gmail.com> writes:
>> 1. make repro
>> 2. download orgalist source code separately
>
>
> All I can find is https://elpa.gnu.org/packages/orgalist.html
> That has a link
> https://elpa.gnu.org/packages/orgalist-1.14.tar
> which is broken
> ...
> When I changed the 14 in the link to 15 I could download a tar file
> It seems to contain the same file that elpa gets
>
> I load it by hand
> Get the same error:
>
>
> Debugger entered--Lisp error: (error "Not at a list item")
I just tried to repeat your steps using even cleaner setup (using
https://github.com/alphapapa/with-emacs.sh)
1. I created a file orgalist.txt with
% BEGIN RECEIVE ORGLST to-buy
% END RECEIVE ORGLST to-buy
\begin{comment}
#+ORGLST: SEND to-buy org-list-to-latex
- a new house
- a new computer
+ a new keyboard
+ a new mouse
- a new life
\end{comment}
2. with-emacs.sh -i org -i orgalist
3. Open the file
4. M-x orgalist-mode
5. Move point to "a new house" line
6. M-x orgalist-send-list
7. Everything works
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
^ permalink raw reply [flat|nested] 19+ messages in thread
end of thread, other threads:[~2024-06-18 14:44 UTC | newest]
Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-14 16:54 [BUG] orgalist send bug Rustom Mody
2024-06-15 13:27 ` Ihor Radchenko
2024-06-16 2:31 ` Rustom Mody
2024-06-16 2:44 ` Rustom Mody
2024-06-16 12:13 ` Ihor Radchenko
2024-06-17 5:02 ` Rustom Mody
2024-06-17 5:07 ` Rustom Mody
2024-06-17 15:48 ` Ihor Radchenko
2024-06-17 18:07 ` Nicolas Goaziou via General discussions about Org-mode.
2024-06-18 6:26 ` Rustom Mody
2024-06-18 6:31 ` Ihor Radchenko
2024-06-18 6:47 ` Rustom Mody
2024-06-18 6:50 ` Rustom Mody
2024-06-18 7:40 ` Ihor Radchenko
2024-06-18 8:44 ` Rustom Mody
2024-06-18 14:45 ` Ihor Radchenko
2024-06-18 9:21 ` Nicolas Goaziou via General discussions about Org-mode.
2024-06-18 9:34 ` Rustom Mody
2024-06-18 12:05 ` Rustom Mody
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).