[O] Bug report (the hard way!)

2014-05-06 Thread Dave Pawson
From: DaveP dpawson@localhost.localdomain
To: emacs-orgmode@gnu.org
Subject: Bug: org.html possible error? [7.9.3f
(release_7.9.3f-17-g7524ef @ /usr/share/emacs/24.3/lisp/org/)]
Date: Mon, 05 May 2014 12:10:41 +0100
Message-ID: 
87vbtkbhvy.fsf@localhost.localdomain.i-did-not-set--mail-host-address--so-tickle-me
--text follows this line--

Remember to cover the basics, that is, what you expected to happen and
what in fact did happen.  You don't know how to make a good report?  See

 http://orgmode.org/manual/Feedback.html#Feedback

Your bug report will be posted to the Org-mode mailing list.

  org.html - org-mode documentation

Section 4.2 Internal links
  intimates (not clearly IMHO) that the target for a link in same file
  is marked as target  yet a bad link offers to create one as
  * #target
  It is either wrong or unclear?
  regards DaveP dave.paw...@gmail.com

Emacs  : GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.8)
 of 2014-04-18 on buildvm-19.phx2.fedoraproject.org
Package: Org-mode version 7.9.3f (release_7.9.3f-17-g7524ef @
/usr/share/emacs/24.3/lisp/org/)

current state:
==
(setq
 org-export-preprocess-before-selecting-backend-code-hook
'(org-beamer-select-beamer-code)
 org-tab-first-hook '(org-hide-block-toggle-maybe
org-src-native-tab-command-maybe
org-babel-hide-result-toggle-maybe
org-babel-header-arg-expand)
 org-speed-command-hook '(org-speed-command-default-hook
org-babel-speed-command-hook)
 org-occur-hook '(org-first-headline-recenter)
 org-metaup-hook '(org-babel-load-in-session-maybe)
 org-export-preprocess-before-normalizing-links-hook
'(org-remove-file-link-modifiers)
 org-confirm-shell-link-function 'yes-or-no-p
 org-export-latex-final-hook '(org-beamer-amend-header org-beamer-fix-toc
org-beamer-auto-fragile-frames
org-beamer-place-default-actions-for-lists)
 org-export-latex-after-initial-vars-hook '(org-beamer-after-initial-vars)
 org-after-todo-state-change-hook '(org-clock-out-if-current)
 org-src-mode-hook '(org-src-babel-configure-edit-buffer
org-src-mode-configure-edit-buffer)
 org-agenda-before-write-hook '(org-agenda-add-entry-text)
 org-babel-pre-tangle-hook '(save-buffer)
 org-mode-hook '(#[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook org-show-block-all
append local]
5]
#[nil \300\301\302\303\304$\207
[org-add-hook change-major-mode-hook
org-babel-show-result-all append local]
5]
org-babel-result-hide-spec org-babel-hide-all-hashes
(lambda nil (define-key org-mode-map [f5] (quote lit-start))
(define-key org-mode-map [f6] (quote lit-end)))
)
 org-ctrl-c-ctrl-c-hook '(org-babel-hash-at-point
org-babel-execute-safely-maybe)
 org-cycle-hook '(org-cycle-hide-archived-subtrees org-cycle-hide-drawers
org-cycle-show-empty-lines
org-optimize-window-after-visibility-change)
 org-export-latex-format-toc-function 'org-export-latex-format-toc-default
 org-export-blocks '((src org-babel-exp-src-block nil)
(export-comment org-export-blocks-format-comment t)
(ditaa org-export-blocks-format-ditaa nil)
(dot org-export-blocks-format-dot nil))
 org-export-first-hook '(org-beamer-initialize-open-trackers)
 org-export-interblocks '((src org-babel-exp-non-block-elements))
 org-confirm-elisp-link-function 'yes-or-no-p
 org-metadown-hook '(org-babel-pop-to-session-maybe)
 org-clock-out-hook '(org-clock-remove-empty-clock-drawer)
 )


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



[O] org-mode variables

2014-05-08 Thread Dave Pawson
Searching http://orgmode.org/org.html
I failed to find how to modify org-mode variables,
where they are stored, etc.

They are listed, but no mention of setting them?

Are they standard emacs vars, if so , perhaps
this could be made clear in the manual please?

regards

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



[O] html5?

2014-05-08 Thread Dave Pawson
org.html says



Fancy HTML5 export

HTML5 introduces several new element types. By default, Org will not
make use of these element types, but you can set org-html-html5-fancy
to t (or set html5-fancy item in an OPTIONS line), to enable a few new
block-level elements. These are created using arbitrary #+BEGIN and
#+END blocks. For instance:

C-h v org-html-html5  has no auto-complete, hence guessing this
variable does not exist?

emacs vsn is :

GNU Emacs 24.3.1 (x86_64-redhat-linux-gnu, GTK+ Version 3.10.8)


regards

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



Re: [O] Bug report (the hard way!)

2014-05-15 Thread Dave Pawson
On 15 May 2014 11:15, Bastien b...@gnu.org wrote:
 Hi Dave,

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

 Section 4.2 Internal links
   intimates (not clearly IMHO) that the target for a link in same file
   is marked as target  yet a bad link offers to create one as
   * #target
   It is either wrong or unclear?
   regards DaveP dave.paw...@gmail.com

 The manual says this in Org 8.2.6:

  - one item
  - targetanother item
  Here we refer to item [[target]].

 and hitting C-c C-o when point is on [[target]] works fine here.
 As far as I remember, this is also the case in Org 7.9.3f.

I've recently upgraded to 8, I'll try again. The report
was with 7.9,

It was quite confusing though.

regards




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



[O] html export doctype?

2014-05-17 Thread Dave Pawson
http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes

intimates that setting variable org-html-doctype
is usable here.

Version 8.2.6  does not show this variable?

how to select output format for html please?

tiA

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



Re: [O] html export doctype?

2014-05-17 Thread Dave Pawson
On 17 May 2014 13:24, Alexander Baier alexander.ba...@mailbox.org wrote:
 On 2014-05-17 14:12 Dave Pawson wrote:
 http://orgmode.org/manual/HTML-doctypes.html#HTML-doctypes

 intimates that setting variable org-html-doctype
 is usable here.

 Version 8.2.6  does not show this variable?

 I am running 8.2.6 here and for me org-html-doctype is defined. Maybe
 you need to (require 'ox-html) ?


Thanks, That worked.
 I'll add that to .emacs.


regards

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



[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



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



[Orgmode] restart numbering

2010-06-19 Thread Dave Pawson
http://orgmode.org/manual/Plain-lists.html#Plain-lists
Tells me that

 1. [...@start:20]The author adds the metadata
 1.  A markup geek adds it, given guidance (from whom?)

Should start the enumerated list at 20?

What I'm seeing is

ol
li[...@start:20]The author adds the metadata
/li
li
 A markup geek adds it, given guidance (from whom?)
/li
/ol


Terminates with
HTML generated by org-mode 6.33x in emacs 23

is this feature available in 6.33 please?


TIA



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

___
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