* Commit "org-agenda: Support for dimming..." breaks agenda display @ 2017-07-31 19:34 Oleh Krehel 2017-08-06 7:55 ` Nicolas Goaziou 0 siblings, 1 reply; 4+ messages in thread From: Oleh Krehel @ 2017-07-31 19:34 UTC (permalink / raw) To: org mode Hi all, I updated Org recently and noticed that the agenda display looks very broken, especially in `org-agenda-log-mode'. I did a bisect; reverting commit 912a385518bcf2e320cc161d573ad329111de6c7 fixes it. Anyone else have this problem? regards, Oleh ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Commit "org-agenda: Support for dimming..." breaks agenda display 2017-07-31 19:34 Commit "org-agenda: Support for dimming..." breaks agenda display Oleh Krehel @ 2017-08-06 7:55 ` Nicolas Goaziou 2017-08-07 6:31 ` Yuri Lensky 0 siblings, 1 reply; 4+ messages in thread From: Nicolas Goaziou @ 2017-08-06 7:55 UTC (permalink / raw) To: Oleh Krehel; +Cc: org mode, Yuri D. Lensky Hello, Oleh Krehel <ohwoeowho@gmail.com> writes: > I updated Org recently and noticed that the agenda display looks very > broken, especially in `org-agenda-log-mode'. > > I did a bisect; reverting commit > 912a385518bcf2e320cc161d573ad329111de6c7 fixes it. > Anyone else have this problem? Confirmed. See also <http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00134.html>. I'm Cc'ing Yuri about it. Regards, -- Nicolas Goaziou ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Commit "org-agenda: Support for dimming..." breaks agenda display 2017-08-06 7:55 ` Nicolas Goaziou @ 2017-08-07 6:31 ` Yuri Lensky 2017-08-07 8:55 ` Nicolas Goaziou 0 siblings, 1 reply; 4+ messages in thread From: Yuri Lensky @ 2017-08-07 6:31 UTC (permalink / raw) To: Nicolas Goaziou; +Cc: org mode, Oleh Krehel [-- Attachment #1.1: Type: text/plain, Size: 959 bytes --] Hi, I have a attached a patch to fix this bug. As can be seen from the patch, the problem was improperly balanced parenthesis in `org-agenda--mark-blocked-entry' which caused the function to return 'nil unless the entry passed to it had the todo-state text property, whereas the proper behavior is to always return the entry in some form. Apologies for carelessness and introducing the bug, YL On Sun, Aug 6, 2017 at 3:55 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr> wrote: > Hello, > > Oleh Krehel <ohwoeowho@gmail.com> writes: > > > I updated Org recently and noticed that the agenda display looks very > > broken, especially in `org-agenda-log-mode'. > > > > I did a bisect; reverting commit > > 912a385518bcf2e320cc161d573ad329111de6c7 fixes it. > > Anyone else have this problem? > > Confirmed. See also > <http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00134.html>. > > I'm Cc'ing Yuri about it. > > Regards, > > -- > Nicolas Goaziou > [-- Attachment #1.2: Type: text/html, Size: 1655 bytes --] [-- Attachment #2: 0001-lisp-org-agenda.el-Properly-return-all-entries-from-.patch --] [-- Type: application/octet-stream, Size: 995 bytes --] From b942de6e68836953b7c168fa1b783a87b8c6bf42 Mon Sep 17 00:00:00 2001 From: "Yuri D. Lensky" <ydlensky@gmail.com> Date: Mon, 7 Aug 2017 02:12:26 -0400 Subject: [PATCH] lisp/org-agenda.el: Properly return all entries from blocked marking * lisp/org-agenda.el (org-agenda--mark-blocked-entry): Always return the entry passed to `org-agenda--mark-blocked-entry' (previously returned nil if entry did not have todo-state text property). --- lisp/org-agenda.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el index 1355023..c8097de 100644 --- a/lisp/org-agenda.el +++ b/lisp/org-agenda.el @@ -3930,8 +3930,8 @@ to t." (put-text-property 0 (length entry) 'org-todo-blocked (if really-invisible 'invisible t) - entry)))))) - entry)) + entry))))))) + entry) (defvar org-agenda-skip-function nil "Function to be called at each match during agenda construction. -- 2.9.2.windows.1 ^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: Commit "org-agenda: Support for dimming..." breaks agenda display 2017-08-07 6:31 ` Yuri Lensky @ 2017-08-07 8:55 ` Nicolas Goaziou 0 siblings, 0 replies; 4+ messages in thread From: Nicolas Goaziou @ 2017-08-07 8:55 UTC (permalink / raw) To: Yuri Lensky; +Cc: org mode, Oleh Krehel Hello, Yuri Lensky <ydlensky@gmail.com> writes: > I have a attached a patch to fix this bug. As can be seen from the patch, > the problem was improperly balanced parenthesis in > `org-agenda--mark-blocked-entry' which caused the function to return 'nil > unless the entry passed to it had the todo-state text property, whereas the > proper behavior is to always return the entry in some form. > > Apologies for carelessness and introducing the bug, No worries. Thank you for the quick fix! Applied. Regards, -- Nicolas Goaziou 0x80A93738 ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-08-07 8:55 UTC | newest] Thread overview: 4+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-07-31 19:34 Commit "org-agenda: Support for dimming..." breaks agenda display Oleh Krehel 2017-08-06 7:55 ` Nicolas Goaziou 2017-08-07 6:31 ` Yuri Lensky 2017-08-07 8:55 ` Nicolas Goaziou
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).