[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#45808: 28.0.50; [PATCH] Add option remember-diary-regexp
From: |
Gabriel do Nascimento Ribeiro |
Subject: |
bug#45808: 28.0.50; [PATCH] Add option remember-diary-regexp |
Date: |
Tue, 12 Jan 2021 12:53:29 -0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Gabriel do Nascimento Ribeiro <gabriel376@hotmail.com>
>> Date: Tue, 12 Jan 2021 00:26:25 -0300
>>
>> The regexp to extract diary entries on remember.el is hardcoded.
>> Here is a patch to add a new option to configure a custom regexp.
>
> Thanks, but can you please describe the situation where this regexp
> will need to be modified?
There are multiple cases, for example, if the user wants to
automatically extract diary entries of lines that starts with a date
pattern (e.g.: dd/mm/yyyy). This new option does not target a specific
user case but rather opens a range of possibilities by not relying on a
hardcoded (and not documented) behavior.
By the way, here is a patch with updated docstring.
0001-Add-option-remember-diary-regexp.patch
Description: Text Data