pimutils / pimutils/khal

search (and edit) need some characters escaped

Open
#573 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

type: documentation
Dominant language
Python
Stars
3.1k
Forks
233
Avg merge
1h 44m
Merged PRs (30d)
1

Description

Try:

khal new -a test today 13:00 a,b,c,d,e

then:

khal edit -a test 'a,b,c'

and you get no matching events. I've run into an issue with commas in the summary before, so I tried:

khal edit -a test 'a\,b\,c' 

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with the shown khal new and khal edit commands, then trace the CLI's search and edit handling for summaries containing commas. Done means events with comma-containing summaries can be found and edited using the demonstrated commands, with escaping behavior covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli, search
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.