emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: event with two dates displays wrong in org-agenda
@ 2023-12-02 15:04 rameiko87
  2023-12-05 15:49 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: rameiko87 @ 2023-12-02 15:04 UTC (permalink / raw)
  To: emacs-orgmode

I have the following entry in one of my org files:

** party <2023-12-02 Sat>. Meet Jack <2023-12-02 Sat 16:15>

This appears in my org agenda twice, both times at 16:15. I would expect 
it should appear once at 16:15 and once as a general event for the day!



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

* Re: Bug: event with two dates displays wrong in org-agenda
  2023-12-02 15:04 Bug: event with two dates displays wrong in org-agenda rameiko87
@ 2023-12-05 15:49 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2023-12-05 15:49 UTC (permalink / raw)
  To: rameiko87; +Cc: emacs-orgmode

rameiko87@posteo.net writes:

> I have the following entry in one of my org files:
>
> ** party <2023-12-02 Sat>. Meet Jack <2023-12-02 Sat 16:15>
>
> This appears in my org agenda twice, both times at 16:15. I would expect 
> it should appear once at 16:15 and once as a general event for the day!

This is because by default Org agenda searches for even time in the
heading:

org-agenda-search-headline-for-time is a variable defined in ‘org-agenda.el’.

Its value is t

Non-nil means search headline for a time-of-day.
If the headline contains a time-of-day in one format or another, it will
be used to sort the entry into the time sequence of items for a day.

Some people have time stamps in the headline that refer to the creation
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
time or so, and then this produces an unwanted side effect.  If this is
the case for your, use this variable to turn off searching the headline
for a time.

Not a bug.
Canceled.

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


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

end of thread, other threads:[~2023-12-05 15:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-02 15:04 Bug: event with two dates displays wrong in org-agenda rameiko87
2023-12-05 15:49 ` Ihor Radchenko

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).