emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Offline until sunday eve -- please heavily test current HEAD
@ 2012-08-16  9:23 Bastien
  2012-08-16 19:14 ` Achim Gratz
  2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
  0 siblings, 2 replies; 9+ messages in thread
From: Bastien @ 2012-08-16  9:23 UTC (permalink / raw)
  To: emacs-orgmode

Hi all,

I will be offline until sunday eve.

Please heavily test the current HEAD of the git repository.
If you have bugs that you didn't send to the list, please do
it now.

Thanks,

-- 
 Bastien

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

* Re: Offline until sunday eve -- please heavily test current HEAD
  2012-08-16  9:23 Offline until sunday eve -- please heavily test current HEAD Bastien
@ 2012-08-16 19:14 ` Achim Gratz
  2012-08-20 12:28   ` Bastien
  2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
  1 sibling, 1 reply; 9+ messages in thread
From: Achim Gratz @ 2012-08-16 19:14 UTC (permalink / raw)
  To: emacs-orgmode

Bastien writes:
> Please heavily test the current HEAD of the git repository.
> If you have bugs that you didn't send to the list, please do
> it now.

I get these test fails with Emacs 24.1, 24.2-rc (but not on 24.1.50 or
24.2.50, although the latter activates only 214 instead of 371 tests,
which seems to require a separate investigation since the setup is the
same otherwise):

Test ob-exp/exports-both condition:
    (void-function my-map)
   FAILED   17/371  ob-exp/exports-both

Test test-org-babel/multi-line-header-arguments condition:
    (void-function my-map)
   FAILED  156/371  test-org-babel/multi-line-header-arguments

Test test-org-babel/multi-line-header-arguments backtrace:
  (my-map (quote list) (function list) numbers letters)
  (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote (a b c d e f
  (progn (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote (a b 
  eval((progn (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote 
  ((lambda (result) (if (or (member "scalar" (cdr (assoc :result-param
  (progn ((lambda (result) (if (or (member "scalar" (cdr (assoc :resul
  (unwind-protect (progn ((lambda (result) (if (or (member "scalar" (c
  (let ((wconfig (current-window-configuration))) (unwind-protect (pro
  (save-window-excursion ((lambda (result) (if (or (member "scalar" (c
  org-babel-execute:emacs-lisp("(require 'cl)\n(defalias 'my-map (if (
  funcall(org-babel-execute:emacs-lisp "(require 'cl)\n(defalias 'my-m
  ((lambda (result) (if (and (eq (cdr (assoc :result-type params)) (qu
  (setq result ((lambda (result) (if (and (eq (cdr (assoc :result-type
  (if (and (not arg) new-hash (equal new-hash old-hash)) (save-excursi
  (let ((call-process-region (lambda (&rest args) (apply (quote org-ba
  (unwind-protect (let ((call-process-region (lambda (&rest args) (app
  (let* ((lang (nth 0 info)) (params (if params (org-babel-process-par
  (progn (let* ((lang (nth 0 info)) (params (if params (org-babel-proc
  (if (org-babel-confirm-evaluate (let ((i info)) (setf (nth 2 i) (org
  (when (org-babel-confirm-evaluate (let ((i info)) (setf (nth 2 i) (o
  (let ((info (or info (org-babel-get-src-block-info)))) (when (org-ba
  org-babel-execute-src-block()
  (let ((results (org-babel-execute-src-block))) (should (equal (quote
  (progn (org-babel-next-src-block) (let ((results (org-babel-execute-
  (setq G16529 (progn (org-babel-next-src-block) (let ((results (org-b
  (let ((kill-buffer-query-functions nil) G16529) (with-temp-file "/tm
  (org-test-with-temp-text-in-file "\n\n#+headers: :var letters='(a b 

With Emacs 23.3, I get this test error:

Test test-ob-sh/session condition:
    (error "Marker does not point anywhere")
   FAILED  112/211  test-ob-sh/session

Test test-ob-sh/session backtrace:
  (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ((i 6) (fram
  (block nil (let* ((i 6) (frame nil) (--cl-var-- nil)) (while (progn 
  (loop for i from 6 for frame = (backtrace-frame i) while frame colle
  ert--record-backtrace()
  (let* ((condition (first more-debugger-args)) (type (case (car condi
  (cond ((member* first-debugger-arg (quote (lambda debug t exit nil))
  (case first-debugger-arg ((lambda debug t exit nil) (apply (ert--tes
  (ecase first-debugger-arg ((lambda debug t exit nil) (apply (ert--te
  (let* ((more-debugger-args debugger-args) (first-debugger-arg (if mo
  (progn (let* ((more-debugger-args debugger-args) (first-debugger-arg
  (destructuring-bind (first-debugger-arg &rest more-debugger-args) de
  ert--run-test-debugger([cl-struct-ert--test-execution-info [cl-struc
  (lambda (G99254 &rest debugger-args) (ert--run-test-debugger (symbol
  apply((lambda (G99254 &rest debugger-args) (ert--run-test-debugger (
  (lambda (&rest --cl-rest--) (apply (lambda (G99254 &rest debugger-ar
  ansi-color-apply-on-region(#<marker in no buffer> #<marker at 16 in 
  ansi-color-process-output("")
  run-hook-with-args(ansi-color-process-output "")
  comint-send-input(nil t)

These look like further fallout from the cl-flet excision...  The fails
happen in the same way when I run the tests on bytecode produced with
another Emacs version or even uncompiled, so I don't think the bytecode
is to blame.


Regards,
Achim.
-- 
+<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+

Wavetables for the Terratec KOMPLEXER:
http://Synth.Stromeko.net/Downloads.html#KomplexerWaves

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

* BUG - Can't export subtree without TOC
  2012-08-16  9:23 Offline until sunday eve -- please heavily test current HEAD Bastien
  2012-08-16 19:14 ` Achim Gratz
@ 2012-08-20  2:23 ` Bernt Hansen
  2012-08-20  2:40   ` Bastien
  2012-08-20  2:49   ` Bernt Hansen
  1 sibling, 2 replies; 9+ messages in thread
From: Bernt Hansen @ 2012-08-20  2:23 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Hi Bastien,

I want to export a subtree with a EXPORT_OPTIONS property which turns
off the table of contents.

This works fine in release_7.8.11 but not in the current git master.

--8<---------------cut here---------------start------------->8---
**** Export me
:PROPERTIES:
:EXPORT_OPTIONS: toc:nil
:END:
[2012-08-19 Sun 22:08]

Details follow
--8<---------------cut here---------------end--------------->8---

Org-mode version 7.8.11 (release_7.8.11 @ /home/bernt/git/org-mode/lisp/)
GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian

C-c @ on this entry and C-c C-e d always includes the TOC.

I'll try to determine the commit that breaks this.

Regards,
Bernt


Bastien <bzg@gnu.org> writes:

> Hi all,
>
> I will be offline until sunday eve.
>
> Please heavily test the current HEAD of the git repository.
> If you have bugs that you didn't send to the list, please do
> it now.
>
> Thanks,

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

* Re: BUG - Can't export subtree without TOC
  2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
@ 2012-08-20  2:40   ` Bastien
  2012-08-20  2:51     ` Bernt Hansen
  2012-08-20  2:49   ` Bernt Hansen
  1 sibling, 1 reply; 9+ messages in thread
From: Bastien @ 2012-08-20  2:40 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

Hi Bernt,

Bernt Hansen <bernt@norang.ca> writes:

> This works fine in release_7.8.11 but not in the current git master.
>
> **** Export me
> :PROPERTIES:
> :EXPORT_OPTIONS: toc:nil
> :END:
> [2012-08-19 Sun 22:08]
>
> Details follow
>
> Org-mode version 7.8.11 (release_7.8.11 @ /home/bernt/git/org-mode/lisp/)
> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian
>
> C-c @ on this entry and C-c C-e d always includes the TOC.

I just tested this with emacs -Q and the Org from current git.
The export is okay for me (I get a TOC or not depending on the 
value of EXPORT_OPTIONS.)

Maybe the error was in C-c @ -- the command relies on org-element
now, and org-element may not have been required properly. 

Please pull and let me know if this is it.

Thanks,

-- 
 Bastien

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

* Re: BUG - Can't export subtree without TOC
  2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
  2012-08-20  2:40   ` Bastien
@ 2012-08-20  2:49   ` Bernt Hansen
  2012-08-20  3:41     ` Bastien
  1 sibling, 1 reply; 9+ messages in thread
From: Bernt Hansen @ 2012-08-20  2:49 UTC (permalink / raw)
  To: Bastien, Nicolas Goaziou; +Cc: emacs-orgmode

Adding Nicolas.

Hi Bastien,

The following org file shows the problem for me

C-c @ on the '* Export me' task and C-c C-e b also selects the following
task during export.

--8<---------------cut here---------------start------------->8---

* Export me
:PROPERTIES:
:EXPORT_OPTIONS: toc:nil
:END:
[2012-08-19 Sun 22:08]

details go here

* Some other subtree
[2012-08-19 Sun 22:36]

Don't export me
--8<---------------cut here---------------end--------------->8---

This commit causes the problem according to git bisect

--8<---------------cut here---------------start------------->8---
d70f965486fc890af199d3dd8c9ed9a8fb88f16b is the first bad commit
commit d70f965486fc890af199d3dd8c9ed9a8fb88f16b
Author: Nicolas Goaziou <n.goaziou@gmail.com>
Date:   Tue Aug 7 13:30:09 2012 +0200

    Do not make a special case for inlinetasks when marking a subtree
    
    * lisp/org.el (org-mark-subtree): Do not make a special case for
      inlinetasks when marking a subtree. These are handled by
      `org-element-mark-element'.
    * testing/lisp/test-org.el: Add test.

:040000 040000 a0e9c712347bf7d93a60d87ac88374fa30a50ab6 43501283c2ae8624662e6c541ff0965b8367c662 M	lisp
:040000 040000 5c63d61e5fa36917634bca2773ae0179cf2c1b0e 77c6bd7bf06a67fbc11114dde3cbe11b0c21bbcb M	testing
--8<---------------cut here---------------end--------------->8---

Let me know if you need additional information.

Thanks,
Bernt


Bernt Hansen <bernt@norang.ca> writes:

> Hi Bastien,
>
> I want to export a subtree with a EXPORT_OPTIONS property which turns
> off the table of contents.
>
> This works fine in release_7.8.11 but not in the current git master.
>
> **** Export me
> :PROPERTIES:
> :EXPORT_OPTIONS: toc:nil
> :END:
> [2012-08-19 Sun 22:08]
>
> Details follow
>
> Org-mode version 7.8.11 (release_7.8.11 @ /home/bernt/git/org-mode/lisp/)
> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian
>
> C-c @ on this entry and C-c C-e d always includes the TOC.
>
> I'll try to determine the commit that breaks this.
>
> Regards,
> Bernt
>
>
> Bastien <bzg@gnu.org> writes:
>
>> Hi all,
>>
>> I will be offline until sunday eve.
>>
>> Please heavily test the current HEAD of the git repository.
>> If you have bugs that you didn't send to the list, please do
>> it now.
>>
>> Thanks,

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

* Re: BUG - Can't export subtree without TOC
  2012-08-20  2:40   ` Bastien
@ 2012-08-20  2:51     ` Bernt Hansen
  0 siblings, 0 replies; 9+ messages in thread
From: Bernt Hansen @ 2012-08-20  2:51 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode

Hi Bastien,

I still get broken behaviour with release_7.8.11-539-g7d117bd
 
-Bernt



Bastien <bzg@altern.org> writes:

> Hi Bernt,
>
> Bernt Hansen <bernt@norang.ca> writes:
>
>> This works fine in release_7.8.11 but not in the current git master.
>>
>> **** Export me
>> :PROPERTIES:
>> :EXPORT_OPTIONS: toc:nil
>> :END:
>> [2012-08-19 Sun 22:08]
>>
>> Details follow
>>
>> Org-mode version 7.8.11 (release_7.8.11 @ /home/bernt/git/org-mode/lisp/)
>> GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-12-11 on raven, modified by Debian
>>
>> C-c @ on this entry and C-c C-e d always includes the TOC.
>
> I just tested this with emacs -Q and the Org from current git.
> The export is okay for me (I get a TOC or not depending on the 
> value of EXPORT_OPTIONS.)
>
> Maybe the error was in C-c @ -- the command relies on org-element
> now, and org-element may not have been required properly. 
>
> Please pull and let me know if this is it.
>
> Thanks,

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

* Re: BUG - Can't export subtree without TOC
  2012-08-20  2:49   ` Bernt Hansen
@ 2012-08-20  3:41     ` Bastien
  2012-08-20 23:15       ` Bernt Hansen
  0 siblings, 1 reply; 9+ messages in thread
From: Bastien @ 2012-08-20  3:41 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode, Nicolas Goaziou

Hi Bernt,

Bernt Hansen <bernt@norang.ca> writes:

> The following org file shows the problem for me

This should be fixed now.  Please let us know.  

Thanks for reporting this!

-- 
 Bastien

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

* Re: Offline until sunday eve -- please heavily test current HEAD
  2012-08-16 19:14 ` Achim Gratz
@ 2012-08-20 12:28   ` Bastien
  0 siblings, 0 replies; 9+ messages in thread
From: Bastien @ 2012-08-20 12:28 UTC (permalink / raw)
  To: Achim Gratz; +Cc: emacs-orgmode

Hi Achim,

Achim Gratz <Stromeko@nexgo.de> writes:

> I get these test fails with Emacs 24.1, 24.2-rc (but not on 24.1.50 or
> 24.2.50, although the latter activates only 214 instead of 371 tests,
> which seems to require a separate investigation since the setup is the
> same otherwise):

Thanks for testing.

> Test ob-exp/exports-both condition:
>     (void-function my-map)
>    FAILED   17/371  ob-exp/exports-both
>
> Test test-org-babel/multi-line-header-arguments condition:
>     (void-function my-map)
>    FAILED  156/371  test-org-babel/multi-line-header-arguments
>
> Test test-org-babel/multi-line-header-arguments backtrace:
>   (my-map (quote list) (function list) numbers letters)
>   (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote (a b c d e f
>   (progn (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote (a b 
>   eval((progn (let ((numbers (quote (1 2 3 4 5 6 7))) (letters (quote 
>   ((lambda (result) (if (or (member "scalar" (cdr (assoc :result-param
>   (progn ((lambda (result) (if (or (member "scalar" (cdr (assoc :resul
>   (unwind-protect (progn ((lambda (result) (if (or (member "scalar" (c
>   (let ((wconfig (current-window-configuration))) (unwind-protect (pro
>   (save-window-excursion ((lambda (result) (if (or (member "scalar" (c
>   org-babel-execute:emacs-lisp("(require 'cl)\n(defalias 'my-map (if (
>   funcall(org-babel-execute:emacs-lisp "(require 'cl)\n(defalias 'my-m
>   ((lambda (result) (if (and (eq (cdr (assoc :result-type params)) (qu
>   (setq result ((lambda (result) (if (and (eq (cdr (assoc :result-type
>   (if (and (not arg) new-hash (equal new-hash old-hash)) (save-excursi
>   (let ((call-process-region (lambda (&rest args) (apply (quote org-ba
>   (unwind-protect (let ((call-process-region (lambda (&rest args) (app
>   (let* ((lang (nth 0 info)) (params (if params (org-babel-process-par
>   (progn (let* ((lang (nth 0 info)) (params (if params (org-babel-proc
>   (if (org-babel-confirm-evaluate (let ((i info)) (setf (nth 2 i) (org
>   (when (org-babel-confirm-evaluate (let ((i info)) (setf (nth 2 i) (o
>   (let ((info (or info (org-babel-get-src-block-info)))) (when (org-ba
>   org-babel-execute-src-block()
>   (let ((results (org-babel-execute-src-block))) (should (equal (quote
>   (progn (org-babel-next-src-block) (let ((results (org-babel-execute-
>   (setq G16529 (progn (org-babel-next-src-block) (let ((results (org-b
>   (let ((kill-buffer-query-functions nil) G16529) (with-temp-file "/tm
>   (org-test-with-temp-text-in-file "\n\n#+headers: :var letters='(a b 
>
> With Emacs 23.3, I get this test error:
>
> Test test-ob-sh/session condition:
>     (error "Marker does not point anywhere")
>    FAILED  112/211  test-ob-sh/session
>
> Test test-ob-sh/session backtrace:
>   (cl-block-wrapper (catch (quote --cl-block-nil--) (let* ((i 6) (fram
>   (block nil (let* ((i 6) (frame nil) (--cl-var-- nil)) (while (progn 
>   (loop for i from 6 for frame = (backtrace-frame i) while frame colle
>   ert--record-backtrace()
>   (let* ((condition (first more-debugger-args)) (type (case (car condi
>   (cond ((member* first-debugger-arg (quote (lambda debug t exit nil))
>   (case first-debugger-arg ((lambda debug t exit nil) (apply (ert--tes
>   (ecase first-debugger-arg ((lambda debug t exit nil) (apply (ert--te
>   (let* ((more-debugger-args debugger-args) (first-debugger-arg (if mo
>   (progn (let* ((more-debugger-args debugger-args) (first-debugger-arg
>   (destructuring-bind (first-debugger-arg &rest more-debugger-args) de
>   ert--run-test-debugger([cl-struct-ert--test-execution-info [cl-struc
>   (lambda (G99254 &rest debugger-args) (ert--run-test-debugger (symbol
>   apply((lambda (G99254 &rest debugger-args) (ert--run-test-debugger (
>   (lambda (&rest --cl-rest--) (apply (lambda (G99254 &rest debugger-ar
>   ansi-color-apply-on-region(#<marker in no buffer> #<marker at 16 in 
>   ansi-color-process-output("")
>   run-hook-with-args(ansi-color-process-output "")
>   comint-send-input(nil t)
>
> These look like further fallout from the cl-flet excision...  

Not really -- this is related to the recent version bump in Emacs trunk.

The should be fixed now.  See this commit:
http://orgmode.org/w/?p=org-mode.git;a=commit;h=00e5c2

Can you try again and report remaining problems, if any?

Thanks!

-- 
 Bastien

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

* Re: BUG - Can't export subtree without TOC
  2012-08-20  3:41     ` Bastien
@ 2012-08-20 23:15       ` Bernt Hansen
  0 siblings, 0 replies; 9+ messages in thread
From: Bernt Hansen @ 2012-08-20 23:15 UTC (permalink / raw)
  To: Bastien; +Cc: emacs-orgmode, Nicolas Goaziou

This works for me now.  Thanks!

Regards,
Bernt


Bastien <bzg@altern.org> writes:

> Hi Bernt,
>
> Bernt Hansen <bernt@norang.ca> writes:
>
>> The following org file shows the problem for me
>
> This should be fixed now.  Please let us know.  
>
> Thanks for reporting this!

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

end of thread, other threads:[~2012-08-20 23:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-16  9:23 Offline until sunday eve -- please heavily test current HEAD Bastien
2012-08-16 19:14 ` Achim Gratz
2012-08-20 12:28   ` Bastien
2012-08-20  2:23 ` BUG - Can't export subtree without TOC Bernt Hansen
2012-08-20  2:40   ` Bastien
2012-08-20  2:51     ` Bernt Hansen
2012-08-20  2:49   ` Bernt Hansen
2012-08-20  3:41     ` Bastien
2012-08-20 23:15       ` Bernt Hansen

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