emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-habit and Org 8.3
@ 2015-08-19 16:35 John Wiegley
  2015-08-19 17:27 ` Nicolas Goaziou
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: John Wiegley @ 2015-08-19 16:35 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I've upgrade today to Org 8.3.1, and I've noticed that any customization which
used overlays (mainly, org-habit) now displays no overlays in the Agenda
buffer.

Is this something others have already seen and found a fix for?

Thanks,
  John

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-19 16:35 org-habit and Org 8.3 John Wiegley
@ 2015-08-19 17:27 ` Nicolas Goaziou
  2015-08-19 18:31 ` Dave Marquardt
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2015-08-19 17:27 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

"John Wiegley" <johnw@newartisans.com> writes:

> I've upgrade today to Org 8.3.1, and I've noticed that any customization which
> used overlays (mainly, org-habit) now displays no overlays in the Agenda
> buffer.
>
> Is this something others have already seen and found a fix for?

It doesn't ring a bell.

Would you have an ECM?

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-19 16:35 org-habit and Org 8.3 John Wiegley
  2015-08-19 17:27 ` Nicolas Goaziou
@ 2015-08-19 18:31 ` Dave Marquardt
  2015-08-19 19:57 ` Matt Lundin
  2015-08-19 21:36 ` Josiah Schwab
  3 siblings, 0 replies; 7+ messages in thread
From: Dave Marquardt @ 2015-08-19 18:31 UTC (permalink / raw)
  To: emacs-orgmode

"John Wiegley" <johnw@newartisans.com> writes:
> I've upgrade today to Org 8.3.1, and I've noticed that any customization which
> used overlays (mainly, org-habit) now displays no overlays in the Agenda
> buffer.
>
> Is this something others have already seen and found a fix for?

Check to see that the properties drawer that specifies that a task is a
habit is just after SCHEDULED or a similar keyword. This was a change
made in 8.3 or 8.3.1. See http://orgmode.org/Changes.html for a function
to repair your properties drawers.

-Dave

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-19 16:35 org-habit and Org 8.3 John Wiegley
  2015-08-19 17:27 ` Nicolas Goaziou
  2015-08-19 18:31 ` Dave Marquardt
@ 2015-08-19 19:57 ` Matt Lundin
  2015-08-19 21:36 ` Josiah Schwab
  3 siblings, 0 replies; 7+ messages in thread
From: Matt Lundin @ 2015-08-19 19:57 UTC (permalink / raw)
  To: emacs-orgmode

"John Wiegley" <johnw@newartisans.com> writes:

> I've upgrade today to Org 8.3.1, and I've noticed that any customization which
> used overlays (mainly, org-habit) now displays no overlays in the Agenda
> buffer.

I cannot replicate this. Habits are displaying correctly on my machine.

Calling describe-text-properties on the habit graph shows the following:

--8<---------------cut here---------------start------------->8---
Text content at position 1480:

There are text properties here:
  face                 org-habit-overdue-face
  tags                 ("inbox" "per" "email")
--8<---------------cut here---------------end--------------->8---

org-version:
8.3.1

Matt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-19 16:35 org-habit and Org 8.3 John Wiegley
                   ` (2 preceding siblings ...)
  2015-08-19 19:57 ` Matt Lundin
@ 2015-08-19 21:36 ` Josiah Schwab
  2015-08-20  8:02   ` John Wiegley
  3 siblings, 1 reply; 7+ messages in thread
From: Josiah Schwab @ 2015-08-19 21:36 UTC (permalink / raw)
  To: John Wiegley; +Cc: emacs-orgmode

Hello John,

On 19 August 2015 at 09:35 PDT, John Wiegley wrote:

> I've upgrade today to Org 8.3.1, and I've noticed that any customization which
> used overlays (mainly, org-habit) now displays no overlays in the Agenda
> buffer.
>
> Is this something others have already seen and found a fix for?

Upon upgrading, my org-habits did not display correctly, because the
PROPERTY drawer where the habit style was indicated came after the
LOGBOOK in my org files.

After using org-repair-property-drawers 

  http://orgmode.org/Changes.html

my habits returned to their previous appearance.

That's not directly overlay related, but since the symptoms sounded
similar I thought I'd chime in.

Hope that helps,
Josiah

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-19 21:36 ` Josiah Schwab
@ 2015-08-20  8:02   ` John Wiegley
  2015-08-20 11:51     ` Nicolas Goaziou
  0 siblings, 1 reply; 7+ messages in thread
From: John Wiegley @ 2015-08-20  8:02 UTC (permalink / raw)
  To: emacs-orgmode

>>>>> Josiah Schwab <jschwab@gmail.com> writes:

> Upon upgrading, my org-habits did not display correctly, because the
> PROPERTY drawer where the habit style was indicated came after the LOGBOOK
> in my org files.

Is there a reason why this was done?  I rather liked having my PROPERTY
drawers at the bottom of each entry, out of the way.  That way, every record
in my Org file ends with ":END:", closing its property drawer (every single
headline I create has an accompanying PROPERTY drawer).

John

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: org-habit and Org 8.3
  2015-08-20  8:02   ` John Wiegley
@ 2015-08-20 11:51     ` Nicolas Goaziou
  0 siblings, 0 replies; 7+ messages in thread
From: Nicolas Goaziou @ 2015-08-20 11:51 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

John Wiegley <johnw@newartisans.com> writes:

>>>>>> Josiah Schwab <jschwab@gmail.com> writes:

>> Upon upgrading, my org-habits did not display correctly, because the
>> PROPERTY drawer where the habit style was indicated came after the LOGBOOK
>> in my org files.
>
> Is there a reason why this was done?

Efficiency. Searching through large sections only to find there is no
property drawer in it has a cost. Now, properties are accessed in
constant time.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-20 11:50 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-08-19 16:35 org-habit and Org 8.3 John Wiegley
2015-08-19 17:27 ` Nicolas Goaziou
2015-08-19 18:31 ` Dave Marquardt
2015-08-19 19:57 ` Matt Lundin
2015-08-19 21:36 ` Josiah Schwab
2015-08-20  8:02   ` John Wiegley
2015-08-20 11:51     ` 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).