Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Day-of-week name abbreviations ending in periods not recognized by timestamp regexps #432

Closed
alphapapa opened this issue Jun 14, 2024 Discussed in #429 · 1 comment
Closed
Assignees
Milestone

Comments

@alphapapa
Copy link
Owner

Discussed in #429

Originally posted by neurolit June 12, 2024
Hi!

I don't know what I am doing wrong with org-ql-search.

I'm using Emacs 29.3 on Linux, with org-ql 0.8.6 and org-mode 9.7.3 (and no other package).

I've got a really simple tasks file (/tmp/task.org):

* TODO Eat some chips
SCHEDULED: <2024-06-12 mer.>
  :LOGBOOK:
  - State "TODO"       from              [2024-06-12 mer. 22:51]
  :END:

When I try (org-ql-search "/tmp/task.org" '(todo)), it works perfectly and displays the task:

  TODO Eat some chips  today 

However, if I try (org-ql-search "/tmp/task.org" '(scheduled)), nothing happens, the query buffer is empty. I think it should display the same task (as it is scheduled).

Where am I wrong?

@alphapapa alphapapa self-assigned this Jun 14, 2024
@alphapapa alphapapa changed the title Non-English day-of-week name abbreviations not recognized by timestamp regexps Day-of-week name abbreviations ending in periods not recognized by timestamp regexps Jun 14, 2024
@alphapapa alphapapa added this to the v0.8.7 milestone Jun 14, 2024
neurolit added a commit to neurolit/org-ql that referenced this issue Jun 17, 2024
In French, days of week are ending with a dot. Before this commit,
timestamps in this language (like `<2024-05-30 jeu.>`) where just
ignored by `org-ql`.

Fixes alphapapa#432
alphapapa added a commit that referenced this issue Jun 26, 2024
@alphapapa
Copy link
Owner Author

This should be fixed on v0.8.7 and master now. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant