emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Bug: sparse tree with date query fails [8.3beta (release_8.3beta-1275-gb94ef2 @ /usr/share/emacs/site-lisp/org/)]
@ 2015-06-02 11:56 Michael Strey
  2015-06-02 13:41 ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Strey @ 2015-06-02 11:56 UTC (permalink / raw)
  To: emacs-orgmode



Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

     http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.
------------------------------------------------------------------------

In an org file containing timestamps I tried to create a sparse tree
with C-c / D and get an error message regarding eq having only one
argument.  C-c / b and C-c / a  show the same behaviour.

The culprit seems to be this line:

+ '(eq (org-element-type (org-element-context) 'timestamp))

from

http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=c6d9a4ec22ff59928e05debeb27139270f293526


Emacs  : GNU Emacs 24.5.1 (i686-pc-linux-gnu, GTK+ Version 3.16.2)
 of 2015-04-20 on sammy
Package: Org-mode version 8.3beta (release_8.3beta-1275-gb94ef2 @ /usr/share/emacs/site-lisp/org/)
-- 
Michael Strey
http://www.strey.biz * https://twitter.com/michaelstrey

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

* Re: Bug: sparse tree with date query fails [8.3beta (release_8.3beta-1275-gb94ef2 @ /usr/share/emacs/site-lisp/org/)]
  2015-06-02 11:56 Bug: sparse tree with date query fails [8.3beta (release_8.3beta-1275-gb94ef2 @ /usr/share/emacs/site-lisp/org/)] Michael Strey
@ 2015-06-02 13:41 ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2015-06-02 13:41 UTC (permalink / raw)
  To: Michael Strey; +Cc: emacs-orgmode

Hello,

Michael Strey <mstrey@strey.biz> writes:

> In an org file containing timestamps I tried to create a sparse tree
> with C-c / D and get an error message regarding eq having only one
> argument.  C-c / b and C-c / a  show the same behaviour.
>
> The culprit seems to be this line:
>
> + '(eq (org-element-type (org-element-context) 'timestamp))
>
> from
>
> http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=c6d9a4ec22ff59928e05debeb27139270f293526

Fixed in 7b333c72493a66eac35d9246fb689b6f18cbd2e7. Thank you.


Regards,

-- 
Nicolas Goaziou

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

end of thread, other threads:[~2015-06-02 13:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-02 11:56 Bug: sparse tree with date query fails [8.3beta (release_8.3beta-1275-gb94ef2 @ /usr/share/emacs/site-lisp/org/)] Michael Strey
2015-06-02 13:41 ` 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).