From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jan Malakhovski Subject: [PATCH 4/4] org-colview: add a FIXME Date: Sun, 25 Oct 2015 12:48:13 +0000 Message-ID: <1445777293-13909-5-git-send-email-oxij@oxij.org> References: <1445777293-13909-1-git-send-email-oxij@oxij.org> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35460) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqKjH-0006mW-MW for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 08:48:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZqKjH-0004fc-0L for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 08:48:55 -0400 Received: from tricoro.koumakan.jp ([195.154.188.176]:52850) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZqKjG-0004fY-RC for emacs-orgmode@gnu.org; Sun, 25 Oct 2015 08:48:54 -0400 In-Reply-To: <1445777293-13909-1-git-send-email-oxij@oxij.org> 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Cc: Jan Malakhovski --- lisp/org-colview.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lisp/org-colview.el b/lisp/org-colview.el index 1113adc..4f09766 100644 --- a/lisp/org-colview.el +++ b/lisp/org-colview.el @@ -1113,6 +1113,9 @@ display, or in the #+COLUMNS line of the current buffer." ((memq fmt '(checkbox checkbox-n-of-m checkbox-percent)) (if (equal s "[X]") 1. 0.000001)) ((memq fmt '(estimate)) (org-string-to-estimate s)) + ;; FIXME: does this duplicate org-clocksum-string-to-minutes in a most peculiar way? + ;; I can guess that long time ago this used org-hh:mm-string-to-minutes + ;; and all this ugliness derives from that ((string-match (concat "\\([0-9.]+\\) *\\(" (regexp-opt (mapcar 'car org-effort-durations)) "\\)") s) -- 2.5.3