emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* 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  8:39 sindikat
  2014-03-13 15:05 ` Bastien
  2014-03-14  9:55 ` Nicolas Richard
  0 siblings, 2 replies; 3+ messages in thread
From: sindikat @ 2014-03-06  8:39 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.
------------------------------------------------------------------------

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/)

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

* Re: 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  8:39 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/)] sindikat
@ 2014-03-13 15:05 ` Bastien
  2014-03-14  9:55 ` Nicolas Richard
  1 sibling, 0 replies; 3+ messages in thread
From: Bastien @ 2014-03-13 15:05 UTC (permalink / raw)
  To: sindikat@mail36.net; +Cc: emacs-orgmode

Hi,

sindikat@mail36.net (sindikat@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

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

* Re: 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  8:39 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/)] sindikat
  2014-03-13 15:05 ` Bastien
@ 2014-03-14  9:55 ` Nicolas Richard
  1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Richard @ 2014-03-14  9:55 UTC (permalink / raw)
  To: sindikat@mail36.net; +Cc: emacs-orgmode

sindikat@mail36.net (sindikat@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.

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

end of thread, other threads:[~2014-03-14  9:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-06  8:39 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/)] sindikat
2014-03-13 15:05 ` Bastien
2014-03-14  9:55 ` Nicolas Richard

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).