search (and edit) need some characters escaped
Open
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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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