* bug#31734: 26.1; byte-compile differs with cond eq 'default @ 2018-06-06 10:38 Héctor Enríquez Ramón 2018-06-06 12:19 ` Basil L. Contovounesios 2018-06-06 12:19 ` Noam Postavsky 0 siblings, 2 replies; 5+ messages in thread From: Héctor Enríquez Ramón @ 2018-06-06 10:38 UTC (permalink / raw) To: 31734 [-- Attachment #1: Type: text/plain, Size: 269 bytes --] Hi. 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 Thank you very much. Best regards. Hector [-- Attachment #2: Type: text/html, Size: 676 bytes --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31734: 26.1; byte-compile differs with cond eq 'default 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 2018-06-06 12:19 ` Noam Postavsky 1 sibling, 1 reply; 5+ messages in thread From: Basil L. Contovounesios @ 2018-06-06 12:19 UTC (permalink / raw) To: Héctor Enríquez Ramón; +Cc: 31734 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 ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31734: 26.1; byte-compile differs with cond eq 'default 2018-06-06 12:19 ` Basil L. Contovounesios @ 2018-06-06 13:10 ` Héctor Enríquez Ramón 2018-06-06 21:48 ` Noam Postavsky 0 siblings, 1 reply; 5+ messages in thread From: Héctor Enríquez Ramón @ 2018-06-06 13:10 UTC (permalink / raw) To: Basil L. Contovounesios; +Cc: 31734 [-- 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 --] ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31734: 26.1; byte-compile differs with cond eq 'default 2018-06-06 13:10 ` Héctor Enríquez Ramón @ 2018-06-06 21:48 ` Noam Postavsky 0 siblings, 0 replies; 5+ messages in thread From: Noam Postavsky @ 2018-06-06 21:48 UTC (permalink / raw) To: Héctor Enríquez Ramón; +Cc: Basil L. Contovounesios, 31734 merge 31734 28806 quit Héctor Enríquez Ramón <hector.e.r@gmail.com> writes: > 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 Oh, nice catch, merging. ^ permalink raw reply [flat|nested] 5+ messages in thread
* bug#31734: 26.1; byte-compile differs with cond eq 'default 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 12:19 ` Noam Postavsky 1 sibling, 0 replies; 5+ messages in thread From: Noam Postavsky @ 2018-06-06 12:19 UTC (permalink / raw) To: Héctor Enríquez Ramón; +Cc: 31734 merge 31734 31718 quit 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 Please try the patch at https://debbugs.gnu.org/cgi/bugreport.cgi?bug=31718#14 ^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2018-06-06 21:48 UTC | newest] Thread overview: 5+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 2018-06-06 21:48 ` Noam Postavsky 2018-06-06 12:19 ` Noam Postavsky
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.