unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: bug#64023: 29.0.91; gnus-icalendar does not update timestamp when description is empty
       [not found]       ` <m2mt134lsg.fsf@codesensei.nl>
@ 2023-06-13 12:51         ` Robert Pluim
  0 siblings, 0 replies; only message in thread
From: Robert Pluim @ 2023-06-13 12:51 UTC (permalink / raw)
  To: Reindert-Jan Ekker; +Cc: emacs-devel

>>>>> On Tue, 13 Jun 2023 13:57:35 +0200, Reindert-Jan Ekker <info@codesensei.nl> said:
    Reindert-Jan> By the way, what is the intended behaviour of
    Reindert-Jan> gnus-icalendar--cancel-org-event? It seems to search for a property "DT"
    Reindert-Jan> that does not exist (at least in my files), so it does not change the
    Reindert-Jan> event. Is this a bug or am I missing some configuration somewhere?
    >> 
    >> It looks like a bug. I canʼt find any code creating such a property,
    >> the current code inserts the timestamp in the body of the org entry.
    >> 
    >> Robert

    Reindert-Jan> Do I need to send a new bug report for this?

It would be nice to have a separate bug so we can track the change.

    Reindert-Jan> I would also like to try and write the fix for this, if you don't mind.
    Reindert-Jan> I think the correct behaviour would be to completely remove the entry
    Reindert-Jan> from the file - probably with a confirmation prompt.

I never say no to other people writing patches 😺 Thereʼs lots of
useful info in CONTRIBUTE in the emacs sources about code and commit
message conventions.

    Reindert-Jan> Alternatively gnus-icalendar--update-org-event could update the entry to
    Reindert-Jan> include the word "cancelled" in the summary and deactivate the
    Reindert-Jan> timestamp.

Deactivating the timestamp is what the current code attempts to do, I
think thatʼs a less surprising change than removing the entry.

Robert
-- 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-06-13 12:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <m1zg54y8l1.fsf@codesensei.nl>
     [not found] ` <87jzw8hcrp.fsf@gmail.com>
     [not found]   ` <m25y7sa6j0.fsf@codesensei.nl>
     [not found]     ` <87bkhjhc3v.fsf@gmail.com>
     [not found]       ` <m2mt134lsg.fsf@codesensei.nl>
2023-06-13 12:51         ` bug#64023: 29.0.91; gnus-icalendar does not update timestamp when description is empty Robert Pluim

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).