From unknown Mon Aug 18 17:54:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28806: syntax highlighting in ox-odt and emacs26+ broken Resent-From: Jay Kamat Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 06:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 28806@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.150787618830293 (code B ref -1); Fri, 13 Oct 2017 06:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Oct 2017 06:29:48 +0000 Received: from localhost ([127.0.0.1]:36634 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2tTc-0007sQ-2O for submit@debbugs.gnu.org; Fri, 13 Oct 2017 02:29:48 -0400 Received: from eggs.gnu.org ([208.118.235.92]:43452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2tTW-0007s2-V5 for submit@debbugs.gnu.org; Fri, 13 Oct 2017 02:29:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2tTQ-0001DU-It for submit@debbugs.gnu.org; Fri, 13 Oct 2017 02:29:33 -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.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM, T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:35910) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e2tTQ-0001DJ-Fm for submit@debbugs.gnu.org; Fri, 13 Oct 2017 02:29:32 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34381) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2tTP-0006os-20 for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 02:29:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2tTL-00019h-2G for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 02:29:31 -0400 Received: from mail-qt0-x22e.google.com ([2607:f8b0:400d:c0d::22e]:43701) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2tTK-00018m-Tc for bug-gnu-emacs@gnu.org; Fri, 13 Oct 2017 02:29:26 -0400 Received: by mail-qt0-x22e.google.com with SMTP id j58so6726604qtj.0 for ; Thu, 12 Oct 2017 23:29:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=AJHQ/sYa3sQuzAhwVd8OdTFSeN0ES2ePF5JEXy4IjVY=; b=ZywBKA/k9Ilh1HDmpHafjxvtpHLEBmKfPdk4hyoGoscJf5lx7S33vtk6VfhOMwymPF ftrh6Nwp9xq0dV5NzHUX5T5Mq7tZupczTh84J/3fh1LZ/cGsBRrZClHBGhNWnNfNc699 mcbw7kqfphC9rMCnIVzh5bcL3UNxuwCA2oSKSUnhkH4nAddPCDrZ7BQt2g8i/zbKyGQ2 nyy/Yp/rd1xOkKc+5x8P+S3HiuTNDDBBQUsMlV3SVtoDikANXw21g+Gf1oAecRLpmmJx lqG/lMxvDJ/V6nHbGZJrlUxE3yIdatk/8RyOXEVzNV0KAbHK5Ovj4s/GGOAO4dOONS3k dQRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=AJHQ/sYa3sQuzAhwVd8OdTFSeN0ES2ePF5JEXy4IjVY=; b=ibTxkhAOJwiPoW9EKXO/vXA2ocXLJGk9942IfkdyPZr+nINVxTf0VxWs743XIUuGWU oRrb6+CtUi9HuoDg4bObFvk53lmkcDtYc5+r/VU0j8952c0LxO7Q/k136MxsEkHn0gTH meWjLsMND05xy932qRjlsyg3ZML6pwn+6TPhi71cZlbNQXzs/igcLbWHU9dfl4iM+Bx+ N6xcDTFRODUAIZs9/bQyA3w+stR/4XJhZ/DmI3HKyRdz33+rpHY/mBgqM6IqiCN1rVRN EEKnwvC/Z3QsU8Nrtk4F2g5Ay0UrGYHSB5v/JSn0jwV0AMNTo8qqVS0IOixt8hq7V1wo aJTw== X-Gm-Message-State: AMCzsaXKNppdAnFqmXCwSRjrJYnwyollK8pjx4/Vq0kxAf8qs6DOOG44 F9zbGuTWyajId0X0jWoqYpmpiCvD X-Google-Smtp-Source: AOwi7QBEbdFYWYSZvw9Z5CiaWDXmS+vcrlHBF4wXCMQj1vxh2JtGKfWG+YL+R4BwnQO5iVkhDT2PMQ== X-Received: by 10.129.5.14 with SMTP id 14mr246387ywf.463.1507876164618; Thu, 12 Oct 2017 23:29:24 -0700 (PDT) Received: from laythe (res404s-128-61-104-57.res.gatech.edu. [128.61.104.57]) by smtp.gmail.com with ESMTPSA id p188sm114093ywb.53.2017.10.12.23.29.23 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 23:29:23 -0700 (PDT) From: Jay Kamat Date: Fri, 13 Oct 2017 02:29:23 -0400 Message-ID: <87wp3za7cs.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.60 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. 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-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 (----) Hi! I think 'francisv' from the #org-mode irc channel found a interesting bug in emacs or org mode. I don't know enough about emacs internals to figure out exactly what's going on, so I'll provide as much information as I'm able to find out. I'm not entirely sure if this is an error in org or in emacs, but since it's a complicated interaction between them (and exists in the bundled version of org) I'm reporting it here. orgmode syntax highlighting when exporting via ox-odt in emacs 26 seems to be broken. This is not reproducible under emacs 25 at all. In addition, this seems to be dependent on which emacs is compiling org to bytecode. Steps to Reproduce: 1. Compile Emacs *26* from source (emacs-26 branch) 2. Load an org file with the following (built-in org): #+BEGIN_SRC c int main() { return 0; } #+END_SRC 3. Export to odt via C-c C-e o o 4. Open file in libreoffice Expected Results Syntax highlighting for the code block as in emacs25 Actual Results Code seems to be colored in a single color, interestingly, this is *not* black. (I can provide screenshots if that would be helpful) After poking around, I found a bit more information on how to reproduce it: Environments with working syntax export: 1. Emacs25, always (unless unrelated errors are present) 2. Emacs26, when running org compiled with emacs 25 (from elpa/repo) 3. Emacs26, when running org 'interpreted' (not compiled to bytecode) Environments with broken syntax export: 1. Emacs26 when compiled from source, using builtin org 2. Emacs26 when org is compiled with Emacs 26 (from elpa/repo) I tested all emacs versions on org 0b83168465, changing which version org was compiled with by modifying the EMACS variable in local.mk in org. I ran everything in ~emacs -Q~. I attempted to bisect emacs to find which change in emacs is causing this, bug I wasn't able to compile some older versions of emacs due to internal bytecode errors preventing a clean compilation. I was able to find that it was '14 revisions away from 5f3379b338' but I don't know if that's helpful. >From what I can tell (which is probably incorrect), this seems like either: 1. A bug in the new bytecode 2. Some backwards-incompatible change to macros in emacs 26 that org didn't pick up on. In the latter case, the change should be added to the NEWS file as a backwards incompatible change. A stackexchange question about this is here: https://emacs.stackexchange.com/questions/36023/how-to-export-babel-source-blocks-with-syntax-highlighting-to-odt-in-org-mode-in I posted in the org mode mailing list about this to try to get some initial feedback from orgmode before posting here: http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00161.html Please let me know if anyone has any questions or can't reproduce, and apologies if anything is wrong about this report (I'm fairly new here). I'm willing to put in time to fix this if needed, if someone can point me in the right direction. Thanks, -Jay From unknown Mon Aug 18 17:54:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28806: syntax highlighting in ox-odt and emacs26+ broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 13 Oct 2017 07:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28806 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Jay Kamat Cc: 28806@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 28806-submit@debbugs.gnu.org id=B28806.150788097620736 (code B ref 28806); Fri, 13 Oct 2017 07:50:02 +0000 Received: (at 28806) by debbugs.gnu.org; 13 Oct 2017 07:49:36 +0000 Received: from localhost ([127.0.0.1]:36774 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2uit-0005ON-LG for submit@debbugs.gnu.org; Fri, 13 Oct 2017 03:49:35 -0400 Received: from eggs.gnu.org ([208.118.235.92]:57186) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2uiq-0005O8-7d for 28806@debbugs.gnu.org; Fri, 13 Oct 2017 03:49:34 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2uig-0003Ov-Lb for 28806@debbugs.gnu.org; Fri, 13 Oct 2017 03:49:27 -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.0 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:32913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2uig-0003On-HY; Fri, 13 Oct 2017 03:49:22 -0400 Received: from [176.228.60.248] (port=1155 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1e2uif-0002on-LS; Fri, 13 Oct 2017 03:49:22 -0400 Date: Fri, 13 Oct 2017 10:49:13 +0300 Message-Id: <837evzlc7a.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <87wp3za7cs.fsf@gmail.com> (message from Jay Kamat on Fri, 13 Oct 2017 02:29:23 -0400) References: <87wp3za7cs.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) > From: Jay Kamat > Date: Fri, 13 Oct 2017 02:29:23 -0400 > > 1. Compile Emacs *26* from source (emacs-26 branch) > 2. Load an org file with the following (built-in org): > > #+BEGIN_SRC c > int main() { > return 0; > } > #+END_SRC > > 3. Export to odt via C-c C-e o o > 4. Open file in libreoffice > > Expected Results > > Syntax highlighting for the code block as in emacs25 > > Actual Results > > Code seems to be colored in a single color, interestingly, this is *not* > black. > > (I can provide screenshots if that would be helpful) > > After poking around, I found a bit more information on how to reproduce > it: > > Environments with working syntax export: > 1. Emacs25, always (unless unrelated errors are present) > 2. Emacs26, when running org compiled with emacs 25 (from elpa/repo) > 3. Emacs26, when running org 'interpreted' (not compiled to bytecode) > > Environments with broken syntax export: > 1. Emacs26 when compiled from source, using builtin org > 2. Emacs26 when org is compiled with Emacs 26 (from elpa/repo) > > I tested all emacs versions on org 0b83168465, changing which version > org was compiled with by modifying the EMACS variable in local.mk in > org. I ran everything in ~emacs -Q~. > > I attempted to bisect emacs to find which change in emacs is causing > this, bug I wasn't able to compile some older versions of emacs due to > internal bytecode errors preventing a clean compilation. I was able to > find that it was '14 revisions away from 5f3379b338' but I don't know if > that's helpful. > > >From what I can tell (which is probably incorrect), this seems like > either: > > 1. A bug in the new bytecode > 2. Some backwards-incompatible change to macros in emacs 26 that org > didn't pick up on. > > In the latter case, the change should be added to the NEWS file as a > backwards incompatible change. > > A stackexchange question about this is here: > https://emacs.stackexchange.com/questions/36023/how-to-export-babel-source-blocks-with-syntax-highlighting-to-odt-in-org-mode-in > > I posted in the org mode mailing list about this to try to get some > initial feedback from orgmode before posting here: > http://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00161.html Thanks. Having read all of the references and discussions you've provided, I see no evidence that this is an Emacs issue, as opposed to an Org issue. I think the Org developers should take a look at this first, and only if they provide clear evidence that the problem is due to Emacs, should the problem come here. From unknown Mon Aug 18 17:54:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28806: syntax highlighting in ox-odt and emacs26+ broken Resent-From: pierre.techoueyres@free.fr (Pierre =?UTF-8?Q?T=C3=A9choueyres?=) Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Thu, 08 Feb 2018 23:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28806 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: Eli Zaretskii Cc: 28806@debbugs.gnu.org, Jay Kamat Received: via spool by 28806-submit@debbugs.gnu.org id=B28806.15181310172353 (code B ref 28806); Thu, 08 Feb 2018 23:04:02 +0000 Received: (at 28806) by debbugs.gnu.org; 8 Feb 2018 23:03:37 +0000 Received: from localhost ([127.0.0.1]:34458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejvE9-0000bt-Iw for submit@debbugs.gnu.org; Thu, 08 Feb 2018 18:03:37 -0500 Received: from smtp4-g21.free.fr ([212.27.42.4]:11480) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ejvE8-0000bm-Hn for 28806@debbugs.gnu.org; Thu, 08 Feb 2018 18:03:36 -0500 Received: from killashandra.ballybran.fr.free.fr (unknown [IPv6:2a01:e35:2e14:eab0:b51f:3dc7:7e03:942]) by smtp4-g21.free.fr (Postfix) with ESMTPS id 7D99619F57E; Fri, 9 Feb 2018 00:03:33 +0100 (CET) From: pierre.techoueyres@free.fr (Pierre =?UTF-8?Q?T=C3=A9choueyres?=) References: <87wp3za7cs.fsf@gmail.com> <837evzlc7a.fsf@gnu.org> Date: Fri, 09 Feb 2018 00:03:31 +0100 In-Reply-To: <837evzlc7a.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 13 Oct 2017 10:49:13 +0300") Message-ID: <871shvulrw.fsf@killashandra.ballybran.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.0 (/) 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.0 (/) Eli Zaretskii writes: >> From: Jay Kamat >> Date: Fri, 13 Oct 2017 02:29:23 -0400 >> >> 1. Compile Emacs *26* from source (emacs-26 branch) >> 2. Load an org file with the following (built-in org): >> >> #+BEGIN_SRC c >> int main() { >> return 0; >> } >> #+END_SRC >> >> 3. Export to odt via C-c C-e o o >> 4. Open file in libreoffice >> >> Expected Results >> >> Syntax highlighting for the code block as in emacs25 >> >> Actual Results >> >> Code seems to be colored in a single color, interestingly, this is *not* >> black. >> >> (I can provide screenshots if that would be helpful) >> >> After poking around, I found a bit more information on how to reproduce >> it: >> >> Environments with working syntax export: >> 1. Emacs25, always (unless unrelated errors are present) >> 2. Emacs26, when running org compiled with emacs 25 (from elpa/repo) >> 3. Emacs26, when running org 'interpreted' (not compiled to bytecode) >> ... > > Thanks. > > Having read all of the references and discussions you've provided, I > see no evidence that this is an Emacs issue, as opposed to an Org > issue. I think the Org developers should take a look at this first, > and only if they provide clear evidence that the problem is due to > Emacs, should the problem come here. > Hi Eli, I don't know if you noticed it but the fact that the uncompiled version is working as expected or that an compiled one with an older emacs (version 25 for example) tend to indicate a problem on the emacs side. I can also add that forcing reevaluation of `org-odt-do-format-code' solve the problem. Can this be considered as an evidence that the problem is on the emacs side ? regards, Pierre From unknown Mon Aug 18 17:54:25 2025 X-Loop: help-debbugs@gnu.org Subject: bug#28806: syntax highlighting in ox-odt and emacs26+ broken Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: emacs-orgmode@gnu.org Resent-Date: Fri, 09 Feb 2018 08:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28806 X-GNU-PR-Package: org-mode X-GNU-PR-Keywords: To: pierre.techoueyres@free.fr (Pierre =?UTF-8?Q?T=C3=A9choueyres?=) Cc: 28806@debbugs.gnu.org, jaygkamat@gmail.com Reply-To: Eli Zaretskii Received: via spool by 28806-submit@debbugs.gnu.org id=B28806.151816665826216 (code B ref 28806); Fri, 09 Feb 2018 08:58:01 +0000 Received: (at 28806) by debbugs.gnu.org; 9 Feb 2018 08:57:38 +0000 Received: from localhost ([127.0.0.1]:34622 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ek4V0-0006om-Ce for submit@debbugs.gnu.org; Fri, 09 Feb 2018 03:57:38 -0500 Received: from eggs.gnu.org ([208.118.235.92]:42026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ek4Uz-0006oa-KM for 28806@debbugs.gnu.org; Fri, 09 Feb 2018 03:57:37 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ek4Uq-0005sF-L5 for 28806@debbugs.gnu.org; Fri, 09 Feb 2018 03:57:32 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40,T_RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42610) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ek4Uq-0005s4-HT; Fri, 09 Feb 2018 03:57:28 -0500 Received: from [176.228.60.248] (port=1544 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ek4Un-0002Wx-3g; Fri, 09 Feb 2018 03:57:25 -0500 Date: Fri, 09 Feb 2018 10:57:05 +0200 Message-Id: <83mv0i4k2m.fsf@gnu.org> From: Eli Zaretskii In-reply-to: <871shvulrw.fsf@killashandra.ballybran.fr> (pierre.techoueyres@free.fr) References: <87wp3za7cs.fsf@gmail.com> <837evzlc7a.fsf@gnu.org> <871shvulrw.fsf@killashandra.ballybran.fr> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) > From: pierre.techoueyres@free.fr (Pierre Téchoueyres) > Cc: Jay Kamat , 28806@debbugs.gnu.org > Date: Fri, 09 Feb 2018 00:03:31 +0100 > > > Having read all of the references and discussions you've provided, I > > see no evidence that this is an Emacs issue, as opposed to an Org > > issue. I think the Org developers should take a look at this first, > > and only if they provide clear evidence that the problem is due to > > Emacs, should the problem come here. > > > > Hi Eli, > I don't know if you noticed it but the fact that the uncompiled version > is working as expected or that an compiled one with an older emacs > (version 25 for example) tend to indicate a problem on the emacs side. > > I can also add that forcing reevaluation of > `org-odt-do-format-code' solve the problem. > > Can this be considered as an evidence that the problem is on the emacs > side ? No, I don't think so. All of the above can be the result of some Org specific problem. That's why I suggested that the Org developers look into this issue first. From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 06 17:52:56 2018 Received: (at control) by debbugs.gnu.org; 6 Jun 2018 21:52:56 +0000 Received: from localhost ([127.0.0.1]:37162 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQgMR-0000QC-Ov for submit@debbugs.gnu.org; Wed, 06 Jun 2018 17:52:55 -0400 Received: from mail-qk0-f172.google.com ([209.85.220.172]:34669) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fQgMQ-0000Pz-AD for control@debbugs.gnu.org; Wed, 06 Jun 2018 17:52:54 -0400 Received: by mail-qk0-f172.google.com with SMTP id q70-v6so5025371qke.1 for ; Wed, 06 Jun 2018 14:52:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=Z3jaqQtr4uV+d0ZURmWtL5eOwzCurfZs9EhYGNVQ1Sw=; b=ZYeIsZOBPIHII35KXk82bJ/bJEG7c+i2x6MFqhvXfysLiqccFlUOLKgOZ3CmZgXIAe slAlNErPn/R1FAXPY3aRHB+1beyujrxI4+NZDaxX8G9nR8Ir+S268cSUU8Q3UUi5236R 7LU+8LD/FbNKV5Rd0s3hWp4rrdAzGlbfUFB9gL4XgphocxJghPYVei2jUfrbznmdQbf0 JU9Oi8vpPe7L7ZuNriKok3HR24NKKc80W3uTRziGXmkHKwyM3jidMQTfuIJlMRwgLQUN mHYnmggPdgAgEFNwTqHjfhW8Mi88xktWOtxUdWCZ6vIc4AC75uEFM5iz+8qf1lFgEQ1i n/FA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=Z3jaqQtr4uV+d0ZURmWtL5eOwzCurfZs9EhYGNVQ1Sw=; b=SM52nRO+HQaoMBdF7eKqMx/0TX7fqTrI5nKrZ00C0DFTryDYLKY+RaP6mffxcmGKZg 10+wkkT2H64j3d1Gz0XMbD0NqumjWiohWd9n8ae65phwlsFfsr2geghd0dC2bvf6SB3+ Xe62St1zOrb/j5F2rBauFmC7TeC6TzzU07jG43wGwAooOKG1Nu5oPRaBmZNyXB2U2xVI d8EkL8QKsmOky8o5cjVCm7e07XCO6KB19N3T5SIAJ6avfyDdk5j2OiKYt2NWn4jYdxEd ewEDax2PtSzlTsbKz4u022m/SekPTw6q91tN0St5+FL/NSLz2rBztFBtXlUVMb63KoPo /AaA== X-Gm-Message-State: APt69E3ChDtjaAUHaHlKe69kQzVj89Yw3e9WpAr+cIPaSiLSjO9z3kYH xanIrDjuSq1JmY2Rs1NxS6EyZR0W X-Google-Smtp-Source: ADUXVKLuQVLx92ChrHwyJVUtKF28HjzDW54DzJ8HZyscrjyuO4mzICPhSCOaRSg+Lv/lQ6RTh05iGg== X-Received: by 2002:a37:295e:: with SMTP id p91-v6mr4068271qkh.415.1528321968663; Wed, 06 Jun 2018 14:52:48 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id a62-v6sm29685669qka.11.2018.06.06.14.52.47 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 06 Jun 2018 14:52:48 -0700 (PDT) From: Noam Postavsky To: control@debbugs.gnu.org Subject: control message for bug #28806 Date: Wed, 06 Jun 2018 17:52:46 -0400 Message-ID: <87efhj4m6p.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.8 (/) X-Debbugs-Envelope-To: control 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: -1.8 (-) reassign 28806 emacs merge 28806 31734 quit From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 12 18:22:10 2018 Received: (at control) by debbugs.gnu.org; 12 Jun 2018 22:22:10 +0000 Received: from localhost ([127.0.0.1]:45481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSrg2-0001vJ-G0 for submit@debbugs.gnu.org; Tue, 12 Jun 2018 18:22:10 -0400 Received: from mail-io0-f181.google.com ([209.85.223.181]:41591) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fSrg1-0001v3-CL; Tue, 12 Jun 2018 18:22:09 -0400 Received: by mail-io0-f181.google.com with SMTP id t5-v6so1254631ioa.8; Tue, 12 Jun 2018 15:22:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=rf8SZb5dfE3oFZzgVjF6GbOj0kcHxUpqqS32y7XFKH0=; b=WG7Er9pZ3ianzMr2Z/6a0eg94iW/vyjYb9KTItz7j8yV145UzFSZr7/e/n6Y9nRZgy RPC2M5GVHzibNPONjAnMvXyBJd36KTWpMP2Z2hdxOLyAafPYFfo+v7FCmgQsS9KXOEiD WYZIjnjD/esk3NOc8UvyNd5I5dGovmmOVcSngmTslZh/u/R9JyJ573NUwMRcWw7h9hj3 BdEuttjWNubDipRO2tbln/ExG8OH2NNck4lA9zf+ZAi0ssk8Ix+BNTjSRGBm4uo7z69C htP4BzFktEktN98t2r2n74iuV8dZlYKWCZDN3eT9WG3bj0egfn3teVFrXz93eOTRRxXR oKPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=rf8SZb5dfE3oFZzgVjF6GbOj0kcHxUpqqS32y7XFKH0=; b=P+DfRLUNHe0AfFqR+VOn+xNGQ5S5zzWm4H0Adr8duxu/LVG2SeSX9o8ZUQMMNFknFC QrES6jFBJS3HE+YS65PRmDvEmxC+EvFQW3/Dy6kwS0wpSuvSY0uQoR2O6Aab7hWPqApK QQg53/PRlJk3XupScVZXWwZHBhRU/2zmUCmVnfbEJxQ7cKRP3jw9PCCqvSbKm/z7+uz7 5UQKLSnNs9ZTa/L7Ceunq5lCMgPIDCE/f8UmElFz6hLaVR000ecLoQtIFI9tSpznioO1 +BHepKfZuF3RUL78rKSQxaKZlomhtP6Go7GfatrK1jggg8f7U3W3KFHLxwJuFTy4xUJj Hypg== X-Gm-Message-State: APt69E029rDZtDzLpf6o2ezMYLcQ1/GQWoN1BF+kgE5r2rQwRAmh5k1u AWO4YHDuQHaxRycwPW88NaiWHWvx X-Google-Smtp-Source: ADUXVKJ1h56/m141x0DPapmjvP10lp7R5C18uOJ75F9uJ1XhmX5FCFl0xNgP3nU2AnsyMHhEZES7Qg== X-Received: by 2002:a6b:7114:: with SMTP id q20-v6mr2313951iog.258.1528842123755; Tue, 12 Jun 2018 15:22:03 -0700 (PDT) Received: from zebian (cbl-45-2-119-34.yyz.frontiernetworks.ca. [45.2.119.34]) by smtp.googlemail.com with ESMTPSA id r9-v6sm333002iod.4.2018.06.12.15.22.02 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 12 Jun 2018 15:22:02 -0700 (PDT) From: Noam Postavsky To: Robert Cochran Subject: Re: bug#31718: 26.1; Strange behavior of `cond' References: <37954.1528179962@localhost> <46058.1528263715@localhost> <87wovc8ipt.fsf@cochranmail.com> <48698.1528276443@localhost> <87lgbkpz2b.fsf@cochranmail.com> Date: Tue, 12 Jun 2018 18:22:01 -0400 In-Reply-To: <87lgbkpz2b.fsf@cochranmail.com> (Robert Cochran's message of "Mon, 11 Jun 2018 18:34:52 -0700") Message-ID: <87muvzy7au.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control Cc: Ikumi Keita , 31718@debbugs.gnu.org, Vibhav Pant , Andreas Schwab 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: -1.0 (-) tags 31718 + patch quit Robert Cochran writes: > tags 31718 patch > quit > > (I can do this as a mere luser, right? Moreover, did I DTRT?) Yes, and not quite. You need to send those lines to control@debbugs.gnu.org. When doing it as part of a mailing list thread, you should use Bcc to avoid having other people's replies also go to control. That's why do you don't see that address when I do it. See https://debbugs.gnu.org/server-control.html for more info. Anyway, the patch looks good, I think it should go to emacs-26 as it's solving a pretty important regression. I will push there in a couple of days, assuming no objections.