Re: [Orgmode] Error exporting to temp buffer

2009-03-20 Thread Giovanni Ridolfi

--- Gio 19/3/09, Carsten Dominik domi...@science.uva.nl ha scritto:
 On Mar 19, 2009, at 7:03 AM, Leo wrote:
 
  Hi there,
  23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on
  BREPNB with 
  orgmode 6.21b.


Leo, would you, please, try to upgrade to 6.24b [1]
and report if this bug still happens? ;-)

 
 I cannot reproduce this.
 
 - Carsten

6.24b or 6.21b ? ;-)

Cheers,
Giovanni.

[1] http://orgmode.org/org-6.24b.tar.gz






___
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


Re: [Orgmode] Error exporting to temp buffer

2009-03-20 Thread Carsten Dominik

Again and again:  Thank for the analysis, I have pushed a fix.

- Carsten

On Mar 19, 2009, at 11:36 PM, Nick Dokos wrote:


Sebastian Rose sebastian_r...@gmx.de wrote:


David Maus maus.da...@gmail.com writes:
Cannot reprocude this either. C-x b org-bug RET, paste sample, C- 
c C-e

H gives an *Org HTML Export* buffer with the exported sample.


Same here.


Same here, but I was wondering: the function that Leo fingers looks  
like this


,
| (defun org-export-html-preprocess (parameters)
|   ;; Convert LaTeX fragments to images
|   (when (plist-get parameters :LaTeX-fragments)
| (org-format-latex
|  (concat ltxpng/ (file-name-sans-extension
|   (file-name-nondirectory
|org-current-export-file)))
|  org-current-export-dir nil Creating LaTeX image %s))
|   (message Exporting...))
`

and when I step through it, the when expression evaluates to nil, so  
the
whole thing is skipped. So it may be some setting in Leo's setup or  
maybe
something is missing from the fragment, that would make that  
expression

non-nil. So my question is:

What do I have to do to make

(plist-get parameters :LaTeX-fragments)

non-nil?

Nick


___
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




___
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] Error exporting to temp buffer

2009-03-19 Thread Leo
Hi there,

Put the following sample in a buffer *not* visiting any file and try
`C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
6.21b.

Sample:


*good* is /already/ very _important_. But http://www.google.com is not the
right place.



,[ Backtrace ]
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-nondirectory(nil)
|   org-export-html-preprocess((:emph-multiline t :for-html t 
:skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc 
:priority nil :footnotes t :timestamps t :archived-trees headline :select-tags 
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t))
|   org-export-preprocess-string(#(*good* is /already/ very _important_. But 
http://www.google.com is not the\nright place. 0 1 (fontified nil 
:org-license-to-kill t face (bold) font-lock-multiline t invisible org-link) 1 
5 (fontified nil :org-license-to-kill t face (bold) font-lock-multiline t) 5 6 
(fontified nil :org-license-to-kill t face (bold) font-lock-multiline t 
invisible org-link mouse-face highlight keymap (keymap ... ... ... ... ...)) 6 
7 (fontified nil :org-license-to-kill t mouse-face highlight keymap (keymap ... 
... ... ... ...)) 7 10 (fontified nil :org-license-to-kill t) 10 11 (fontified 
nil :org-license-to-kill t face (italic) font-lock-multiline t invisible 
org-link) 11 18 (fontified nil :org-license-to-kill t face (italic) 
font-lock-multiline t) 18 19 (fontified nil :org-license-to-kill t face 
(italic) font-lock-multiline t invisible org-link) 19 25 (fontified nil 
:org-license-to-kill t) 25 26 (fontified nil :org-license-to-kill t face 
(underline) font-lock-multiline t invisible org-link) 26 35 (fontified nil 
:org-license-to-kill t face (underline) font-lock-multiline t) 35 36 (fontified 
nil :org-license-to-kill t face (underline) font-lock-multiline t invisible 
org-link) 36 42 (fontified nil :org-license-to-kill t) 42 47 (fontified nil 
rear-nonsticky (mouse-face highlight keymap invisible intangible help-echo 
org-linked-text) :org-license-to-kill t mouse-face highlight keymap (keymap ... 
... ... ... ...) face org-link) 47 48 (fontified nil rear-nonsticky (mouse-face 
highlight keymap invisible intangible help-echo org-linked-text) 
:org-license-to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...) 
face org-link) 48 49 (fontified nil rear-nonsticky (mouse-face highlight keymap 
invisible intangible help-echo org-linked-text) :org-license-to-kill t 
mouse-face highlight keymap (keymap ... ... ... ... ...) face org-link) 49 63 
(fontified nil rear-nonsticky (mouse-face highlight keymap invisible intangible 
help-echo org-linked-text) :org-license-to-kill t mouse-face highlight keymap 
(keymap ... ... ... ... ...) face org-link) 63 75 (fontified nil 
:org-license-to-kill t) 75 87 (fontified nil)) :emph-multiline t :for-html t 
:skip-before-1st-heading nil :drawers nil :todo-keywords t :tags not-in-toc 
:priority nil :footnotes t :timestamps t :archived-trees headline :select-tags 
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments t)
|   org-export-as-html(nil nil nil *Org HTML Export*)
|   org-export-as-html-to-buffer(nil)
|   call-interactively(org-export-as-html-to-buffer)
|   org-export(nil)
|   call-interactively(org-export nil nil)
`

Best,
-- 
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread Carsten Dominik

Hi Leo,

I cannot reproduce this.

- Carsten

On Mar 19, 2009, at 7:03 AM, Leo wrote:


Hi there,

Put the following sample in a buffer *not* visiting any file and try
`C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
6.21b.

Sample:


*good* is /already/ very _important_. But http://www.google.com is  
not the

right place.



,[ Backtrace ]
| Debugger entered--Lisp error: (wrong-type-argument stringp nil)
|   file-name-nondirectory(nil)
|   org-export-html-preprocess((:emph-multiline t :for-html t :skip- 
before-1st-heading nil :drawers nil :todo-keywords t :tags not-in- 
toc :priority nil :footnotes t :timestamps t :archived-trees  
headline :select-tags (export) :exclude-tags (noexport) :add- 
text nil :LaTeX-fragments t))
|   org-export-preprocess-string(#(*good* is /already/ very  
_important_. But http://www.google.com is not the\nright place. 0 1  
(fontified nil :org-license-to-kill t face (bold) font-lock- 
multiline t invisible org-link) 1 5 (fontified nil :org-license-to- 
kill t face (bold) font-lock-multiline t) 5 6 (fontified nil :org- 
license-to-kill t face (bold) font-lock-multiline t invisible org- 
link mouse-face highlight keymap (keymap ... ... ... ... ...)) 6 7  
(fontified nil :org-license-to-kill t mouse-face highlight keymap  
(keymap ... ... ... ... ...)) 7 10 (fontified nil :org-license-to- 
kill t) 10 11 (fontified nil :org-license-to-kill t face (italic)  
font-lock-multiline t invisible org-link) 11 18 (fontified nil :org- 
license-to-kill t face (italic) font-lock-multiline t) 18 19  
(fontified nil :org-license-to-kill t face (italic) font-lock- 
multiline t invisible org-link) 19 25 (fontified nil :org-license-to- 
kill t) 25 26 (fontified nil :org-license-to-kill t face (underline)  
font-lock-multiline t invisible org-link) 26 35 (fontified nil :org- 
license-to-kill t face (underline) font-lock-multiline t) 35 36  
(fontified nil :org-license-to-kill t face (underline) font-lock- 
multiline t invisible org-link) 36 42 (fontified nil :org-license-to- 
kill t) 42 47 (fontified nil rear-nonsticky (mouse-face highlight  
keymap invisible intangible help-echo org-linked-text) :org-license- 
to-kill t mouse-face highlight keymap (keymap ... ... ... ... ...)  
face org-link) 47 48 (fontified nil rear-nonsticky (mouse-face  
highlight keymap invisible intangible help-echo org-linked- 
text) :org-license-to-kill t mouse-face highlight keymap  
(keymap ... ... ... ... ...) face org-link) 48 49 (fontified nil  
rear-nonsticky (mouse-face highlight keymap invisible intangible  
help-echo org-linked-text) :org-license-to-kill t mouse-face  
highlight keymap (keymap ... ... ... ... ...) face org-link) 49 63  
(fontified nil rear-nonsticky (mouse-face highlight keymap invisible  
intangible help-echo org-linked-text) :org-license-to-kill t mouse- 
face highlight keymap (keymap ... ... ... ... ...) face org-link) 63  
75 (fontified nil :org-license-to-kill t) 75 87 (fontified  
nil)) :emph-multiline t :for-html t :skip-before-1st-heading  
nil :drawers nil :todo-keywords t :tags not-in-toc :priority  
nil :footnotes t :timestamps t :archived-trees headline :select-tags  
(export) :exclude-tags (noexport) :add-text nil :LaTeX-fragments  
t)

|   org-export-as-html(nil nil nil *Org HTML Export*)
|   org-export-as-html-to-buffer(nil)
|   call-interactively(org-export-as-html-to-buffer)
|   org-export(nil)
|   call-interactively(org-export nil nil)
`

Best,
--
.: Leo :. [ sdl.web AT gmail.com ] .: I use Emacs :.



___
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




___
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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread David Maus

Good evening,

 Hi there,
 
 Put the following sample in a buffer *not* visiting any file and try
 `C-c C-e H' to get the back trace. It is reproducible in GNU Emacs
 23.0.91.1 (i386-mingw-nt5.1.2600) of 2009-02-28 on BREPNB with orgmode
 6.21b.
 
 Sample:
 
 
 *good* is /already/ very _important_. But http://www.google.com is not the
 right place.
 
 


Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
H gives an *Org HTML Export* buffer with the exported sample.

org-version: 6.24trans
emacs-version: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu) of 2009-03-08 on
elegiac, modified by Debian

Regards,

 -- David

-- 
Email. maus.da...@gmail.com
Jabber dmj...@jabber.org
ICQ... 241051416
OpenPGP... 0x316F4BE4670716FD


signature.asc
Description: Digital signature
___
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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread Sebastian Rose
David Maus maus.da...@gmail.com writes:
 Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
 H gives an *Org HTML Export* buffer with the exported sample.

Same here.


Regards,

  Sebastian


___
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


Re: [Orgmode] Error exporting to temp buffer

2009-03-19 Thread Nick Dokos
Sebastian Rose sebastian_r...@gmx.de wrote:

 David Maus maus.da...@gmail.com writes:
  Cannot reprocude this either. C-x b org-bug RET, paste sample, C-c C-e
  H gives an *Org HTML Export* buffer with the exported sample.
 
 Same here.
 
 
Same here, but I was wondering: the function that Leo fingers looks like this

,
| (defun org-export-html-preprocess (parameters)
|   ;; Convert LaTeX fragments to images
|   (when (plist-get parameters :LaTeX-fragments)
| (org-format-latex
|  (concat ltxpng/ (file-name-sans-extension
|   (file-name-nondirectory
|org-current-export-file)))
|  org-current-export-dir nil Creating LaTeX image %s))
|   (message Exporting...))
`

and when I step through it, the when expression evaluates to nil, so the
whole thing is skipped. So it may be some setting in Leo's setup or maybe
something is missing from the fragment, that would make that expression
non-nil. So my question is:

What do I have to do to make

 (plist-get parameters :LaTeX-fragments)

non-nil?

Nick


___
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