From unknown Thu Aug 14 18:39:26 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#24836 <24836@debbugs.gnu.org> To: bug#24836 <24836@debbugs.gnu.org> Subject: Status: 26.0.50; ORG mode: exporting discontinuos headings generates a invalid ODT document Reply-To: bug#24836 <24836@debbugs.gnu.org> Date: Fri, 15 Aug 2025 01:39:26 +0000 retitle 24836 26.0.50; ORG mode: exporting discontinuos headings generates = a invalid ODT document reassign 24836 org-mode submitter 24836 domenechjosel@gmail.com (Jos=C3=A9 L. Dom=C3=A9nech) severity 24836 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Oct 31 06:55:37 2016 Received: (at submit) by debbugs.gnu.org; 31 Oct 2016 10:55:37 +0000 Received: from localhost ([127.0.0.1]:37670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1AFd-0007tD-Ih for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:55:37 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51633) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1AFb-0007t1-WD for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:55:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1AFV-0003dG-Je for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:55:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34371) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1c1AFV-0003d7-Gg for submit@debbugs.gnu.org; Mon, 31 Oct 2016 06:55:29 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:42592) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1AFT-0002fD-Ub for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2016 06:55:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1AFO-0003aF-Vz for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2016 06:55:27 -0400 Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]:36319) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1AFO-0003Zz-OE for bug-gnu-emacs@gnu.org; Mon, 31 Oct 2016 06:55:22 -0400 Received: by mail-wm0-x233.google.com with SMTP id p190so139497042wmp.1 for ; Mon, 31 Oct 2016 03:55:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:message-id:from:to:subject:user-agent:mime-version; bh=JbKwPE1u+iwy9//rKPb/m6jDrw1RX00xnGdrJIOPMnQ=; b=zNiLFXtIUkjsopV4rkI72QZUe9wZqzsrvNCmJzYlsNr3AME7LF+z5RtG4zxV+EEYN8 nvaoUI6QVLlINUQFbQaHTbT7kL17Xj2oKav82JT+jCUH91LOpFwl1rOsE43uwuFDvBXr NgDbmFSgAVyeTYs6rkGHxgr8eRkb5+HMWZZkx8HiKZB0oj9r2LezALD0lGWKSGZ2v7WT z6sXxgEtwSouR/VKg7KwL1rwu/Hgy9FnmCNYx3tZtm867Hy5EteIhqS6b4iE5g0O8R2x Iikv57cQDj4G6grp4dNZ9g6+J+CehOC8Wm5wZbJ5LadAbQbnvVPDafi66SB9fxvHcZnN M45g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:message-id:from:to:subject:user-agent :mime-version; bh=JbKwPE1u+iwy9//rKPb/m6jDrw1RX00xnGdrJIOPMnQ=; b=k/+YV1beGrhVe2CItuW64kIbVQvRK4FCYbGuCTs7ZB7V3rb0kwFUrl3KwLz1sKRrnO oBuhc/yCc1FhLKzEzsfnnCMDsBYjPIuQkMLF/MWUudNu3FT+2/0lnODakrwL9vQH4Npp U5QMCDdk1VaSOhlvfOao84xyWDt84qK6ooEzdjPKH4BvriCYJT7w2OguFg0NZept5Ppe +HJVkJEWBKF7gwQDBVWrOB6SvloyvCdfRra6wB50ekFtNsxeswtW88VsRlYlz3DvaHe1 ZeeAvgcP7AKb0Qzk9kBR443nXccI7M4ydkPmCr/lzuGJ4TlAz1cZlIOGx4oVp8mlYvNu Rx0w== X-Gm-Message-State: ABUngven+ZcJgo5NzMR1hQxW7Sa9xts4eQnLRmLvaHNQdBsfqebxnIgpevTIDjJeCD1HQQ== X-Received: by 10.28.63.6 with SMTP id m6mr11286499wma.22.1477911321073; Mon, 31 Oct 2016 03:55:21 -0700 (PDT) Received: from jose-ThinkPad-Edge-E330.google.com (110.red-79-144-230.dynamicip.rima-tde.net. [79.144.230.110]) by smtp.gmail.com with ESMTPSA id u64sm24072284wmd.6.2016.10.31.03.55.19 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 31 Oct 2016 03:55:20 -0700 (PDT) Date: Mon, 31 Oct 2016 11:55:19 +0100 Message-ID: <87eg2wpz3c.wl-domenechjosel@gmail.com> From: domenechjosel@gmail.com (=?ISO-8859-1?Q?Jos=E9?= L. =?ISO-8859-1?Q?D?= =?ISO-8859-1?Q?om=E9nech?=) To: bug-gnu-emacs@gnu.org Subject: 26.0.50; ORG mode: exporting discontinuos headings generates a invalid ODT document User-Agent: SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.8 EasyPG/1.0.0 Emacs/26.0.50 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) In the release version of ORG (emacs -Q): "Org-mode version 8.2.10 (release_8.2.10 @ /usr/local/share/emacs/26.0.50/lisp/org/)" and in the master version of ORG: "Org mode version 8.3.6 (release_8.3.6-1264-g21932c.dirty @ /home/jose/.emacs.d/lisp/org-mode-git/lisp/)" This document: * HEADING 1 ** SUBHEADING 1.2 **** THIS HAS AN ADITIONAL LEVEL *** SUB-SUBHEADING 1.2.2 when exporting (C-c C-e o O) generates an invalid ODT document. I have traced it to a missing '' closing tag surronding the aggraviating heading. As a note, this case seems to be not detected by the call to '(org-export-last-sibling-p headline info)' in the 'org-odt-headline' or in any case not correctly handled by this function in lisp/ox-odt.el. In GNU Emacs 26.0.50.24 (x86_64-pc-linux-gnu, GTK+ Version 2.24.30) of 2016-10-30 built on jose-ThinkPad-Edge-E330 Repository revision: a37eba849eddc41375ad73974f6fcb1258aa8eba Windowing system distributor 'The X.Org Foundation', version 11.0.11804000 System Description: Linux Mint 18 Sarah Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: es_ES.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml easymenu mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core term/tty-colors frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev obarray minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 96129 11310) (symbols 48 20322 0) (miscs 40 38 143) (strings 32 17578 4866) (string-bytes 1 562408) (vectors 16 13434) (vector-slots 8 447259 4334) (floats 8 183 106) (intervals 56 195 0) (buffers 976 11) (heap 1024 25276 853)) From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 02 06:23:46 2017 Received: (at 24836-done) by debbugs.gnu.org; 2 Dec 2017 11:23:46 +0000 Received: from localhost ([127.0.0.1]:41027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eL5ta-0002t6-Gy for submit@debbugs.gnu.org; Sat, 02 Dec 2017 06:23:46 -0500 Received: from relay2-d.mail.gandi.net ([217.70.183.194]:43587) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eL5tY-0002sy-Os for 24836-done@debbugs.gnu.org; Sat, 02 Dec 2017 06:23:45 -0500 Received: from saiph.selenimh (000043010000000000000469.ipv6.commingeshautdebit.fr [IPv6:2a03:a0a0:0:4301::469]) (Authenticated sender: mail@nicolasgoaziou.fr) by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id 9A820C5A46; Sat, 2 Dec 2017 12:23:42 +0100 (CET) Received: from ngz by saiph.selenimh with local (Exim 4.89) (envelope-from ) id 1eL5tT-0001dF-SH; Sat, 02 Dec 2017 12:23:39 +0100 From: Nicolas Goaziou To: domenechjosel@gmail.com (=?utf-8?Q?Jos=C3=A9?= L. =?utf-8?Q?Dom=C3=A9n?= =?utf-8?Q?ech?=) Subject: Re: bug#24836: 26.0.50; ORG mode: exporting discontinuos headings generates a invalid ODT document In-Reply-To: <87eg2wpz3c.wl-domenechjosel@gmail.com> (=?utf-8?Q?=22Jos?= =?utf-8?Q?=C3=A9?= L. =?utf-8?Q?Dom=C3=A9nech=22's?= message of "Mon, 31 Oct 2016 11:55:19 +0100") References: <87eg2wpz3c.wl-domenechjosel@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Date: Sat, 02 Dec 2017 12:23:39 +0100 Message-ID: <87tvx9cr0k.fsf@nicolasgoaziou.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24836-done Cc: 24836-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, domenechjosel@gmail.com (Jos=C3=A9 L. Dom=C3=A9nech) writes: > This document: > > * HEADING 1 > ** SUBHEADING 1.2 > **** THIS HAS AN ADITIONAL LEVEL > *** SUB-SUBHEADING 1.2.2 > > when exporting (C-c C-e o O) generates an invalid ODT document. > > I have traced it to a missing '' closing tag surronding the > aggraviating heading. > > As a note, this case seems to be not detected by the call to > '(org-export-last-sibling-p headline info)' in the 'org-odt-headline' or > in any case not correctly handled by this function in lisp/ox-odt.el. Fixed. Thank you! Regards, --=20 Nicolas Goaziou 0x80A93738 From unknown Thu Aug 14 18:39:26 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sat, 30 Dec 2017 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator