all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Héctor Enríquez Ramón" <hector.e.r@gmail.com>
To: "Basil L. Contovounesios" <contovob@tcd.ie>
Cc: 31734@debbugs.gnu.org
Subject: bug#31734: 26.1; byte-compile differs with cond eq 'default
Date: Wed, 6 Jun 2018 15:10:02 +0200	[thread overview]
Message-ID: <CAFeiWLapaXTGwGZPPN51mAtFy9ov6te8_syNxtvgT5u2Q-HNzg@mail.gmail.com> (raw)
In-Reply-To: <87zi08rttb.fsf@tcd.ie>

[-- Attachment #1: Type: text/plain, Size: 1029 bytes --]

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@tcd.ie> wrote:

> Héctor Enríquez Ramón <hector.e.r@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
>

[-- Attachment #2: Type: text/html, Size: 4500 bytes --]

  reply	other threads:[~2018-06-06 13:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-06 10:38 bug#31734: 26.1; byte-compile differs with cond eq 'default Héctor Enríquez Ramón
2018-06-06 12:19 ` Basil L. Contovounesios
2018-06-06 13:10   ` Héctor Enríquez Ramón [this message]
2018-06-06 21:48     ` Noam Postavsky
2018-06-06 12:19 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAFeiWLapaXTGwGZPPN51mAtFy9ov6te8_syNxtvgT5u2Q-HNzg@mail.gmail.com \
    --to=hector.e.r@gmail.com \
    --cc=31734@debbugs.gnu.org \
    --cc=contovob@tcd.ie \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.