From: Trevor Murphy <trevor.m.murphy@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Bug: Commit cece23 'fix'-ed call to 'type' breaks my agenda sorting [8.2.7 (8.2.7-elpa @ /home/trevor/.emacs.d/elpa/org-20140613/)]
Date: Sat, 14 Jun 2014 11:56:53 -0400 [thread overview]
Message-ID: <87ppibpjqy.fsf@gmail.com> (raw)
Hi, all! The commit named in the subject line is causing me
grief. Specifically, the commit made three changes to the
`org-cmp-ts' function:
1. Change the function signature to require the `type' argument.
Doesn't
cause me any issues.
2 & 3. Make two changes from (get-text-property 1 'type FOO) to
(get-text-property 1 type FOO). These cause problems for me.
Near as I can tell, get-text-property really is supposed to look
up the `type' property of FOO (returning "scheduled" or "deadline"
or w/e) so the function can check that against the restriction
passed in through the argument.
This commit has the function checking the `scheduled', `deadline',
or other property of FOO based on the passed-in argument. In this
case get-text-property always returns nil and the function never
returns anything useful. Steps to reproduce:
(setq org-agenda-sorting-strategy '((agenda deadline-up))) [pull
up an agenda view with some deadline entries and some other
stuff] (setq org-agenda-sorting-strategy '((agenda
deadline-down))) [refresh the same agenda view]
What I expect to see:
Deadline entries flipping from top to bottom of the agenda view.
What I actually see:
No changes ... org-agenda-sorting-strategy doesn't appear to do
anything.
Is this affecting anybody else?
Emacs : GNU Emacs 24.3.1 (i686-pc-linux-gnu, GTK+ Version 3.10.7)
of 2014-01-28 on var-lib-archbuild-extra-i686-juergen
Package: Org-mode version 8.2.7 (8.2.7-elpa @
/home/trevor/.emacs.d/elpa/org-20140613/) --
Trevor Murphy
GnuPG Key: 0x83881C0A
next reply other threads:[~2014-06-14 15:57 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-14 15:56 Trevor Murphy [this message]
2014-06-15 8:43 ` Bug: Commit cece23 'fix'-ed call to 'type' breaks my agenda sorting [8.2.7 (8.2.7-elpa @ /home/trevor/.emacs.d/elpa/org-20140613/)] Bastien
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ppibpjqy.fsf@gmail.com \
--to=trevor.m.murphy@gmail.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).