* org-refile, org-capture byte-compiling failure with recent emacs-git
@ 2022-03-03 1:14 Vladimir Lomov
2022-03-03 2:07 ` Kyle Meyer
0 siblings, 1 reply; 5+ messages in thread
From: Vladimir Lomov @ 2022-03-03 1:14 UTC (permalink / raw)
To: General discussions about Org-mode
[-- Attachment #1: Type: text/plain, Size: 1038 bytes --]
Hello,
org-refile and org-capture failed to byte-compile by emacs from git (commit:
8c8093aa6f20a7a4f3799cbdb9270cac013ef71d) with following messages:
...
Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-capture.el...
In toplevel form:
org-capture.el:1455:12: Error: Wrong number of arguments: (1 . 2), 4
...
Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-refile.el...
In toplevel form:
org-refile.el:566:17: Error: Wrong number of arguments: (1 . 2), 4
...
I also see this warning:
...
Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-agenda.el...
org-refile.el: Warning: Error: %S
org-refile.el: Warning: Error: %S
...
but not sure if it is related to above errors.
P.S. I tried the latest git commit (ef66660cf495b2bc6a4eb5b3c21e26d9df8c7577).
---
WBR, Vladimir Lomov
--
I come from a small town whose population never changed. Each time a woman
got pregnant, someone left town.
-- Michael Prichard
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: org-refile, org-capture byte-compiling failure with recent emacs-git
2022-03-03 1:14 org-refile, org-capture byte-compiling failure with recent emacs-git Vladimir Lomov
@ 2022-03-03 2:07 ` Kyle Meyer
2022-03-03 3:12 ` Kyle Meyer
0 siblings, 1 reply; 5+ messages in thread
From: Kyle Meyer @ 2022-03-03 2:07 UTC (permalink / raw)
To: Vladimir Lomov; +Cc: emacs-orgmode
Vladimir Lomov writes:
> Hello,
>
> org-refile and org-capture failed to byte-compile by emacs from git (commit:
> 8c8093aa6f20a7a4f3799cbdb9270cac013ef71d) with following messages:
>
> ...
>
> Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-capture.el...
>
> In toplevel form:
> org-capture.el:1455:12: Error: Wrong number of arguments: (1 . 2), 4
>
> ...
>
> Compiling /home/vladimir/pkgs/emacs-org-mode/src/emacs-org-mode/lisp/org-refile.el...
>
> In toplevel form:
> org-refile.el:566:17: Error: Wrong number of arguments: (1 . 2), 4
Thanks for reporting.
I'll need to look more closely, but this is very likely triggered by
d52c929e31f ((with-demoted-errors): Warn on missing `format` arg,
2022-02-04) on Emacs's side. That commit is slated to be ported to the
Org repo but has been held for the time being with the rest of the
Org-touching commits that are in Emacs's master branch but not the
emacs-28 branch.
In d52c929e31f, the with-demoted-errors calls in org-refile and
org-capture were changed to use the format argument, which has been
available since Emacs 24.4. So, the likely fix will just be porting
that commit. However, it seems unintended that with-demoted-errors
would actually error here now rather than give a warning; again, will
need to take a closer look.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-03-03 11:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-03 1:14 org-refile, org-capture byte-compiling failure with recent emacs-git Vladimir Lomov
2022-03-03 2:07 ` Kyle Meyer
2022-03-03 3:12 ` Kyle Meyer
2022-03-03 4:11 ` Kyle Meyer
2022-03-03 11:55 ` Vladimir Lomov
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).