all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Datetrees and tags
@ 2018-01-01 14:27 Fabrice Popineau
  2018-01-01 18:04 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Popineau @ 2018-01-01 14:27 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 646 bytes --]

Hi,

It seems that currently, datetrees do not support tags.
IE if I add a tag to some datetree and I try to add another item to the
same date,
then another date is insereted:

*** 2017-12-29 vendredi                                             :perso:
[2017-12-29 ven.]

- Bla-bla-bla-bla

*** 2017-12-29 vendredi
[2017-12-29 ven.]

-

Actually, looking at org-datetree.el, the several regex here do not take
possible tags into account, so this is expected.

So my question: would it make sense to enhance datetrees entries with
optional tags?
Or would that introduce some kind of inconsistency elsewhere?

Happy New Year to everybody.

Fabrice

[-- Attachment #2: Type: text/html, Size: 996 bytes --]

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

* Re: Datetrees and tags
  2018-01-01 14:27 Datetrees and tags Fabrice Popineau
@ 2018-01-01 18:04 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2018-01-01 18:04 UTC (permalink / raw)
  To: Fabrice Popineau; +Cc: emacs-orgmode

Hello,

Fabrice Popineau <fabrice.popineau@gmail.com> writes:

> Actually, looking at org-datetree.el, the several regex here do not take
> possible tags into account, so this is expected.
>
> So my question: would it make sense to enhance datetrees entries with
> optional tags?
> Or would that introduce some kind of inconsistency elsewhere?

It's probably an omission in "org-datetree.el". Do you want to provide
a patch for that (along with a couple of tests)?

Thank you,

Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2018-01-01 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-01 14:27 Datetrees and tags Fabrice Popineau
2018-01-01 18:04 ` Nicolas Goaziou

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.