[Orgmode] xemacs21: void-variable macro-declaration-function

2011-02-26 Thread Andreas Goesele
Hi,

I had a working org-mode version 6.33trans with XEmacs 21.4.22 and
wanted to move to a newer version. I installed org-mode 7.01g-1 0 coming
with debian squeeze.

But now org-mode doesn't work any more. When I open any org-mode file I
get:

File mode specification error: (void-variable macro-declaration-function)

I tried to get some more information by setting debug-on-error, but
there is no additional debugging info when I trigger the error above.

I went back to my old org-mode - only to find out, that the old version
isn't working any more either :-(

Any help?

Andreas Gösele

-- 
Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est.
  Augustinus, De doctrina christiana

___
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


Re: [Orgmode] Re: Howto install from git under XEmacs (org-freemind problem)

2009-11-24 Thread Andreas Goesele
Lennart Borgman lennart.borg...@gmail.com writes:

 Thanks, I have seen this. Is not rx available at all in XEmacs?

It isn't AFAIK.

What I don't understand: As rx is not available I had put rx.el from
Emacs into my path and require it in my init.el.

With freemind.el 0.58 this worked under org-mode 6.21b and for
freemind-to-org-mode also under 6.32trans and 6.33trans. With the
org-freemind.el included in org-mode 6.32trans and 6.33trans it
doesn't work.

Unfortunately thinks do not stop here: Neither freemind-from-org-mode
nor org-freemind-from-org-mode work now under 6.33trans. I get an
error I had with freemind.el 0.57:

Debugger entered--Lisp error: (wrong-type-argument stringp nil)
  string-match(TODO nil)
  (if (string-match TODO this-m2) (progn (setq this-m2 ...) (add-to-list ... 
button_cancel) (setq this-bg-color #88) (when ... ...)))
  (when (string-match TODO this-m2) (setq this-m2 (replace-match  nil nil 
this-m2)) (add-to-list (quote this-icons) button_cancel) (setq this-bg-color 
#88) (when (string-match \\[#\\(.\\)\\] this-m2) (let ... ... ...)))
  (let* (this-icons this-bg-color this-m2-escaped this-rich-node 
this-rich-note) (when (string-match TODO this-m2) (setq this-m2 ...) 
(add-to-list ... button_cancel) (setq this-bg-color #88) (when ... 
...)) (setq this-m2 (org-trim this-m2)) (setq this-m2-escaped 
(freemind-escape-str-from-org this-m2)) (let (...) (setq this-rich-node ...) 
(setq this-rich-note ...)) (with-current-buffer mm-buffer (insert node 
text=\ this-m2-escaped \) (freemind-get-node-style this-m2) (when ... ...) 
(when ... ... ...) (when this-bg-color ...) (insert \n) (when this-icons 
...)) (with-current-buffer mm-buffer (when this-rich-note ...) (when 
this-rich-node ...)))
  freemind-write-node()
  (let (this-m2 this-node-end this-children-visible next-m2 next-level 
next-has-some-visible-child next-children-visible) (while (and ... ...) (let* 
... ... ... ... ... ... ... ... ... ... ... ... ...)) (setq this-m2 next-m2) 
(setq current-level next-level) (setq next-node-start (if node-at-line-last ... 
...)) (freemind-write-node) (with-current-buffer mm-buffer (insert 
/node\n)))
  (save-excursion (goto-char (point-min)) (while (re-search-forward ... nil t) 
(let ... ...)) (setq drawers-regexp (concat ... ... ...)) (if node-at-line 
(progn ... ... ... ... ... ... ... ...) (goto-char ...) (while ... ...) 
(goto-char ...) (when ... ... ... ...)) (setq num-left-nodes (floor 
num-top2-nodes 2)) (setq base-level current-level) (let (this-m2 this-node-end 
this-children-visible next-m2 next-level next-has-some-visible-child 
next-children-visible) (while ... ...) (setq this-m2 next-m2) (setq 
current-level next-level) (setq next-node-start ...) (freemind-write-node) 
(with-current-buffer mm-buffer ...)) (with-current-buffer mm-buffer (while ... 
... ...)) (with-current-buffer mm-buffer (insert /map) 
(delete-trailing-whitespace) (goto-char ...)))
  (let* ((drawers ...) drawers-regexp (node-pattern ...) (num-top1-nodes 0) 
(num-top2-nodes 0) num-left-nodes (unclosed-nodes 0) (first-time t) 
(current-level 1) base-level prev-node-end rich-text unfinished-tag 
node-at-line-level node-at-line-last) (with-current-buffer mm-buffer 
(erase-buffer) (insert ?xml version=\1.0\ encoding=\utf-8\?\n) (insert 
map version=\0.9.0\\n) (insert !-- To view this file, download free 
mind mapping software FreeMind from http://freemind.sourceforge.net --\n)) 
(save-excursion (goto-char ...) (while ... ...) (setq drawers-regexp ...) (if 
node-at-line ... ... ... ... ...) (setq num-left-nodes ...) (setq base-level 
current-level) (let ... ... ... ... ... ... ...) (with-current-buffer mm-buffer 
...) (with-current-buffer mm-buffer ... ... ...)))
  (progn (let* (... drawers-regexp ... ... ... num-left-nodes ... ... ... 
base-level prev-node-end rich-text unfinished-tag node-at-line-level 
node-at-line-last) (with-current-buffer mm-buffer ... ... ... ...) 
(save-excursion ... ... ... ... ... ... ... ... ...)))
  (unwind-protect (progn (let* ... ... ...)) (store-match-data match-data))
  (let ((match-data ...)) (unwind-protect (progn ...) (store-match-data 
match-data)))
  (save-match-data (let* (... drawers-regexp ... ... ... num-left-nodes ... ... 
... base-level prev-node-end rich-text unfinished-tag node-at-line-level 
node-at-line-last) (with-current-buffer mm-buffer ... ... ... ...) 
(save-excursion ... ... ... ... ... ... ... ... ...)))
  (save-current-buffer (set-buffer org-buffer) (dolist (node-style 
freemind-node-styles) (when ... ...)) (save-match-data (let* ... ... ...)))
  (with-current-buffer org-buffer (dolist (node-style freemind-node-styles) 
(when ... ...)) (save-match-data (let* ... ... ...)))
  freemind-write-mm-buffer(#buffer Testnote22.mm.org #buffer 
Testnote22.mm.org.mm nil)
  (let ((org-buffer ...) (mm-buffer ...)) (freemind-write-mm-buffer org-buffer 
mm-buffer nil) (with-current-buffer mm-buffer (basic-save-buffer) (when ... ... 
...)))
  (if 

[Orgmode] Howto install from git under XEmacs

2009-11-13 Thread Andreas Goesele
Hi,

because of a problem with latex export I wanted to switch to version 6.32trans.
I didn't have any problem to do so for Emacs. But if I change the binary from
emacs to xemacs in the Makefile, do make install-noutline, make and make
install, put the resulting files under /usr/local into the right place under
/usr/share and then start XEmacs I get:

symbol's value as variable is void: bol

The same procedure (with emacs in the Makefile and without make
install-noutline) works fine with emacs.

What am I missing?

Thanks!

Andreas Gösele
-- 
Omnis enim res, quae dando non deficit, dum habetur et non datur,
nondum habetur, quomodo habenda est.
  Augustinus, De doctrina christiana


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] Org-mode version 6.32trans; latex export does not work

2009-11-12 Thread Andreas Goesele
I want to export a org-mode file to latex. For instance one that just
consists of the two lines (the second line is empty):

* Test

I hit C-c C-e and choose l. The process starts, but then hangs. In
Emacs I see the first time I try it: Loading tabify...done and then
nothing happens, I have to quit. The second time I try it I only get:
Exporting to LaTeX..., again everything hangs. 

The problem is caused by setting case-fold-search to nil: init.el
being empty and custom.el just consisting of:

(custom-set-variables
 '(case-fold-search nil))

leads to the problem. Setting case-fold-search to t the problem
disapears.





Emacs  : GNU Emacs 22.2.1 (i486-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2008-11-09 on raven, modified by Debian
Package: Org-mode version 6.32trans

current state:
==
(setq
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-export-preprocess-hook '(org-export-blocks-preprocess)
 org-tab-first-hook '(org-hide-block-toggle-maybe)
 org-src-mode-hook '(org-src-mode-configure-edit-buffer)
 org-confirm-shell-link-function 'yes-or-no-p
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
  org-cycle-show-empty-lines
  org-optimize-window-after-visibility-change)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
   [org-add-hook change-major-mode-hook org-show-block-all
append local]
   5]
 )
 org-confirm-elisp-link-function 'yes-or-no-p
 org-occur-hook '(org-first-headline-recenter)
 )


___
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


[Orgmode] problem with latex export

2009-11-10 Thread Andreas Goesele
Hi,

I have the following problem: If I start emacs (22.2.1) or xemacs
(21.4.21) normally I cannot export to latex (or pdf, which goes
through latex). The process starts, but then hangs. In XEmacs the last
thing I see is untabify done and then a small window with a process
bar saying fontifying org-mode-tmp But there is no progress and
I have to quit. (There's a Stop button, but that doesn't work.) In
Emacs I just see the first time I try it: Loading tabify...done and
then nothing happens, again I have to quit. The second time I try it I
only get: Exporting to LaTeX..., again everything hangs.

If I start without the init files (-q) and then load my init files by
hand everthing works. (I did this, to see whether something in my init
files causes the problems. But if everthing works if I load them
later, I guess it's not a problem of my init files.)

Org-mode is version 6.21b

Debug on quit gives under Emacs:

Debugger entered--Lisp error: (quit)
  
re-search-forward(\\()\\|\\(\\(?:Huge\\|L\\(?:ARGE\\|arge\\)\\|Styles\\|a\\(?:dd\\(?:contentsline\\|ress\\|to\\(?:co\\(?:ntents\\|unter\\)\\|length\\)\\|vspace\\)\\|lph\\|ppendix\\|rabic\\|uthor\\)\\|b\\(?:egin{\\(?:\\(?:array\\|center\\|description\\|e\\(?:numerate\\|q\\(?:narray\\|uation\\)\\)\\|f\\(?:igure\\|lush\\(?:\\(?:lef\\|righ\\)t\\)\\)\\|itemize\\|list\\|minipage\\|picture\\|quot\\(?:ation\\|e\\)\\|t\\(?:ab\\(?:bing\\|le\\|ular\\)\\|he\\(?:bibliography\\|orem\\)\\|itlepage\\)\\|ver\\(?:batim\\|se\\)\\)}\\)\\|f\\|i\\(?:bitem\\|gskip\\)\\)\\|c\\(?:dots\\|entering\\|i\\(?:\\(?:rcl\\|t\\)e\\)\\|l\\(?:ear\\(?:\\(?:double\\)?page\\)\\|ine\\|osing\\)\\)\\|d\\(?:a\\(?:shbox\\|te\\)\\|dots\\|otfill\\)\\|em\\|f\\(?:box\\|lushbottom\\|nsymbol\\|ootnote\\(?:mark\\|size\\|text\\)?\\|ra\\(?:c\\|me\\(?:box\\)?\\)\\)\\|h\\(?:fill\\|line\\|rulespace\\|space\\|uge\\|yphenation\\)\\|i\\(?:n\\(?:clude\\(?:only\\)?\\|\\(?:den\\|pu\\)t\\)\\|t\\)\\|kill\\|l\\(?:a\\(?:bel\\|rge\\)\\|dots\\|i\\(?:ne\\(?:break\\|thickness\\)?\\|stof\\(?:\\(?:figur\\|tabl\\)es\\)\\)\\|ocation\\)\\|m\\(?:a\\(?:ke\\(?:box\\|title\\)\\|rk\\)\\|box\\|edskip\\|ulti\\(?:column\\|put\\)\\)\\|n\\(?:ew\\(?:co\\(?:mmand\\|unter\\)\\|environment\\|font\\|l\\(?:ength\\|ine\\)\\|page\\|savebox\\|theorem\\)\\|o\\(?:cite\\|files\\|indent\\|linebreak\\|pagebreak\\|rmalsize\\)\\)\\|o\\(?:necolumn\\|pening\\|v\\(?:al\\|er\\(?:\\(?:brac\\|lin\\)e\\)\\)\\)\\|p\\(?:a\\(?:ge\\(?:break\\|numbering\\|ref\\|style\\)\\|r\\(?:box\\)?\\)\\|ut\\)\\|r\\(?:a\\(?:gged\\(?:bottom\\|\\(?:lef\\|righ\\)t\\)\\|isebox\\)\\|ef\\|m\\|oman\\|ule\\)\\|s\\(?:avebox\\|criptsize\\|et\\(?:counter\\|\\(?:leng\\|towid\\)th\\)\\|hortstack\\|ignature\\|mall\\(?:skip\\)?\\|qrt\\|[cfl]\\)\\|t\\(?:ableofcontents\\|elephone\\|h\\(?:anks\\|ispagestyle\\)\\|i\\(?:ny\\|tle\\)\\|t\\|wocolumn\\|ype\\(?:in\\|out\\)\\)\\|u\\(?:nder\\(?:\\(?:brac\\|lin\\)e\\)\\|se\\(?:box\\|counter\\)\\)\\|v\\(?:alue\\|dots\\|e\\(?:ctor\\|rb\\)\\|fill\\|\\(?:lin\\|spac\\)e\\)\\|[!'+,:-\\`-]\\)\\)
 nil t)
  org-export-latex-preprocess()
  org-export-preprocess-string(#(* Test\n 0 2 (fontified nil) 2 6 (fontified 
nil) 6 7 (fontified nil)) :emph-multiline t :for-LaTeX t :comments nil :tags 
not-in-toc :priority nil :footnotes t :timestamps t :todo-keywords t :add-text 
nil :skip-before-1st-heading nil :select-tags (export) :exclude-tags 
(noexport) :LaTeX-fragments nil)
  org-export-as-latex(nil)
  call-interactively(org-export-as-latex)
  org-export(nil)
  call-interactively(org-export)

Under XEmacs:

Debugger entered--Lisp error: (quit)