Re: [O] C-c C-e h h (export to html)

2014-05-22 Thread Dave Pawson
So after sorting out my .emacs file (embarrassingly large) the problem
has resolved itself.

I'm guessing it was in the elisp somewhere.
Anyway, problem resolved. I can now repeatedly convert to html without
issue. sorry to waste bandwidth.



-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Re: [O] C-c C-e h h (export to html)

2014-05-21 Thread Dave Pawson
On 20 May 2014 20:47, Bastien b...@gnu.org wrote:

 Yes, you need `C-c C-e h h' with Org 8.0.

Odd. With my full .emacs file.
C-c C-e h (and nothing happens at all)
h again and (if it's working) I get the message 'Wrote /dir/file.html'

With no .emacs the first h produces message
HTML export done, pushed to kill ring and clipboard
h again and the h is 'entered' into the current buffer?

regards






-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Re: [O] C-c C-e h h (export to html)

2014-05-21 Thread Bastien
Hi Dave,

Dave Pawson dave.paw...@gmail.com writes:

 On 20 May 2014 20:47, Bastien b...@gnu.org wrote:

 Yes, you need `C-c C-e h h' with Org 8.0.

 Odd. With my full .emacs file.
 C-c C-e h (and nothing happens at all)

Because the keystroke is incomplete.

It needs to be one of these:

C-c C-e h h
C-c C-e h H
C-c C-e h o

 h again and (if it's working) I get the message 'Wrote
 /dir/file.html'

Yes.

 With no .emacs the first h produces message
 HTML export done, pushed to kill ring and clipboard
 h again and the h is 'entered' into the current buffer?

Because with no .emacs you are relying on the builtin Emacs version of
Org, which is certainly 7.8.11.  Try M-x org-version RET in both cases
and you will see the difference.

HTH,

-- 
 Bastien



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Bastien
Hi Dave,

Dave Pawson dave.paw...@gmail.com writes:

 Emacs 24.3.1 (Org mode 8.2.6)

Please report the full Org version with M-x org-version RET

 Scenario: Launch emacs. Open file in org-mode.
 Convert to html once - no problem.

 Repeat the conversion. Messages buffer shows

I can't reproduce this.  Can you provide a minimal recipe with the
file to convert and the steps?

Thanks,

-- 
 Bastien



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Bastien
Dave Pawson dave.paw...@gmail.com writes:

   I'll try a smaller one.

Yes, please.

  'recipe'?
 Sequence was
 open emacs.
 open the xxx.org file
 convert to html once, OK
 convert to html a second time, fails with the above message?
 Is that what you mean?

Yes -- I assume you used `C-c C-e h h' the first and second time
and you didn't visit the buffer containing the exported result.
At least that's how I tried to reproduce the bug.  But please try
to narrow down by exporting a smaller file, this surely comes
from here.

Thanks,

-- 
 Bastien



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Dave Pawson
On 20 May 2014 16:43, Bastien b...@altern.org wrote:
 Dave Pawson dave.paw...@gmail.com writes:

   I'll try a smaller one.

Fails with
#+STARTUP:showall
#+TITLE: No limit Hold 'Em Poker


* Introduction

Texas Hold'em is a community card poker game, with game play focused
as much on the betting as on the cards being played.




 Sequence was
 open emacs.
 open the xxx.org file
 convert to html once, OK
 convert to html a second time, fails with the above message?
 Is that what you mean?

 Yes -- I assume you used `C-c C-e h h' the first and second time
 and you didn't visit the buffer containing the exported result.

Yes, that's right.

 At least that's how I tried to reproduce the bug.  But please try
 to narrow down by exporting a smaller file, this surely comes
 from here.


My concern is that I have installed many packages over 18 years
of emacs use? Some interaction perhaps?

regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Bastien
Dave Pawson dave.paw...@gmail.com writes:

 Fails with
 #+STARTUP:showall
 #+TITLE: No limit Hold 'Em Poker


 * Introduction

 Texas Hold'em is a community card poker game, with game play focused
 as much on the betting as on the cards being played.

I can't reproduce this.

 My concern is that I have installed many packages over 18 years
 of emacs use? Some interaction perhaps?

Yes, probably.  Try with a bare emacs -q and add suspicious config
bit progressively to find the culprit.  Boring, but it works.

-- 
 Bastien



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Dave Pawson
On 20 May 2014 16:13, Bastien b...@gnu.org wrote:
 Hi Dave,

 Dave Pawson dave.paw...@gmail.com writes:

 Emacs 24.3.1 (Org mode 8.2.6)

 Please report the full Org version with M-x org-version RET

Org-mode version 8.2.6 (8.2.6-18-gaaae4a-elpa


 Scenario: Launch emacs. Open file in org-mode.
 Convert to html once - no problem.

 Repeat the conversion. Messages buffer shows

 I can't reproduce this.  Can you provide a minimal recipe with the
 file to convert and the steps?


Currently rather a large file
  I'll try a smaller one.

 'recipe'?
Sequence was
open emacs.
open the xxx.org file
convert to html once, OK
convert to html a second time, fails with the above message?
Is that what you mean?

regards





-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Dave Pawson
On 20 May 2014 17:03, Bastien b...@gnu.org wrote:
 Dave Pawson dave.paw...@gmail.com writes:

 Fails with
 #+STARTUP:showall
 #+TITLE: No limit Hold 'Em Poker


 * Introduction

 Texas Hold'em is a community card poker game, with game play focused
 as much on the betting as on the cards being played.

 I can't reproduce this.

 Yes, probably.  Try with a bare emacs -q and add suspicious config
 bit progressively to find the culprit.  Boring, but it works.

emacs -q file.org
C-c C-e hreports HTML export done, pushed to kill ring and clipboard.
Repeatable, no error. I thought I needed h  h  to get the html export?

I'll re-introduce .emacs slowly now.

regards




-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Bastien
Hi Dave,

Dave Pawson dave.paw...@gmail.com writes:

 C-c C-e hreports HTML export done, pushed to kill ring and clipboard.
 Repeatable, no error. I thought I needed h  h  to get the html export?

Yes, you need `C-c C-e h h' with Org 8.0.

Or `C-c C-e h h' to export in a buffer and display the buffer.

 I'll re-introduce .emacs slowly now.

Okay, please keep us posted if you see posted if you find something
weird.

-- 
 Bastien



Re: [O] C-c C-e h h (export to html)

2014-05-20 Thread Nick Dokos
Bastien b...@gnu.org writes:

 Hi Dave,

 Dave Pawson dave.paw...@gmail.com writes:

 C-c C-e hreports HTML export done, pushed to kill ring and clipboard.
 Repeatable, no error. I thought I needed h  h  to get the html export?

 Yes, you need `C-c C-e h h' with Org 8.0.

 Or `C-c C-e h h' to export in a buffer and display the buffer.


That last one should be `C-c C-e h H'

-- 
Nick




[O] C-c C-e h h (export to html)

2014-05-18 Thread Dave Pawson
Emacs 24.3.1 (Org mode 8.2.6)

Scenario: Launch emacs. Open file in org-mode.
Convert to html once - no problem.

Repeat the conversion. Messages buffer shows

Saving file /files/poker/nlhe.html...
Wrote /files/poker/nlhe.html
(lambda (foo) ...) quoted with ' rather than with #'
Loading `psgml': old-style backquotes detected!
Eager macro-expansion failure: (invalid-function (\` (cons (cons ((\,
token)) ((\, node))) ((\, set) [2 times]
Eager macro-expansion failure: (invalid-function (\` (null
(sgml-state-reqs ((\, s))
Compiler-macro error for cl--block-wrapper: (invalid-function (\`
(null (sgml-state-reqs ((\, s))
Eager macro-expansion failure: (invalid-function (\` (null
(sgml-state-reqs ((\, s)) [2 times]
Compiler-macro error for cl--block-wrapper: (invalid-function (\`
(null (sgml-state-reqs ((\, s))
Eager macro-expansion failure: (invalid-function (\` (null
(sgml-state-reqs ((\, s))
Eager macro-expansion failure: (invalid-function (\` (defmacro ((\,
(intern (format sgml-eltype-%s n (et) (list (quote get) et
(quote (quote ((\, n
Loading `psgml-parse': old-style backquotes detected!
cons: Invalid function: (\` (defmacro ((\, (intern (format
sgml-eltype-%s n (et) (list (quote get) et (quote (quote ((\,
n)))
byte-code: Beginning of buffer [3 times]
byte-code: Beginning of buffer

I have been using sgml-mode for a number of years
which uses psgml-parse.  Not sure if that is
related or not?

Any suggestions please?

TiA

-- 
Dave Pawson
XSLT XSL-FO FAQ.
Docbook FAQ.
http://www.dpawson.co.uk