* bug#13047: 24.2; color-hsl-to-rgb returns negative values for some inputs
@ 2012-12-01 13:53 Hrvoje Niksic
2012-12-01 18:38 ` Glenn Morris
0 siblings, 1 reply; 2+ messages in thread
From: Hrvoje Niksic @ 2012-12-01 13:53 UTC (permalink / raw)
To: 13047
For some inputs color-hsl-to-rgb returns triplets with negative values,
which should not occur. For example:
(color-hsl-to-rgb 0 1 0.1)
=> (0.2 0.0 -0.4)
The expected output is (0.2 0.0 0.0).
In GNU Emacs 24.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 3.6.1)
of 2012-10-22 on eric
Configured using:
`configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--with-x-toolkit=gtk3' '--with-xft'
'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector
--param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2'
'LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: C
value of $XMODIFIERS: nil
locale-coding-system: nil
default enable-multibyte-characters: t
Major mode: Fundamental
Minor modes in effect:
savehist-mode: t
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC x r e p o r TAB RET
Recent messages:
("emacs")
Loading term/xterm...done
For information about GNU Emacs and the GNU system, type C-h C-a.
Load-path shadows:
~/elisp/ido hides /usr/share/emacs/24.2/lisp/ido
~/elisp/savehist hides /usr/share/emacs/24.2/lisp/savehist
~/elisp/linum hides /usr/share/emacs/24.2/lisp/linum
Features:
(shadow sort gnus-util mail-extr emacsbug message idna format-spec
rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail regexp-opt rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils easy-mmode color quail
help-mode easymenu view time-date savehist crodict cl tooltip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image
fringe lisp-mode register page menu-bar rfn-eshadow timer select
scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham
georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao
korean japanese hebrew greek romanian slovak czech european ethiopic
indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple
abbrev minibuffer loaddefs button faces cus-face files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#13047: 24.2; color-hsl-to-rgb returns negative values for some inputs
2012-12-01 13:53 bug#13047: 24.2; color-hsl-to-rgb returns negative values for some inputs Hrvoje Niksic
@ 2012-12-01 18:38 ` Glenn Morris
0 siblings, 0 replies; 2+ messages in thread
From: Glenn Morris @ 2012-12-01 18:38 UTC (permalink / raw)
To: Hrvoje Niksic; +Cc: 13047
Hrvoje Niksic wrote:
> (color-hsl-to-rgb 0 1 0.1)
> => (0.2 0.0 -0.4)
>
> The expected output is (0.2 0.0 0.0).
Thanks, already fixed.
http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12559
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-01 18:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-01 13:53 bug#13047: 24.2; color-hsl-to-rgb returns negative values for some inputs Hrvoje Niksic
2012-12-01 18:38 ` Glenn Morris
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.