emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* C-c C-e h h (export to html)
@ 2014-05-18  9:31 Dave Pawson
  2014-05-20 15:13 ` Bastien
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Pawson @ 2014-05-18  9:31 UTC (permalink / raw)
  To: org-mode list

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

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

* Re: C-c C-e h h (export to html)
  2014-05-18  9:31 C-c C-e h h (export to html) Dave Pawson
@ 2014-05-20 15:13 ` Bastien
  2014-05-20 15:21   ` Dave Pawson
  0 siblings, 1 reply; 12+ messages in thread
From: Bastien @ 2014-05-20 15:13 UTC (permalink / raw)
  To: Dave Pawson; +Cc: org-mode list

Hi Dave,

Dave Pawson <dave.pawson@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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 15:13 ` Bastien
@ 2014-05-20 15:21   ` Dave Pawson
  2014-05-20 15:43     ` Bastien
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Pawson @ 2014-05-20 15:21 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode list

On 20 May 2014 16:13, Bastien <bzg@gnu.org> wrote:
> Hi Dave,
>
> Dave Pawson <dave.pawson@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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 15:21   ` Dave Pawson
@ 2014-05-20 15:43     ` Bastien
  2014-05-20 15:45       ` Dave Pawson
  0 siblings, 1 reply; 12+ messages in thread
From: Bastien @ 2014-05-20 15:43 UTC (permalink / raw)
  To: Dave Pawson; +Cc: org-mode list

Dave Pawson <dave.pawson@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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 15:43     ` Bastien
@ 2014-05-20 15:45       ` Dave Pawson
  2014-05-20 16:03         ` Bastien
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Pawson @ 2014-05-20 15:45 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode list

On 20 May 2014 16:43, Bastien <bzg@altern.org> wrote:
> Dave Pawson <dave.pawson@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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 15:45       ` Dave Pawson
@ 2014-05-20 16:03         ` Bastien
  2014-05-20 17:34           ` Dave Pawson
  0 siblings, 1 reply; 12+ messages in thread
From: Bastien @ 2014-05-20 16:03 UTC (permalink / raw)
  To: Dave Pawson; +Cc: org-mode list

Dave Pawson <dave.pawson@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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 16:03         ` Bastien
@ 2014-05-20 17:34           ` Dave Pawson
  2014-05-20 19:47             ` Bastien
  0 siblings, 1 reply; 12+ messages in thread
From: Dave Pawson @ 2014-05-20 17:34 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode list

On 20 May 2014 17:03, Bastien <bzg@gnu.org> wrote:
> Dave Pawson <dave.pawson@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 h    reports 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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 17:34           ` Dave Pawson
@ 2014-05-20 19:47             ` Bastien
  2014-05-21  1:44               ` Nick Dokos
  2014-05-21  9:12               ` Dave Pawson
  0 siblings, 2 replies; 12+ messages in thread
From: Bastien @ 2014-05-20 19:47 UTC (permalink / raw)
  To: Dave Pawson; +Cc: org-mode list

Hi Dave,

Dave Pawson <dave.pawson@gmail.com> writes:

> C-c C-e h    reports 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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 19:47             ` Bastien
@ 2014-05-21  1:44               ` Nick Dokos
  2014-05-21  9:12               ` Dave Pawson
  1 sibling, 0 replies; 12+ messages in thread
From: Nick Dokos @ 2014-05-21  1:44 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg@gnu.org> writes:

> Hi Dave,
>
> Dave Pawson <dave.pawson@gmail.com> writes:
>
>> C-c C-e h    reports 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

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

* Re: C-c C-e h h (export to html)
  2014-05-20 19:47             ` Bastien
  2014-05-21  1:44               ` Nick Dokos
@ 2014-05-21  9:12               ` Dave Pawson
  2014-05-21 11:46                 ` Bastien
  1 sibling, 1 reply; 12+ messages in thread
From: Dave Pawson @ 2014-05-21  9:12 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode list

On 20 May 2014 20:47, Bastien <bzg@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

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

* Re: C-c C-e h h (export to html)
  2014-05-21  9:12               ` Dave Pawson
@ 2014-05-21 11:46                 ` Bastien
  2014-05-22  9:00                   ` Dave Pawson
  0 siblings, 1 reply; 12+ messages in thread
From: Bastien @ 2014-05-21 11:46 UTC (permalink / raw)
  To: Dave Pawson; +Cc: org-mode list

Hi Dave,

Dave Pawson <dave.pawson@gmail.com> writes:

> On 20 May 2014 20:47, Bastien <bzg@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

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

* Re: C-c C-e h h (export to html)
  2014-05-21 11:46                 ` Bastien
@ 2014-05-22  9:00                   ` Dave Pawson
  0 siblings, 0 replies; 12+ messages in thread
From: Dave Pawson @ 2014-05-22  9:00 UTC (permalink / raw)
  To: Bastien; +Cc: org-mode list

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

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

end of thread, other threads:[~2014-05-22  9:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-18  9:31 C-c C-e h h (export to html) Dave Pawson
2014-05-20 15:13 ` Bastien
2014-05-20 15:21   ` Dave Pawson
2014-05-20 15:43     ` Bastien
2014-05-20 15:45       ` Dave Pawson
2014-05-20 16:03         ` Bastien
2014-05-20 17:34           ` Dave Pawson
2014-05-20 19:47             ` Bastien
2014-05-21  1:44               ` Nick Dokos
2014-05-21  9:12               ` Dave Pawson
2014-05-21 11:46                 ` Bastien
2014-05-22  9:00                   ` Dave Pawson

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