emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* [bug] ts property uses next entry
@ 2017-01-24 20:08 Samuel Wales
  2017-01-24 21:04 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2017-01-24 20:08 UTC (permalink / raw)
  To: emacs-orgmode

recent maint.

*********** (org-entry-get nil "TIMESTAMP_IA") on a header can return
a ts from the entry below it if a link is on it

i expected it to return nil
************* this header returns nil
************* META [[*B][B]] this header returns a value
************* EXPECT [#A] x
DEADLINE: <2017-01-27 Fri -2d>
:LOGBOOK:
- State "EXPECT"     from              [2017-01-13 Fri 15:46]
:END:


-- 
The Kafka Pandemic: <http://thekafkapandemic.blogspot.com>

The disease DOES progress. MANY people have died from it. And ANYBODY
can get it.

Denmark: free Karina Hansen NOW.
  UPDATE 2016-10: home, but not fully free

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

* Re: [bug] ts property uses next entry
  2017-01-24 20:08 [bug] ts property uses next entry Samuel Wales
@ 2017-01-24 21:04 ` Nicolas Goaziou
  2017-01-24 21:09   ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2017-01-24 21:04 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Hello,

Samuel Wales <samologist@gmail.com> writes:

> recent maint.
>
> *********** (org-entry-get nil "TIMESTAMP_IA") on a header can return
> a ts from the entry below it if a link is on it
>
> i expected it to return nil
> ************* this header returns nil
> ************* META [[*B][B]] this header returns a value
> ************* EXPECT [#A] x
> DEADLINE: <2017-01-27 Fri -2d>
> :LOGBOOK:
> - State "EXPECT"     from              [2017-01-13 Fri 15:46]
> :END:

Fixed. Thank you.

Regards,

-- 
Nicolas Goaziou

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

* Re: [bug] ts property uses next entry
  2017-01-24 21:04 ` Nicolas Goaziou
@ 2017-01-24 21:09   ` Samuel Wales
  2017-01-24 21:17     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2017-01-24 21:09 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: emacs-orgmode

thank you.

unlikely question, but on a similar topic is there a function that
will return the most recent ts of any type anywhere in an entry?

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

* Re: [bug] ts property uses next entry
  2017-01-24 21:09   ` Samuel Wales
@ 2017-01-24 21:17     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2017-01-24 21:17 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> unlikely question, but on a similar topic is there a function that
> will return the most recent ts of any type anywhere in an entry?

I don't think so. You will need to write your own.

Regards,

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

end of thread, other threads:[~2017-01-24 21:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-24 20:08 [bug] ts property uses next entry Samuel Wales
2017-01-24 21:04 ` Nicolas Goaziou
2017-01-24 21:09   ` Samuel Wales
2017-01-24 21:17     ` 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).