From mboxrd@z Thu Jan 1 00:00:00 1970 From: Firmin Martin Subject: Bug: Effort prompt write malformed input in agenda file even after reporting the error [9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.3/lisp/org/)] Date: Fri, 08 Nov 2019 18:06:11 +0100 Message-ID: <87y2wq8fi4.fsf@ens-lyon.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:38921) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iT7iC-0005fi-Db for emacs-orgmode@gnu.org; Fri, 08 Nov 2019 12:06:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iT7iB-00014n-27 for emacs-orgmode@gnu.org; Fri, 08 Nov 2019 12:06:16 -0500 Received: from labbe.ens-lyon.fr ([140.77.167.222]:34384) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iT7iA-00014N-Rm for emacs-orgmode@gnu.org; Fri, 08 Nov 2019 12:06:15 -0500 Received: from localhost (localhost [127.0.0.1]) by labbe.ens-lyon.fr (Postfix) with ESMTP id B9107321066 for ; Fri, 8 Nov 2019 18:06:11 +0100 (CET) Received: from labbe.ens-lyon.fr ([127.0.0.1]) by localhost (labbe.ens-lyon.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Yg05HCLRNM93 for ; Fri, 8 Nov 2019 18:06:11 +0100 (CET) Received: from Inspiron (eth-west-pareq2-46-193-0-82.wb.wifirst.net [46.193.0.82]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by labbe.ens-lyon.fr (Postfix) with ESMTPSA id 8EFBB320D5E for ; Fri, 8 Nov 2019 18:06:11 +0100 (CET) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: emacs-orgmode@gnu.org Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See https://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org mailing list. ------------------------------------------------------------------------ In the agenda buffer, I've called the `org-set-effort` function with the `e` key, and input "-" which is malformed. I did receive an error `Invalid duration format: "-"`, but the "-" has still been written in the entry as an effort property. As a consequence of this bug, opening the agenda buffer raise again the error `Invalid duration format: "-"` which results that the agenda buffer cannot be opened. The malformed line :Effort: - can only be found by a dichotomic search which is quite annoying. For a similar issue, see here https://emacs.stackexchange.com/questions/36111/invalid-duration-format-org-agenda/53637#53637 Maybe other functions have the same behavior (writing malformed value on the agenda even after reporting the error). Emacs : GNU Emacs 26.3 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.8) of 2019-10-22 Package: Org mode version 9.1.9 (release_9.1.9-65-g5e4542 @ /usr/local/share/emacs/26.3/lisp/org/)