Re: [O] Bug: org-element-parse-buffer doesn't work in 8.2.5h [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/sindikat/.emacs.d/elpa/org-20140303/)]

2014-03-14 Thread Nicolas Richard
sindi...@mail36.net (sindi...@mail36.net) writes:
 It was reproduced on clean Emacs by running `emacs -Q' and issuing:

 (let ((package-load-list '((org t
   (package-initialize))

Could you show us the output of M-x org-version in that emacs -Q
session ? Could you also try M-x org-reload after you ran the above
lispĀ ? What is the output of (locate-library org-compat) ? What's the
output of M-:
(delq nil
  (mapcar
   (lambda (elt)
 (when
 (and (stringp (car elt))
  (string-match org-compat (car elt)))
   (car elt)))
   load-history)) ?

FWIW I couldn't repro either with the following recipe:
$ REPO=gnu emacs -f package-refresh-contents --eval '(package-install (cadr 
(assoc (quote org) package-archive-contents)))'

with an empty ~/.emacs

-- 
Nico.



Re: [O] Bug: org-element-parse-buffer doesn't work in 8.2.5h [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/sindikat/.emacs.d/elpa/org-20140303/)]

2014-03-13 Thread Bastien
Hi,

sindi...@mail36.net (sindi...@mail36.net) writes:

 Create an org-mode buffer that contains at least one headline. Example:

 ---
 text
 * headline
 ---

 Run `(org-element-parse-buffer)'. The following error will pop up:

I cannot reproduce this, from the maint or the master branch.

-- 
 Bastien



[O] Bug: org-element-parse-buffer doesn't work in 8.2.5h [8.2.5h (8.2.5h-30-gdd810b-elpa @ /home/sindikat/.emacs.d/elpa/org-20140303/)]

2014-03-06 Thread sindi...@mail36.net

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.


How to reproduce:

Create an org-mode buffer that contains at least one headline. Example:

---
text
* headline
---

Run `(org-element-parse-buffer)'. The following error will pop up:

Debugger entered--Lisp error: (invalid-function org-with-silent-modifications)
  org-with-silent-modifications(nil)
  org-refresh-category-properties()
  org-get-category()
  org-entry-properties(nil standard)
  org-element-headline-parser(17 nil)
  org-element--current-element(17 nil first-section nil)
  org-element--parse-elements(1 17 first-section nil nil nil (org-data nil 
(section (:begin 1 :end 6 :contents-begin 1 :contents-end 6 :post-blank 0 
:parent #0) (paragraph (:begin 1 :end 6 :contents-begin 1 :contents-end 6 
:post-blank 0 :post-affiliated 1 :parent #1) #(text\n 0 5 (:parent #2))
  org-element-parse-buffer()
  eval((org-element-parse-buffer) nil)
  eval-expression((org-element-parse-buffer) nil)
  call-interactively(eval-expression nil nil)

It was reproduced on clean Emacs by running `emacs -Q' and issuing:

(let ((package-load-list '((org t
  (package-initialize))

On org-version 7.9.3f the command works.

Emacs  : GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.6)
 of 2013-12-23 on brahms, modified by Debian
Package: Org-mode version 8.2.5h (8.2.5h-30-gdd810b-elpa @ 
/home/sindikat/.emacs.d/elpa/org-20140303/)