GNU bug report logs - #22776
interactive org-set-effort (C-c C-x e) and column view direct index selection do not handle Effort_ALL with more than 10 entries

Previous Next

Package: org-mode;

Reported by: David Caldwell <ddcows2006 <at> yahoo.com>

Date: Mon, 22 Feb 2016 22:57:01 UTC

Severity: normal

Merged with 22735

Found in version 24.3

Done: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 22776 in the body.
You can then email your comments to 22776 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#22776; Package emacs. (Mon, 22 Feb 2016 22:57:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Caldwell <ddcows2006 <at> yahoo.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 22 Feb 2016 22:57:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Caldwell <ddcows2006 <at> yahoo.com>
To: "bug-gnu-emacs <at> gnu.org" <bug-gnu-emacs <at> gnu.org>
Subject: interactive org-set-effort (C-c C-x e) and column view direct index
 selection do not handle Effort_ALL with more than 10 entries
Date: Mon, 22 Feb 2016 22:56:15 +0000 (UTC)
[Message part 1 (text/plain, inline)]
This bug is a replacement of bug #22735(24.3; org-set-effort *without* numeric prefix - still forces me to use nth allowed).  After more experimentation, I got a better understanding of the functionality and now consider that bug 22735 to be invalid as written.  I now think it's a more fundamental issue of not handling an Effort_ALL with more than 10 entries.  The problems manifest in both interactive org-set-effort and in column view when editing values via direct index selection.
Problems:  1) interactive org-set-effort     1) can not enter an index > 10     2) method of entering a raw value is arcane and unvalidated        - by prefixing the entered value by '-', you can enter one of the Effort_ALL string directly          - e.g. Effort_ALL 0 1h 2h 4h 1d 2d 3d 4d 1w 2w 3w 4w          - 'C-c C-x e -4w RET' sets Effort to '4w'          - however, a value of '-foobar' sets Effort to 'foobar'     3) Note: org-set-effort with numerical prefix works properly for indices > 10  2) column view - editing values     1) 1-9,0 - can not enter an index > 10        - lower priority than 1.1 above since column view edit 'e' allows direct entry of Effort_ALL strings (with validation)     2) Note: S-left/right, n, p work properly for indices > 10Proposed solution:  - interactive org-set-effort and column view direct index selection    - input multiple characters followed by RET    - if input is a valid index, use the corresponding value from Effort_ALL    - else if input is a valid Effort_ALL value, use it    - else beep and display [No Match] (like column view edit when an invalid value is entered)
David
[Message part 2 (text/html, inline)]

Information forwarded to emacs-orgmode <at> gnu.org:
bug#22776; Package org-mode. (Wed, 03 Jan 2018 08:40:01 GMT) Full text and rfc822 format available.

Message #8 received at 22776 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: David Caldwell <ddcows2006 <at> yahoo.com>
Cc: 22776 <at> debbugs.gnu.org
Subject: Re: bug#22776: interactive org-set-effort (C-c C-x e) and column view
 direct index selection do not handle Effort_ALL with more than 10 entries
Date: Wed, 03 Jan 2018 09:39:40 +0100
Hello,

David Caldwell <ddcows2006 <at> yahoo.com> writes:

> This bug is a replacement of bug #22735(24.3; org-set-effort *without*
> numeric prefix - still forces me to use nth allowed).  After more
> experimentation, I got a better understanding of the functionality and
> now consider that bug 22735 to be invalid as written.  I now think
> it's a more fundamental issue of not handling an Effort_ALL with more
> than 10 entries.  The problems manifest in both interactive
> org-set-effort and in column view when editing values via direct index
> selection.
> Problems:  1) interactive org-set-effort     1) can not enter an index
>> 10     2) method of entering a raw value is arcane and unvalidated 
>       - by prefixing the entered value by '-', you can enter one of
> the Effort_ALL string directly          - e.g. Effort_ALL 0 1h 2h 4h
> 1d 2d 3d 4d 1w 2w 3w 4w          - 'C-c C-x e -4w RET' sets Effort to
> '4w'          - however, a value of '-foobar' sets Effort to 'foobar' 
>    3) Note: org-set-effort with numerical prefix works properly for
> indices > 10  2) column view - editing values     1) 1-9,0 - can not
> enter an index > 10        - lower priority than 1.1 above since
> column view edit 'e' allows direct entry of Effort_ALL strings (with
> validation)     2) Note: S-left/right, n, p work properly for indices
>> 10Proposed solution:  - interactive org-set-effort and column view
> direct index selection    - input multiple characters followed by RET 
>   - if input is a valid index, use the corresponding value from
> Effort_ALL    - else if input is a valid Effort_ALL value, use it    -
> else beep and display [No Match] (like column view edit when an
> invalid value is entered)

I've changed `org-set-effort' to use `completing-read' for allowed
values instead of relying on position in list. The prefix argument now
means "increment". 

This is simpler and less exotic.

WDYT?

Regards,

-- 
Nicolas Goaziou                                                0x80A93738




Merged 22735 22776. Request was from Nicolas Goaziou <mail <at> nicolasgoaziou.fr> to control <at> debbugs.gnu.org. (Wed, 03 Jan 2018 14:58:01 GMT) Full text and rfc822 format available.

Information forwarded to emacs-orgmode <at> gnu.org:
bug#22776; Package org-mode. (Sat, 07 Jul 2018 11:20:02 GMT) Full text and rfc822 format available.

Message #13 received at 22776-done <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Goaziou <mail <at> nicolasgoaziou.fr>
To: David Caldwell <ddcows2006 <at> yahoo.com>
Cc: 22735-done <at> debbugs.gnu.org, 22776-done <at> debbugs.gnu.org
Subject: Re: bug#22776: interactive org-set-effort (C-c C-x e) and column view
 direct index selection do not handle Effort_ALL with more than 10 entries
Date: Sat, 07 Jul 2018 13:19:46 +0200
Nicolas Goaziou <mail <at> nicolasgoaziou.fr> writes:

> I've changed `org-set-effort' to use `completing-read' for allowed
> values instead of relying on position in list. The prefix argument now
> means "increment". 
>
> This is simpler and less exotic.
>
> WDYT?

Since there is no answer from the OP, I assume this is fixed.

I'm closing the bug report.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 04 Aug 2018 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 6 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.