emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Christopher M. Miles" <numbchild@gmail.com>
To: Ihor Radchenko <yantar92@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: [BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks
Date: Sun, 09 Jan 2022 11:09:40 +0800	[thread overview]
Message-ID: <PAXPR08MB6640A051CEA4FD89BD924D0CA34F9@PAXPR08MB6640.eurprd08.prod.outlook.com> (raw)
In-Reply-To: <87pmp1902m.fsf@localhost>

[-- 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 --]

  reply	other threads:[~2022-01-09  3:11 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-08 16:51 [BUG] org-persist.el: The commits after "410afd6f374e9" caused org-agenda buffer does not display scheduled and deadline tasks Christopher M. Miles
2022-01-09  1:20 ` Ihor Radchenko
2022-01-09  3:09   ` Christopher M. Miles [this message]
2022-01-09  3:57     ` Ihor Radchenko
2022-01-09  8:03       ` Christopher M. Miles
2022-01-09  9:04         ` Ihor Radchenko
2022-01-09  9:07         ` Ihor Radchenko
2022-01-09 15:56           ` Christopher M. Miles
2022-01-10 14:34             ` Ihor Radchenko
2022-01-11 14:04               ` [SOLVED] " Christopher M. Miles

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=PAXPR08MB6640A051CEA4FD89BD924D0CA34F9@PAXPR08MB6640.eurprd08.prod.outlook.com \
    --to=numbchild@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=yantar92@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).