From mboxrd@z Thu Jan 1 00:00:00 1970 From: Giovanni Ridolfi Subject: Re: Re: error when exporting org to html Date: Fri, 6 Feb 2009 10:39:37 +0000 (GMT) Message-ID: <295368.57544.qm@web28308.mail.ukl.yahoo.com> Reply-To: giovanni.ridolfi@yahoo.it Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LVO7Z-0002vb-A6 for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 05:39:41 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LVO7Y-0002ug-Bg for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 05:39:40 -0500 Received: from [199.232.76.173] (port=33575 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LVO7Y-0002uZ-5D for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 05:39:40 -0500 Received: from n28.bullet.mail.ukl.yahoo.com ([87.248.110.145]:33673) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1LVO7X-00047r-JM for emacs-orgmode@gnu.org; Fri, 06 Feb 2009 05:39:39 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Bernt Hansen , "srandby@gmail.com" , emacs-orgmode@gnu.org --- Gio 5/2/09, Bernt Hansen ha scritto: > Ah - you don't have transient mark mode set. [...] Uh! thanks Bernt you're right. :-( --- Ven 6/2/09, Carsten Dominik ha scritto: > > On Feb 5, 2009, at 3:08 PM, Giovanni Ridolfi wrote: > have you seen Bernt's message about > transient-mark-mode? Hi, Carsten, hy everyone, I profoundly apologise for my mistake (both for=20 not having enabled t-m-m, as written=20 in the manual :-(=20 and because I've been sarcastic in my=20 previous messages. > > Tomorrow I will try to investigate further to provide > > him > > a pedantic (with transient-mark-mode ;-) & > > comprehensive bug report. So here it is. Org-mode version 6.21b GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) of 2008-09-06 on SOFT-MJASON Win XP transient-mark-mode t file: ------------------------------------------- -*- mode: org; -*- #+OPTIONS: H:3 skip:t toc:t #+TITLE: Carsten is an astronomer! I'm before!! \o/ * First heading http://somewhere/a.org [[ ][http://somewhere/a.org]] * [2009-02-03 mar] BUGs: Procedure for test=20 I'm 1st line 1st heading ** 2nd level Skip lines, please! *** 3rd **** 4rth I'm the fourth ***** 5th ****** 6th line before 7 ******* 7th lines after 7=20 :PROPERTIES: :EXPORT_FILE_NAME: another.htm :EXPORT_TITLE: procedure 4 test=20 :EXPORT_OPTIONS: toc:t skip:t :END: Hello, Bye! ******** 8th very complicated!!!!! I'm in a deep meadow! -o_, ********* 9th birthdate ********** 10th Pel=E9's number! ----------------- 1. OK Export region from the first heading C-c @ on the [2009...] heading C-c C-e h + exports the region OK 2. Wishlist Export region from *before* the 2nd heading "I'm 1st line 1st heading" Select region with C-SPC, M-w or with C-c @ C-c C-e h + exports region title: as in #+TITLE first line:"I'm 1st line 1st heading" + levels: 2nd level is

, why not

? 3rd level is

=20 2.1. Export region from the 2nd heading C-c @ on the 2nd level heading C-c C-e h + exports the region OK + The 2nd heading becames the title + However=20 - 3rd becomes a

why not a

? - from 4th to end are
    William Henney pointed out this behaviour [2]. "I would rather heading 3rd were

    and that all heading levels be relative to the root of the sub-tree." [2]=20 http://lists.gnu.org/archive/html/emacs-orgmode/2009-01/msg00729.html I suspect the exporter rests upon the level of the heading (**** is forth even if you exports it as the root) and does not consider it as the root of the level. The exporter should check the level of the heading=20 and, in case, it should increase such value and the values of the=20 subheadings M- <- until the first heading becomes 1. (I don't know if such implementation is possible) 3. BUG The lines before the first heading are exported =20 Even if in the #+OPTIONS: the 'skip lines' is true, the lines before the first heading are exported, if the file is exported with command C-c C-e h =20 Reported also from Scott Randby [1] [1] http://lists.gnu.org/archive/html/emacs-orgmode/2009-02/msg00164.html He said that Org-6.09 worked fine. 4. OK The exporter exports a subheading with properties in compliance with values defined in properties. C-c @ C-c C-e h Hope this is complete enough. cheers Giovanni =0A=0A=0A Passa a Yahoo! Mail.=0A=0ALa webmail che ti offre GRATIS spa= zio illimitato, =0Aantispam e messenger integrato.=0Ahttp://it.mail.yahoo.c= om/=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0