Re: [O] [BUG] Traceback on Org-Export
Achim Gratz strom...@nexgo.de writes: Bastien writes: Yes. The whole maze needs a treat. Please submit a patch if you feel like undertaking this task. I managed to get zero warnings with Emacs 24.1 and did not take the time to check with Emacs 23. That is going to be one big hairy patch that touches almost everything. Maybe it is is possible to chop that down into a more manageable series of smaller changes, starting with those that will rescue org-element. All right. If useful, please push a public branch for this on orgmode.org. I will try downloading Emacs 23 and see what warnings will have here. -- Bastien
Re: [O] [BUG] Traceback on Org-Export
Bastien writes: All right. If useful, please push a public branch for this on orgmode.org. I will try downloading Emacs 23 and see what warnings will have here. Done, branch name is Globals. Merge it fast or be prepared for tons of merge conflicts. I already resolved the ones created by your recent changes, but not the warnings introduced by them. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf rackAttack: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
Re: [O] [BUG] Traceback on Org-Export
Luis Anaya writes: In org-toggle-heading: org.el:19364:26:Warning: attempt to let-bind constant `org-outline-regexp-bol' Are you using Emacs23? Because I don't get these on Emacs24 and they look positively wierd... Plus, it's one of those instances where it seems to make a difference in which order the files get compiled. If I compile _only_ org.el, I only get: In toplevel form: org.el:4994:1:Error: Symbol's value as variable is void: org-outline-regexp-bol at the line of (require 'org-element). Org-element can't require org since that would become recursive, so it should actually declare those variables, but that doesn't work since it evaluates some constants at compile-time and without a (require 'org) these aren't defined yet. Trying to workaround this issue with eval-and-compile seems possible, but doesn't really appeal to me. This seems to be further fallout from moving the require forms in org.el past the constant and variable definitions (which does make a difference for Emacs23 vs Emacs24 since the scope rules are now different). Bastien, what was the problem you were trying to solve there? In any case, the interaction between org and org-element needs a serious overhaul and while we're at it this work should be extended to other subsystems of org. 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
Re: [O] [BUG] Traceback on Org-Export
Achim Gratz writes: In any case, the interaction between org and org-element needs a serious overhaul and while we're at it this work should be extended to other subsystems of org. I've just pushed two new make targets to master that will compile org with a single Emacs process per file, compile-single and compile-source. The second of these targets actually removes each compiled file as soon as it is created so that Emacs will always work from _only_ sources for each compilation. I might add a target that does the opposite, namely compiling all files and then removing just one single compiled file and compile it again, just to have another point of reference. These should show unclean interdependencies between sources more cleanly and it does. Besides the org-outline-regexp-bol stuff Luis has been stumbling on, there are quite a few more — mostly in Babel and org-element, if only becausae these have seen the most development activity recently. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada
Re: [O] [BUG] Traceback on Org-Export
Achim Gratz strom...@nexgo.de writes: This seems to be further fallout from moving the require forms in org.el past the constant and variable definitions (which does make a difference for Emacs23 vs Emacs24 since the scope rules are now different). Bastien, what was the problem you were trying to solve there? I was trying to get rid of the many compiler warnings that you get from requiring libraries that relies on such variables and constants. In any case, the interaction between org and org-element needs a serious overhaul and while we're at it this work should be extended to other subsystems of org. Yes. The whole maze needs a treat. Please submit a patch if you feel like undertaking this task. I managed to get zero warnings with Emacs 24.1 and did not take the time to check with Emacs 23. Thanks, -- Bastien
Re: [O] [BUG] Traceback on Org-Export
Bastien writes: Yes. The whole maze needs a treat. Please submit a patch if you feel like undertaking this task. I managed to get zero warnings with Emacs 24.1 and did not take the time to check with Emacs 23. That is going to be one big hairy patch that touches almost everything. Maybe it is is possible to chop that down into a more manageable series of smaller changes, starting with those that will rescue org-element. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Waldorf MIDI Implementation additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs
Re: [O] [BUG] Traceback on Org-Export
Hi Luis, Luis Anaya papoan...@hotmail.com writes: I pulled the latest and greatest from Git after I uploaded by changes on the exporter and I got the following trace during import of org-export. I can't reproduce this. Perhaps ~$ make cleanall and ~$ make again? -- Bastien
Re: [O] [BUG] Traceback on Org-Export
Bastien b...@gnu.org writes: Hi Luis, Luis Anaya papoan...@hotmail.com writes: I can't reproduce this. Perhaps ~$ make cleanall and ~$ make again? Tried it... same error. I'm getting the following compilation error which is too much of a coincidence. I'll keep digging. Luis In org-toggle-heading: org.el:19364:26:Warning: attempt to let-bind constant `org-outline-regexp-bol' In org-mark-subtree: org.el:20638:28:Warning: attempt to let-bind constant `org-outline-regexp-bol' In org-yank-generic: org.el:21355:37:Warning: attempt to let-bind constant `org-outline-regexp-bol' In org-yank-folding-would-swallow-text: org.el:21384:37:Warning: attempt to let-bind constant `org-outline-regexp-bol' -- Luis Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
Re: [O] [BUG] Traceback on Org-Export
Bastien b...@gnu.org writes: I can't reproduce this. Perhaps ~$ make cleanall and ~$ make again? Ok... my bad... pilot error... missing (require 'org). I would've thought (org-install) would've loaded it. Anyway, this solved the problem by adding the require on my .emacs file. Now I need some tea... Luis -- Luis Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
Re: [O] [BUG] Traceback on Org-Export
Da: Luis Anaya papoan...@hotmail.com Inviato: Venerdì 3 Agosto 2012 12:43 Ok... my bad... pilot error... missing (require 'org). [...] Anyway, this solved the problem by adding the require on my .emacs file. ?-) why is this needed? The documentation doesn't mention it and I commented it out in my .emacs few weeks ago. Perhaps you do run the export in batch mode? Giovanni /a bit puzzled Org-mode version 7.8.11 (4732f153f
Re: [O] [BUG] Traceback on Org-Export
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: Ok... my bad... pilot error... missing (require 'org). ?-) why is this needed? Good question :) Like I said, I thought that org-install would have loaded it. But being that I'm more interested in testing the Groff exporter to the latest pull from git, it became a secondary task. (and I'm now fixing the exporter to meet parameter changes in the org-export.el API :( ) Perhaps you do run the export in batch mode? No. Not while I'm debugging code. I should try for testing though, in this way I can automate the results. But for now, this is done on the console. Giovanni /a bit puzzled Luis -- Luis Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
Re: [O] [BUG] Traceback on Org-Export
Luis Anaya papoan...@hotmail.com wrote: Giovanni Ridolfi giovanni.rido...@yahoo.it writes: Ok... my bad... pilot error... missing (require 'org). ?-) why is this needed? Good question :) Like I said, I thought that org-install would have loaded it. But being that I'm more interested in testing the Groff exporter to the latest pull from git, it became a secondary task. (and I'm now fixing the exporter to meet parameter changes in the org-export.el API :( ) Perhaps you do run the export in batch mode? No. Not while I'm debugging code. I should try for testing though, in this way I can automate the results. But for now, this is done on the console. Giovanni /a bit puzzled It's probably a missing autoload, perhaps, maybe... org-install does not require anything: it just provides autoloads so that when you use a function, its autoload takes care of loading the appropriate file(s). Nick PS And if I've got it wrong, Achim will surely correct me :-) Luis -- Luis Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo
Re: [O] [BUG] Traceback on Org-Export
Luis Anaya writes: Bastien b...@gnu.org writes: Ok... my bad... pilot error... missing (require 'org). I would've thought (org-install) would've loaded it. Anyway, this solved the problem by adding the require on my .emacs file. You've just hidden the real problem, which seems to be a missing (require 'org) or declaration for that constant along that load chain (most likely org-element from a very cursory look around the sources). But there's plenty of work to do in that department for you as well. :-) --8---cut here---start-8--- Compiling /home/gratz/lisp/org-mode/lisp/org-e-groff.el... In toplevel form: org-e-groff.el:555:7:Warning: assignment to free variable `registered-references' In org-e-groff-template: org-e-groff.el:731:13:Warning: assignment to free variable `hyphenate' org-e-groff.el:725:13:Warning: assignment to free variable `justify-right' org-e-groff.el:726:19:Warning: reference to free variable `justify-right' org-e-groff.el:732:19:Warning: reference to free variable `hyphenate' In org-e-groff-footnote-reference: org-e-groff.el:924:32:Warning: assignment to free variable `ref-id' org-e-groff.el:925:22:Warning: reference to free variable `ref-id' org-e-groff.el:928:27:Warning: reference to free variable `registered-references' org-e-groff.el:929:55:Warning: assignment to free variable `registered-references' In org-e-groff-item: org-e-groff.el:1142:40:Warning: value returned from (plist-get (car (cdr element)) property) is unused In org-e-groff-link--inline-image: org-e-groff.el:1301:18:Warning: assignment to free variable `placement' org-e-groff.el:1301:37:Warning: assignment to free variable `width' org-e-groff.el:1301:43:Warning: assignment to free variable `height' org-e-groff.el:1302:14:Warning: assignment to free variable `disable-caption' org-e-groff.el:1302:53:Warning: assignment to free variable `caption' org-e-groff.el:1299:42:Warning: reference to free variable `raw-path' org-e-groff.el:1302:31:Warning: reference to free variable `placement' org-e-groff.el:1302:31:Warning: reference to free variable `width' org-e-groff.el:1302:31:Warning: reference to free variable `height' org-e-groff.el:1302:31:Warning: reference to free variable `disable-caption' org-e-groff.el:1302:31:Warning: reference to free variable `caption' In org-e-groff-paragraph: org-e-groff.el:1405:9:Warning: assignment to free variable `parent' org-e-groff.el:1406:30:Warning: reference to free variable `parent' In org-e-groff-src-block: org-e-groff.el:1622:19:Warning: assignment to free variable `disable-caption' org-e-groff.el:1657:19:Warning: reference to free variable `disable-caption' In org-e-groff-table--align-string: org-e-groff.el:1771:22:Warning: assignment to free variable `align' org-e-groff.el:1776:23:Warning: reference to free variable `align' In org-e-groff-table--org-table: org-e-groff.el:1864:11:Warning: assignment to free variable `lines' org-e-groff.el:1854:42:Warning: assignment to free variable `attr-list' org-e-groff.el:1873:37:Warning: assignment to free variable `title-line' org-e-groff.el:1911:30:Warning: assignment to free variable `disable-caption' org-e-groff.el:1891:37:Warning: assignment to free variable `long-cells' org-e-groff.el:1858:54:Warning: reference to free variable `attr-list' org-e-groff.el:1869:30:Warning: assignment to free variable `table-format' org-e-groff.el:1869:7:Warning: reference to free variable `lines' org-e-groff.el:1874:53:Warning: assignment to free variable `first-line' org-e-groff.el:1874:53:Warning: reference to free variable `table-format' org-e-groff.el:1875:41:Warning: reference to free variable `title-line' org-e-groff.el:1881:53:Warning: reference to free variable `first-line' org-e-groff.el:1893:47:Warning: assignment to free variable `long-line' org-e-groff.el:1893:47:Warning: reference to free variable `long-cells' org-e-groff.el:1901:57:Warning: reference to free variable `long-line' org-e-groff.el:1909:36:Warning: reference to free variable `disable-caption' In org-e-groff-table-cell: org-e-groff.el:1925:36:Warning: reference to free variable `orgtbl-exp-regexp' In org-e-groff-export-to-groff: org-e-groff.el:2050:4:Warning: misplaced interactive spec: `(interactive)' org-e-groff.el:2048:9:Warning: assignment to free variable `registered-references' --8---cut here---end---8--- Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds
[O] [BUG] Traceback on Org-Export
Guys: I pulled the latest and greatest from Git after I uploaded by changes on the exporter and I got the following trace during import of org-export. ?? Luis Debugger entered--Lisp error: (void-variable org-outline-regexp-bol) (concat ^[ ]*$ \\| org-outline-regexp-bol \\| ^[ ]*#\\+ $ (defconst org-element-paragraph-separate (concat ^[ ]*$ \\| org-o$ eval-buffer(#buffer *load*4 nil /opt/home/papo/.emacs.d/org/lisp$ load-with-code-conversion(/opt/home/papo/.emacs.d/org/lisp/org-elemen$ require(org-element) eval-buffer(#buffer *load*3 nil /opt/home/papo/.emacs.d/org/cont$ load-with-code-conversion(/opt/home/papo/.emacs.d/org/contrib/lisp/or$ require(org-export) eval-buffer(#buffer *load*2 nil /opt/home/papo/.emacs.d/org/cont$ load-with-code-conversion(/opt/home/papo/.emacs.d/org/contrib/lisp/or$ require(org-e-groff) eval-buffer(#buffer *load* nil /opt/home/papo/.emacs nil t) ; Re$ load-with-code-conversion(/opt/home/papo/.emacs /opt/home/papo/.ema$ load(~/.emacs t t) #[nil ^H\205\264^@ \306=\203^Q^@\307^H\310Q\2027^@ \311=\2033^@\312$ command-line() normal-top-level() -- Luis R. Anaya papo anaya aroba hot mail punto com Do not use 100 words if you can say it in 10 - Yamamoto Tsunetomo