GNU bug report logs - #31734
26.1; byte-compile differs with cond eq 'default

Previous Next

Package: emacs;

Reported by: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>

Date: Wed, 6 Jun 2018 12:09:01 UTC

Severity: normal

Tags: patch

Merged with 28806, 31718

Found in version 26.1

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Héctor Enríquez Ramón <hector.e.r <at> gmail.com>
To: "Basil L. Contovounesios" <contovob <at> tcd.ie>
Cc: 31734 <at> debbugs.gnu.org
Subject: bug#31734: 26.1; byte-compile differs with cond eq 'default
Date: Wed, 6 Jun 2018 15:10:02 +0200
[Message part 1 (text/plain, inline)]
Current bug causes the following:



https://debbugs.gnu.org/cgi/bugreport.cgi?bug=28806



see ox-odt.el file:



...

    (cond

      ((eq fn 'default)

       (format org-odt-src-block-paragraph-format

                      background-color-val color-val))

      (t

       (format

               "

<style:style style:name=\"%s\" style:family=\"text\">

  <style:text-properties fo:color=\"%s\"/>

</style:style>" style-name color-val))))))

...



On Wed, Jun 6, 2018, 14:19 Basil L. Contovounesios <contovob <at> tcd.ie> wrote:

> Héctor Enríquez Ramón <hector.e.r <at> gmail.com> writes:
>
> > The code below shows opposite behavior byte-compiled:
> >
> > (setq variable 0)
> > (cond
> >  ((eq variable 'default)
> >   (message "equal"))
> >  (t
> >   (message "not equal")))
> >
> > Not byte-compiled output: not equal
> > Byte-compiled output: equal
>
> This is the same as bug#31718, right?
> https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31718
>
> --
> Basil
>
[Message part 2 (text/html, inline)]

This bug report was last modified 6 years and 342 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.