emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* `org-agenda-sorting-strategy` -- missing text properties.
@ 2015-06-06 23:43 Keith David Bershatsky
  2015-06-09  7:28 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Keith David Bershatsky @ 2015-06-06 23:43 UTC (permalink / raw)
  To: emacs-orgmode

There are nine (9) places in org-version 8.2.10 (which is included within Emacs public release 24.5.1) that could use some attention by the org-mode team.  I have fixed it in my own custom version of org-mode, but I have seen a couple of questions recently on the Emacs forums by users wondering why the sorting strategy does not always work in various situations.  The reason why users are having problems is because not all of the text properties are added during the data gathering process that are needed for `org-entries-lessp` to do its job.  I would suggest that the org-mode team look at all nine (9) locations where `org-add-props txt props` is used and try to add as many additional text properties as possible for members of the `org-agenda-sorting-strategy`.  Of course, the org-mode team
  will need to make decisions and code will need to be added to gather/assign the applicable values before the text-properties can be assigned.  In a nutshell, if the `org-agenda-sorting-strategy` offers a sorting type, then an effort should be made within the code to assign those corresponding text properties when the data is gathered.  Decisions by the org-mode team, include, but are not limited to, which timestamp will be used for a sorting date when both deadline and scheduled are present -- perhaps even a new sorting thing-a-ma-jig to deal with that special situation should be created.

Thanks,

Keith

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: `org-agenda-sorting-strategy` -- missing text properties.
  2015-06-06 23:43 `org-agenda-sorting-strategy` -- missing text properties Keith David Bershatsky
@ 2015-06-09  7:28 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-06-09  7:28 UTC (permalink / raw)
  To: Keith David Bershatsky; +Cc: emacs-orgmode

Hello,

Keith David Bershatsky <esq@lawlist.com> writes:

> There are nine (9) places in org-version 8.2.10 (which is included
> within Emacs public release 24.5.1) that could use some attention by
> the org-mode team. I have fixed it in my own custom version of
> org-mode, but I have seen a couple of questions recently on the Emacs
> forums by users wondering why the sorting strategy does not always
> work in various situations. The reason why users are having problems
> is because not all of the text properties are added during the data
> gathering process that are needed for `org-entries-lessp` to do its
> job. I would suggest that the org-mode team look at all nine (9)
> locations where `org-add-props txt props` is used and try to add as
> many additional text properties as possible for members of the
> `org-agenda-sorting-strategy`. Of course, the org-mode team
>   will need to make decisions and code will need to be added to
> gather/assign the applicable values before the text-properties can be
> assigned. In a nutshell, if the `org-agenda-sorting-strategy` offers
> a sorting type, then an effort should be made within the code to
> assign those corresponding text properties when the data is gathered.
> Decisions by the org-mode team, include, but are not limited to, which
> timestamp will be used for a sorting date when both deadline and
> scheduled are present -- perhaps even a new sorting thing-a-ma-jig to
> deal with that special situation should be created.

Some work was done wrt sorting in agenda during 8.3 development.

Could you try this version and report if any issue is still to be
resolved? If there is any, could you report it and, possibly, as you
apparently looked into the code carefully, name the missing text
properties?

Thank you.


Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-09  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-06 23:43 `org-agenda-sorting-strategy` -- missing text properties Keith David Bershatsky
2015-06-09  7:28 ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).