i***@sxemacs.org
2013-10-02 03:16:13 UTC
http://issues.sxemacs.org/show_bug.cgi?id=162
Bug ID: 162
Summary: #"mapfam returns `nil' when the `:separator' keyword
is used on lists with more than 3 elements
Classification: Unclassified
Product: SXEmacs
Version: 22.1.15
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: Core Lisp
Assignee: ***@sxemacs.org
Reporter: ***@sxemacs.org
QA Contact: sxemacs-***@sxemacs.org
This bug prevents SXEmacs from being built with emodule support. The build
dies with "No such file or directory: .sxemacs.source.tree/modules/modules"
It is because #'find-emod-directories in build-autoloads.el uses #'mapfam on
`module-extensions' which is a list of 5 elements.
I will replace that particular use of #'mapfam with a #'mapconcat to fix the
build, but this bug still needs to be fixed.
Caveat: Only seems to be happening on SXEmacsen built with gcc 4.8.1 on glibc
2.18
(mapfam #'identity
:separator " "
:result-type #'concat
'("1" "2" "3"))
=> "1 2 3"
(mapfam #'identity
:separator " "
:result-type #'concat
'("1" "2" "3" "4"))
=> nil
Interestingly, if you add a :terminator, and/or :initiator, your list can be
one element longer before it craps out again...
(mapfam #'identity
:initiator "["
:separator " "
:result-type #'concat
'("1" "2" "3" "4"))
=> "[1 2 3 4"
(mapfam #'identity
:initiator "["
:separator " "
:result-type #'concat
'("1" "2" "3" "4" "5"))
=> nil
Assigning to Sebastian because nobody knows this code like he does. Sebastian,
if fatherhood (or any other reason) should prevent you from digging into this
for us, please let me know so I can get somebody else's eyes onto it.
Otherwise, we're all really looking forward to seeing more code from you. :)
Bug ID: 162
Summary: #"mapfam returns `nil' when the `:separator' keyword
is used on lists with more than 3 elements
Classification: Unclassified
Product: SXEmacs
Version: 22.1.15
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P1
Component: Core Lisp
Assignee: ***@sxemacs.org
Reporter: ***@sxemacs.org
QA Contact: sxemacs-***@sxemacs.org
This bug prevents SXEmacs from being built with emodule support. The build
dies with "No such file or directory: .sxemacs.source.tree/modules/modules"
It is because #'find-emod-directories in build-autoloads.el uses #'mapfam on
`module-extensions' which is a list of 5 elements.
I will replace that particular use of #'mapfam with a #'mapconcat to fix the
build, but this bug still needs to be fixed.
Caveat: Only seems to be happening on SXEmacsen built with gcc 4.8.1 on glibc
2.18
(mapfam #'identity
:separator " "
:result-type #'concat
'("1" "2" "3"))
=> "1 2 3"
(mapfam #'identity
:separator " "
:result-type #'concat
'("1" "2" "3" "4"))
=> nil
Interestingly, if you add a :terminator, and/or :initiator, your list can be
one element longer before it craps out again...
(mapfam #'identity
:initiator "["
:separator " "
:result-type #'concat
'("1" "2" "3" "4"))
=> "[1 2 3 4"
(mapfam #'identity
:initiator "["
:separator " "
:result-type #'concat
'("1" "2" "3" "4" "5"))
=> nil
Assigning to Sebastian because nobody knows this code like he does. Sebastian,
if fatherhood (or any other reason) should prevent you from digging into this
for us, please let me know so I can get somebody else's eyes onto it.
Otherwise, we're all really looking forward to seeing more code from you. :)
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are receiving this mail because:
You are the QA Contact for the bug.