"Jacob S. Gordon" <[email protected]> writes:

> I found one more place and some (partially existing) edge behaviour.
>
> If you enter column mode on the following header (‘C-c C-x C-c’),
> place the point on the priority column, and hit ‘S-<left>’ or
> ‘S-<right>’ it should correctly cycle through the allowed values:
>
>   #+PRIORITIES: 1 10 7
>   #+COLUMNS: %PRIORITY %ITEM
>   * Heading
>
> Attached is a small patch to ‘org-property-get-allowed-values’ that
> fixes it.
>
> The edge behaviour appears when calling ‘org-priority-up’ (‘S-<up>’)
> with point on on the priority cookie, which signals ‘Invalid priority
> value ‘-1’’ (the message is new but the error is not):
>
>   #+PRIORITIES: 0 10 5
>   * [#0] Heading
>
> With non-numeric priorities and ‘org-priority-down’ (‘S-<down>’) you
> can get a similar error (which AFAICT is a regression)
>
>   #+PRIORITIES: A Z M
>   * [#Z] Heading
> diff --git a/lisp/org.el b/lisp/org.el
> index 7b455a18a..572a2c448 100644

Do you want to create a full patch with commit message?

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>

Reply via email to