[-- Attachment #1: Type: text/plain, Size: 616 bytes --] I git bisected org-mode source code, and found the commits after "410afd6f374e9" caused org-agenda does not display scheduled and deadline tasks. Also affects org-contacts completion get contacts email property. I'm using the latest commit "dc4b2772e". I use bug-hunter extension to test my Emacs config, confirmed problem is NOT on my Emacs config. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
"Christopher M. Miles" <numbchild@gmail.com> writes: > I git bisected org-mode source code, and found the commits after "410afd6f374e9" caused org-agenda > does not display scheduled and deadline tasks. Also affects org-contacts completion get contacts > email property. > > I'm using the latest commit "dc4b2772e". > > I use bug-hunter extension to test my Emacs config, confirmed problem is NOT on my Emacs config. Does it mean that you can reproduce using emacs -Q? If so, could you provide a recipe to replicate the bug you are seeing? > the commits after "410afd6f374e9" Is "410afd6f374e9" a bad commit? That commit had nothing to do with agenda or org-persist. The following fbff082f7 is just a version update... Best, Ihor
[-- Attachment #1: Type: text/plain, Size: 4344 bytes --] Ihor Radchenko <yantar92@gmail.com> writes: > "Christopher M. Miles" <numbchild@gmail.com> writes: > >> I git bisected org-mode source code, and found the commits after "410afd6f374e9" caused org-agenda >> does not display scheduled and deadline tasks. Also affects org-contacts completion get contacts >> email property. >> >> I'm using the latest commit "dc4b2772e". >> >> I use bug-hunter extension to test my Emacs config, confirmed problem is NOT on my Emacs config. > > Does it mean that you can reproduce using emacs -Q? If so, could you > provide a recipe to replicate the bug you are seeing? > >> the commits after "410afd6f374e9" > > Is "410afd6f374e9" a bad commit? That commit had nothing to do with > agenda or org-persist. The following fbff082f7 is just a version > update... > > Best, > Ihor Here is my reproduce environment: Reproduce test with =emacs -Q= #+begin_src shell :eval no emacs -Q -l ~/.config/emacs/minimal-org-init.el ~/org-persist-test.org #+end_src #+begin_src org :tangle "~/org-persist-test.org" ,* LEARN 🅰 Clojure Web Development Stack [2/12] DEADLINE: <2022-01-01 Sat> :LOGBOOK: - Removed deadline, was "[2018-12-09 Sun]" on [2019-04-13 Sat 11:14] - State "LEARN" from [2018-06-01 Fri 09:18] :END: #+end_src #+begin_src emacs-lisp :tangle "~/.config/emacs/minimal-org-init.el" ;;; minimal-org-init.el --- minimal Org mode init file for testing. ;;; Commentary: ;;; $ emacs -Q -l ~/.config/emacs/minimal-org-init.el ;;; Code: \f ;;; [ package.el ] -- Emacs Lisp Package Archive (ELPA) (require 'package) (setq package-enable-at-startup nil) (setq package-menu-async t) (setq package-user-dir (expand-file-name "elpa" user-emacs-directory)) (package-initialize) ;;; Load `use-package' ahead before `package-initialize' for (use-package org :pin manual ...). ;;; [ use-package ] (eval-when-compile (require 'use-package)) (require 'bind-key) ; if you use any `:bind' variant (use-package delight ; if you use `:delight' :ensure t) (setq use-package-verbose t ; 'debug: any evaluation errors report to `*use-package*` buffer. use-package-always-ensure nil) ;;; [ Org Mode (source code) ] (if (not (file-exists-p "~/Code/Emacs/org-mode/lisp/")) (use-package org :pin org :ensure t :ensure org-plus-contrib :mode (("\\.org\\'" . org-mode)) ;; disable all extra org-mode modules to speed-up Org-mode file opening. :custom (org-modules nil)) ;; disable Emacs built-in Org Mode (delete (format "/usr/local/share/emacs/%s/lisp/org" emacs-version) load-path) (delete "/usr/share/emacs/site-lisp/org/" load-path) (use-package org :pin manual :load-path "~/Code/Emacs/org-mode/lisp/" :defer t :mode (("\\.org\\'" . org-mode)) ;; disable all extra org-mode modules to speed-up Org-mode file opening. :custom (org-modules nil) ;; load org before org-mode init files settings. :init (require 'org) ;; add source code version Org-mode Info into Emacs. (if (file-exists-p "~/Code/Emacs/org-mode/doc/org") (with-eval-after-load 'info (add-to-list 'Info-directory-list "~/Code/Emacs/org-mode/doc/") (info-initialize))) (use-package org-contrib :pin manual :load-path "~/Code/Emacs/org-contrib/lisp/" :no-require t))) ;;=============================== helpful packages ============================== ;;; add your customizations from here (use-package ace-window :ensure t :bind ("C-x C-j" . ace-window)) ;;=========================== minimal config required for debugging=============== (setq org-src-fontify-natively t) (org-babel-do-load-languages 'org-babel-load-languages '((emacs-lisp . t))) \f (provide 'minimal-org-init) ;;; minimal-org-init.el ends here #+end_src -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
"Christopher M. Miles" <numbchild@gmail.com> writes:
> Here is my reproduce environment:
>
> Reproduce test with =emacs -Q=
>
> #+begin_src shell :eval no
> emacs -Q -l ~/.config/emacs/minimal-org-init.el ~/org-persist-test.org
> #+end_src
>
> #+begin_src org :tangle "~/org-persist-test.org"
> ,* LEARN 🅰 Clojure Web Development Stack [2/12]
> DEADLINE: <2022-01-01 Sat>
> :LOGBOOK:
> - Removed deadline, was "[2018-12-09 Sun]" on [2019-04-13 Sat 11:14]
> - State "LEARN" from [2018-06-01 Fri 09:18]
> :END:
>
> #+end_src
Thanks! I am still unable to reproduce. However, I was not able to use
your minimal-org-init directly as I do not have ELPA folder.
Also, note that your statement
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)))
may load built-in org
I did the following:
1. go to Org mode source directory
2. create bug.el with the following contents (I tried my best to pull
important pieces from your minimal init)
(custom-set-variables '(org-modules nil))
(setq org-src-fontify-natively t)
(org-babel-do-load-languages
'org-babel-load-languages
'((emacs-lisp . t)))
3. Run emacs -Q -L ./lisp -l ./bug.el ~/org-persist-test.org
4. M-x org-agenda
5. < a (set restriction to current buffer and run normal weekly agenda)
6. The heading is displayed
Can you follow my steps and report what happens?
Best,
Ihor
[-- Attachment #1: Type: text/plain, Size: 2224 bytes --] Ihor Radchenko <yantar92@gmail.com> writes: > "Christopher M. Miles" <numbchild@gmail.com> writes: > >> Here is my reproduce environment: >> >> Reproduce test with =emacs -Q= >> >> #+begin_src shell :eval no >> emacs -Q -l ~/.config/emacs/minimal-org-init.el ~/org-persist-test.org >> #+end_src >> >> #+begin_src org :tangle "~/org-persist-test.org" >> ,* LEARN 🅰 Clojure Web Development Stack [0/0] >> DEADLINE: <2022-01-01 Sat> >> :LOGBOOK: >> - Removed deadline, was "[2018-12-09 Sun]" on [2019-04-13 Sat 11:14] >> - State "LEARN" from [2018-06-01 Fri 09:18] >> :END: >> >> #+end_src > > Thanks! I am still unable to reproduce. However, I was not able to use > your minimal-org-init directly as I do not have ELPA folder. > > Also, note that your statement > (org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . t))) > may load built-in org > > I did the following: > 1. go to Org mode source directory > 2. create bug.el with the following contents (I tried my best to pull > important pieces from your minimal init) > > (custom-set-variables '(org-modules nil)) > > (setq org-src-fontify-natively t) > > (org-babel-do-load-languages > 'org-babel-load-languages > '((emacs-lisp . t))) > > 3. Run emacs -Q -L ./lisp -l ./bug.el ~/org-persist-test.org > 4. M-x org-agenda > 5. < a (set restriction to current buffer and run normal weekly agenda) > 6. The heading is displayed > > Can you follow my steps and report what happens? > > Best, > Ihor I use your reproduce steps, confirmed the problem exist. The headline does not appear. 1. Run emacs -Q -L ./lisp ~/org-persist-test.org 2. M-x org-agenda 3. < a (set restriction to current buffer and run normal weekly agenda) My Emacs version: GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-30 System: M1 macOS Monterey 12.1 -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --] "Christopher M. Miles" <numbchild@gmail.com> writes: > I use your reproduce steps, confirmed the problem exist. The headline does not appear. > > 1. Run emacs -Q -L ./lisp ~/org-persist-test.org > 2. M-x org-agenda > 3. < a (set restriction to current buffer and run normal weekly agenda) > > My Emacs version: GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-30 > System: M1 macOS Monterey 12.1 Err.. I just tried again with even cleaner environment: 1. cd /tmp 2. git clone git://git.sv.gnu.org/emacs/org-mode.git 3. cd org-mode 4. make cleanall 5. make autoloads 6. emacs -Q -L ./lisp /tmp/bug.org with /tmp/bug.org file as attached 7. M-x org-agenda 8. < a Emacs version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-08 I can still see the headline. If you can still reproduce, we are entering the territory of Emacs build-dependent bugs... My best suggestion then is going to org-element.el and changing "(version< emacs-version "29")" to "t". Best, Ihor [-- Attachment #2: bug.org --] [-- Type: application/vnd.lotus-organizer, Size: 234 bytes --] * LEARN 🅰 Clojure Web Development Stack [2/12] DEADLINE: <2022-01-01 Sat> :LOGBOOK: - Removed deadline, was "[2018-12-09 Sun]" on [2019-04-13 Sat 11:14] - State "LEARN" from [2018-06-01 Fri 09:18] :END:
[-- Attachment #1: Type: text/plain, Size: 1072 bytes --] "Christopher M. Miles" <numbchild@gmail.com> writes: > I use your reproduce steps, confirmed the problem exist. The headline does not appear. > > 1. Run emacs -Q -L ./lisp ~/org-persist-test.org > 2. M-x org-agenda > 3. < a (set restriction to current buffer and run normal weekly agenda) > > My Emacs version: GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-30 > System: M1 macOS Monterey 12.1 Err.. I just tried again with even cleaner environment: 1. cd /tmp 2. git clone git://git.sv.gnu.org/emacs/org-mode.git 3. cd org-mode 4. make cleanall 5. make autoloads 6. emacs -Q -L ./lisp /tmp/bug.org with /tmp/bug.org file as attached 7. M-x org-agenda 8. < a Emacs version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-08 I can still see the headline. If you can still reproduce, we are entering the territory of Emacs build-dependent bugs... My best suggestion then is going to org-element.el and changing "(version< emacs-version "29")" to "t". Best, Ihor [-- Attachment #2: bug.org --] [-- Type: application/vnd.lotus-organizer, Size: 234 bytes --] * LEARN 🅰 Clojure Web Development Stack [2/12] DEADLINE: <2022-01-01 Sat> :LOGBOOK: - Removed deadline, was "[2018-12-09 Sun]" on [2019-04-13 Sat 11:14] - State "LEARN" from [2018-06-01 Fri 09:18] :END:
[-- Attachment #1.1: Type: text/plain, Size: 1685 bytes --] Ihor Radchenko <yantar92@gmail.com> writes: > "Christopher M. Miles" <numbchild@gmail.com> writes: > >> I use your reproduce steps, confirmed the problem exist. The headline does not appear. >> >> 1. Run emacs -Q -L ./lisp ~/org-persist-test.org >> 2. M-x org-agenda >> 3. < a (set restriction to current buffer and run normal weekly agenda) >> >> My Emacs version: GNU Emacs 29.0.50 (build 1, aarch64-apple-darwin21.2.0, NS appkit-2113.20 Version 12.1 (Build 21C52)) of 2021-12-30 >> System: M1 macOS Monterey 12.1 > > Err.. > > I just tried again with even cleaner environment: > 1. cd /tmp > 2. git clone git://git.sv.gnu.org/emacs/org-mode.git > 3. cd org-mode > 4. make cleanall > 5. make autoloads > 6. emacs -Q -L ./lisp /tmp/bug.org > with /tmp/bug.org file as attached > 7. M-x org-agenda > 8. < a > > Emacs version: GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, cairo version 1.16.0) of 2022-01-08 > > I can still see the headline. > > If you can still reproduce, I still can reproduce with your upper steps. I attached reproduce steps screenshot attachment file. > we are entering the territory of Emacs > build-dependent bugs... > My best suggestion then is going to > org-element.el and changing "(version< emacs-version "29")" to "t". I used this method, found the problem is gone. > > Best, > Ihor > > [2. application/vnd.lotus-organizer; bug.org]... -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 [-- Attachment #1.2: Screen Shot 2022-01-09 at 11.54.27 PM.png --] [-- Type: image/png, Size: 1470245 bytes --] [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]
"Christopher M. Miles" <numbchild@gmail.com> writes:
>> we are entering the territory of Emacs
>> build-dependent bugs...
>
>> My best suggestion then is going to
>> org-element.el and changing "(version< emacs-version "29")" to "t".
>
> I used this method, found the problem is gone.
Thanks! So much for the idea of byte-compiling the function.
Should be fixed upstream now.
Best,
Ihor
[-- Attachment #1: Type: text/plain, Size: 761 bytes --] Ihor Radchenko <yantar92@gmail.com> writes: > "Christopher M. Miles" <numbchild@gmail.com> writes: > >>> we are entering the territory of Emacs >>> build-dependent bugs... >> >>> My best suggestion then is going to >>> org-element.el and changing "(version< emacs-version "29")" to "t". >> >> I used this method, found the problem is gone. > > Thanks! So much for the idea of byte-compiling the function. > Should be fixed upstream now. > > Best, > Ihor Confirmed problem solved. -- [ stardiviner ] I try to make every word tell the meaning that I want to express. Blog: https://stardiviner.github.io/ IRC(freenode): stardiviner, Matrix: stardiviner GPG: F09F650D7D674819892591401B5DF1C95AE89AC3 [-- Attachment #2: signature.asc --] [-- Type: application/pgp-signature, Size: 488 bytes --]