From mboxrd@z Thu Jan 1 00:00:00 1970 From: Allen Choong Subject: Sort error [9.0.9 (9.0.9-88-g251f88-elpa @ /home/someone/.emacs.d/elpa/org-20170821/)] Date: Mon, 28 Aug 2017 08:15:13 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_MWHPR13MB145570ECE74F4419D092A534CD9E0MWHPR13MB1455namp_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmFCY-0005AK-IJ for emacs-orgmode@gnu.org; Mon, 28 Aug 2017 04:15:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmFCV-00055R-7l for emacs-orgmode@gnu.org; Mon, 28 Aug 2017 04:15:18 -0400 Received: from mail-oln040092008089.outbound.protection.outlook.com ([40.92.8.89]:63539 helo=NAM03-DM3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmFCU-00054Z-V2 for emacs-orgmode@gnu.org; Mon, 28 Aug 2017 04:15:15 -0400 Content-Language: en-US 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" --_000_MWHPR13MB145570ECE74F4419D092A534CD9E0MWHPR13MB1455namp_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Expect to sort the items according to "todo order" which has no issue previ= ously. But now it fails. Not only "todo order" but also "alpha", "numeric",= and so on, except "clocking". With a file contains this, =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D * test ** TODO test2 ** DONE test3 CLOSED: [2017-08-28 Mon 15:51] ** test4 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D I put my cursor at "*test", and do a "C-c ^" (org-sort), then type "o" (tod= o(o)rder), but is shows ``` org-sort-entries: Symbol=92s function definition is void: org-clocking-buff= er ``` However, if I do the sorting with "clocking" first, then all the other sort= will work fine, until I restart the emacs. Regards, Allen --_000_MWHPR13MB145570ECE74F4419D092A534CD9E0MWHPR13MB1455namp_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

Expect to sort the items according to "todo order" which has n= o issue previously. But now it fails. Not only "todo order" but a= lso "alpha", "numeric", and so on, except "clockin= g".


With a file contains this,

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

* test
** TODO test2
** DONE test3
   CLOSED: [2017-08-28 Mon 15:51]
** test4

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D

I put my cursor at "*test", and do a "C-c ^" (org-so= rt), then type "o" (todo(o)rder), but is shows 


```

org-sort-entries: Symbol=92s function definition is void: org-cloc= king-buffer

```


However, if I do the sorting with "clocking" first, then= all the other sort will work fine, until I restart the emacs.



Regards,
Allen

--_000_MWHPR13MB145570ECE74F4419D092A534CD9E0MWHPR13MB1455namp_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Sort error [9.0.9 (9.0.9-88-g251f88-elpa @ /home/someone/.emacs.d/elpa/org-20170821/)] Date: Wed, 30 Aug 2017 00:16:16 +0200 Message-ID: <87d17eqatr.fsf@nicolasgoaziou.fr> References: 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]:42826) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dmonz-0005Rk-QL for emacs-orgmode@gnu.org; Tue, 29 Aug 2017 18:16:20 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dmony-0000gu-W0 for emacs-orgmode@gnu.org; Tue, 29 Aug 2017 18:16:19 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:51121) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dmony-0000fy-Pw for emacs-orgmode@gnu.org; Tue, 29 Aug 2017 18:16:18 -0400 In-Reply-To: (Allen Choong's message of "Mon, 28 Aug 2017 08:15:13 +0000") 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: Allen Choong Cc: "emacs-orgmode@gnu.org" Hello, Allen Choong writes: > Expect to sort the items according to "todo order" which has no issue pre= viously. But now it fails. Not only "todo order" but also "alpha", "numeric= ", and so on, except "clocking". > > > With a file contains this, > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > * test > ** TODO test2 > ** DONE test3 > CLOSED: [2017-08-28 Mon 15:51] > ** test4 > > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D > > I put my cursor at "*test", and do a "C-c ^" (org-sort), then type "o" (t= odo(o)rder), but is shows > > > ``` > > org-sort-entries: Symbol=E2=80=99s function definition is void: org-clock= ing-buffer > > ``` > > > However, if I do the sorting with "clocking" first, then all the other > sort will work fine, until I restart the emacs. Fixed. Thank you. Regards, --=20 Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Sort error [9.0.9 (9.0.9-88-g251f88-elpa @ /home/someone/.emacs.d/elpa/org-20170821/)] Date: Fri, 01 Sep 2017 22:23:13 -0500 Message-ID: <87r2vpg4wu.fsf@alphapapa.net> References: <87d17eqatr.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45725) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dnz21-00045Q-J4 for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 23:23:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dnz1w-0004qe-NI for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 23:23:37 -0400 Received: from [195.159.176.226] (port=48900 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dnz1w-0004pT-FD for emacs-orgmode@gnu.org; Fri, 01 Sep 2017 23:23:32 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1dnz1g-0003hQ-GE for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 05:23:16 +0200 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 Curious, I see that the functions org-clocking-buffer and org-clock-is-active are identical. Should one of these be a deprecated alias? From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Sort error [9.0.9 (9.0.9-88-g251f88-elpa @ /home/someone/.emacs.d/elpa/org-20170821/)] Date: Sat, 02 Sep 2017 09:55:51 +0200 Message-ID: <87o9qt1qm0.fsf@nicolasgoaziou.fr> References: <87d17eqatr.fsf@nicolasgoaziou.fr> <87r2vpg4wu.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44860) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1do3Ha-0007CF-Mr for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 03:56:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1do3HV-0000xv-TA for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 03:55:58 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:45735) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1do3HV-0000xT-Ml for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 03:55:53 -0400 In-Reply-To: <87r2vpg4wu.fsf@alphapapa.net> (Adam Porter's message of "Fri, 01 Sep 2017 22:23:13 -0500") 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: Adam Porter Cc: emacs-orgmode@gnu.org Hello, Adam Porter writes: > Curious, I see that the functions org-clocking-buffer and > org-clock-is-active are identical. Should one of these be a deprecated > alias? Indeed, I noticed the same. This could be a first step, but we should also move all "org-clock-" prefixed variables and functions (around line 4518 in "org.el") in "org-clock.el", for clarity. There's no reason to have them clutter "org.el". Do you want to have a stab at it? Regards, -- Nicolas Goaziou From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Porter Subject: Re: Sort error [9.0.9 (9.0.9-88-g251f88-elpa @ /home/someone/.emacs.d/elpa/org-20170821/)] Date: Sat, 02 Sep 2017 20:12:39 -0500 Message-ID: <87shg4egag.fsf@alphapapa.net> References: <87d17eqatr.fsf@nicolasgoaziou.fr> <87r2vpg4wu.fsf@alphapapa.net> <87o9qt1qm0.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1doJTO-00034T-1d for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 21:13:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1doJTJ-0006c5-BK for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 21:13:14 -0400 Received: from [195.159.176.226] (port=37053 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1doJTJ-0006bd-4j for emacs-orgmode@gnu.org; Sat, 02 Sep 2017 21:13:09 -0400 Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1doJT2-0007vj-RG for emacs-orgmode@gnu.org; Sun, 03 Sep 2017 03:12:52 +0200 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 Hi Nicolas, Nicolas Goaziou writes: > Hello, > > Adam Porter writes: > >> Curious, I see that the functions org-clocking-buffer and >> org-clock-is-active are identical. Should one of these be a deprecated >> alias? > > Indeed, I noticed the same. > > This could be a first step, but we should also move all "org-clock-" > prefixed variables and functions (around line 4518 in "org.el") in > "org-clock.el", for clarity. There's no reason to have them clutter > "org.el". > > Do you want to have a stab at it? Yeah, I thought it was strange that they weren't in org-clock.el. I'll put this on my todo list, but I probably won't get to it soon. :) Thanks.