From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: bug#22735: 24.3; org-set-effort *without* numeric prefix - still forces me to use nth allowed Date: Sat, 02 Dec 2017 09:28:03 +0100 Message-ID: <87y3mlcz58.fsf@nicolasgoaziou.fr> References: <2087038768.5072162.1455816536097.JavaMail.yahoo.ref@mail.yahoo.com> <2087038768.5072162.1455816536097.JavaMail.yahoo@mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44196) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eL3AY-0005mq-5h for emacs-orgmode@gnu.org; Sat, 02 Dec 2017 03:29:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eL3AU-0001bo-6Q for emacs-orgmode@gnu.org; Sat, 02 Dec 2017 03:29:06 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:60515) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eL3AU-0001bF-2M for emacs-orgmode@gnu.org; Sat, 02 Dec 2017 03:29:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1eL3AT-0007Py-Q7 for emacs-orgmode@gnu.org; Sat, 02 Dec 2017 03:29:01 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <2087038768.5072162.1455816536097.JavaMail.yahoo@mail.yahoo.com> (David Caldwell's message of "Thu, 18 Feb 2016 17:28:56 +0000 (UTC)") 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: David Caldwell Cc: 22735@debbugs.gnu.org, Carsten Dominik Hello, David Caldwell writes: > on one box (emacs 24.3.1, org-mode version =C2=A07.9.3f) when I do 'C-c C= -x > e', i can enter an effort estimate string directly as shown in > Effort_ALL property (e.g. 3w).however on another box (emacs 24.3.1, > org-mode version 8.3.3), the ' C-c C-x e' prompt me: ' Select 1-9,0, > [RET]: 0 1h 2h 4h 1d 2d 3d 4d 1w 2w 3w 4w'if i try to enter 3w, it > sets the effort to 2h (the 3rd entry)org-set-effort help describes > that behavior when a numerical prefix arg is usedit's happening for me > with or without a numeric prefix argit seems to me that without the > numeric prefix, i should still be able to enter 3wthe 'nth allowed' > prompt should only occur *with* the numeric prefix > > effort settings: > > =C2=A0 > the only effort-related setting in my .emacs file is:=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 > (setq org-time-clocksum-use-effort-durations t)at the top of the .org > file:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0 #+PROPERTY: Effort_ALL 0 1h 2h 4h 1d 2d 3d 4d 1w > 2w 3w 4wunder the top level heading for which i want > estimates:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 :PROPERTIES:=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 :COLUMNS:=C2=A0 > %90ITEM(Task) %10Effort(Estimated Effort){:} > %CLOCKSUM=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0 :END: > =C2=A0 The behaviour you describe was introduced in: commit a1fea8b3d1932b1c5977e778af634e7c26f063a1 Author: Carsten Dominik Date: Tue Nov 3 17:48:37 2009 +0100 Make `org-set-effort' access effort values by index IMO, it would be better to use regular completion instead, as you suggest, if only to get access to items past the tenth. However, there might be a specific reason for this change. Carsten (Cc'ed) may give us some hindsight here. Regards, --=20 Nicolas Goaziou 0x80A93738