Pascal J. Bourguignon | 6 Aug 2004 14:10
X-Face
Favicon

asdf: sans version


In pathname-sans-name+type, I assume you want it sans version either.
Otherwise you might get surprising results in implementations
supporting version numbers.

$ cvs diff -Nautwb asdf.lisp
Index: asdf.lisp
===================================================================
RCS file: /cvsroot/cclan/asdf/asdf.lisp,v
retrieving revision 1.86
diff -a -u -t -w -b -r1.86 asdf.lisp
--- asdf.lisp	19 Jul 2004 21:18:07 -0000	1.86
+++ asdf.lisp	6 Aug 2004 12:05:38 -0000
 <at>  <at>  -130,8 +130,8  <at>  <at> 

 (defun pathname-sans-name+type (pathname)
   "Returns a new pathname with same HOST, DEVICE, DIRECTORY as PATHNAME,
-and NIL NAME and TYPE components"
-  (make-pathname :name nil :type nil :defaults pathname))
+and NIL NAME, TYPE and VERSION components"
+  (make-pathname :name nil :type nil :versoin nil :defaults pathname))

 (define-modify-macro appendf (&rest args) 
                      append "Append onto list") 

--

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Nobody can fix the economy.  Nobody can be trusted with their finger
on the button.  Nobody's perfect.  VOTE FOR NOBODY.
(Continue reading)

Christophe Rhodes | 6 Aug 2004 14:32
Picon
Picon
Favicon

Re: asdf: sans version

Pascal J.Bourguignon <pjb <at> informatimago.com> writes:

> -  (make-pathname :name nil :type nil :defaults pathname))
> +  (make-pathname :name nil :type nil :versoin nil :defaults pathname))

Did you test this?  If so, under which lisp did this give you what you
expected?

Cheers,

Christophe
--

-- 
http://www-jcsu.jesus.cam.ac.uk/~csr21/       +44 1223 510 299/+44 7729 383 757
(set-pprint-dispatch 'number (lambda (s o) (declare (special b)) (format s b)))
(defvar b "~&Just another Lisp hacker~%")    (pprint #36rJesusCollegeCambridge)

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
Pascal J. Bourguignon | 6 Aug 2004 14:20
X-Face
Favicon

asdf: sans version / addendum


--------------------------------------------------------------------------
Oops, there was a typo in the previously sent patch. Please, use this one.
--------------------------------------------------------------------------

In pathname-sans-name+type, I assume you want it sans version either.
Otherwise you might get surprising results in implementations
supporting version numbers.

$ cvs diff -Nautwb asdf.lisp
Index: asdf.lisp
===================================================================
RCS file: /cvsroot/cclan/asdf/asdf.lisp,v
retrieving revision 1.86
diff -a -u -t -w -b -r1.86 asdf.lisp
--- asdf.lisp	19 Jul 2004 21:18:07 -0000	1.86
+++ asdf.lisp	6 Aug 2004 12:05:38 -0000
 <at>  <at>  -130,8 +130,8  <at>  <at> 

 (defun pathname-sans-name+type (pathname)
   "Returns a new pathname with same HOST, DEVICE, DIRECTORY as PATHNAME,
-and NIL NAME and TYPE components"
-  (make-pathname :name nil :type nil :defaults pathname))
+and NIL NAME, TYPE and VERSION components"
+  (make-pathname :name nil :type nil :version nil :defaults pathname))

 (define-modify-macro appendf (&rest args) 
                      append "Append onto list") 

--

-- 
(Continue reading)

Pascal J. Bourguignon | 7 Aug 2004 06:46
X-Face
Favicon

asdf.texinfo


In the CVS repository of cclan, there's no Makefile to process asdf.texinfo.

Regretfully, I'm not a user of tex. Could you please indicate me the
command and options to use to generate the doc (pdf, info and perhaps
html)?

I tried something, but the postscript I got is ill formated and
painful to read.

--

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
Paolo Amoroso | 7 Aug 2004 13:09
Picon
Favicon

Re: asdf.texinfo

"Pascal J.Bourguignon" <pjb <at> informatimago.com> writes:

> In the CVS repository of cclan, there's no Makefile to process asdf.texinfo.
>
> Regretfully, I'm not a user of tex. Could you please indicate me the
> command and options to use to generate the doc (pdf, info and perhaps
> html)?

For PDF try:

  texi2pdf asdf.texinfo

For Info:

  makeinfo asdf.texinfo

For PostScript:

  texi2dvi asdf.texinfo
  dvips asdf.dvi

Paolo
--

-- 
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film

-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
(Continue reading)

Pascal J. Bourguignon | 7 Aug 2004 14:47
X-Face
Favicon

Re: asdf.texinfo


Paolo Amoroso writes:
> "Pascal J.Bourguignon" <pjb <at> informatimago.com> writes:
> 
> > In the CVS repository of cclan, there's no Makefile to process asdf.texinfo.
> >
> > Regretfully, I'm not a user of tex. Could you please indicate me the
> > command and options to use to generate the doc (pdf, info and perhaps
> > html)?
> 
> For PDF try:
> 
>   texi2pdf asdf.texinfo
> 
> For Info:
> 
>   makeinfo asdf.texinfo

Argh!

Looks like if you just write that, it overwrites asdf.texinfo with
makeinfo output.

    makeinfo -v -o asdf.info asdf.texinfo

does what I want.

Thank you.

> For PostScript:
(Continue reading)

Raymond Toy | 9 Aug 2004 19:27
Picon
Favicon

A minor enhancement for asdf-install and a bug fix


First, I hope this is the right place to report bugs on asdf-install.

The bug is in get-env-var.  It substitues - for _, when it should be
the other way around for cmucl.

The enhancement is to allow the user to specify the name and/or
location of gnu tar.  Solaris tar doesn't support the -C or -z
options, so gnu tar needs to be in the user's path or a different name
is needed.  (I use "gtar" as the name.)

A simple patch is appended.

Ray

P.S.  I'm not subscribed to this list.

--- asdf-install/installer.lisp Sat Apr 24 11:08:31 2004
+++ /home/unix/eusrtoy/apps/lisp/asdf/asdf-install/installer.lisp       Mon Aug  9 13:11:09 2004
 <at>  <at>  -28,6 +28,9  <at>  <at> 
 (defparameter *cygwin-bash-program*
   "C:\\PROGRA~1\\Cygwin\\bin\\bash.exe")

+(defvar *gnu-tar-program*
+  "tar"
+  "Path to the GNU tar program")

 (eval-when (:compile-toplevel :load-toplevel :execute)
   (defparameter *supported-defsystems*
 <at>  <at>  -446,7 +449,7  <at>  <at> 
(Continue reading)

Peter Seibel | 17 Aug 2004 17:28

What is the recommended package for ASD files?

I've seen folks define a package that uses ASDF and I've seen folks
say (in-package :asdf) at the top of their .asd file. Which is better
style? (It sort of seems like there ought to be an ASDF-USER package
that reexports all the public symbols from ASDF but maybe that's
overkill.)

-Peter

--

-- 
Peter Seibel                                      peter <at> javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
Pascal J. Bourguignon | 17 Aug 2004 19:12
X-Face
Favicon

What is the recommended package for ASD files?


Peter Seibel writes:
> I've seen folks define a package that uses ASDF and I've seen folks
> say (in-package :asdf) at the top of their .asd file. Which is better
> style? (It sort of seems like there ought to be an ASDF-USER package
> that reexports all the public symbols from ASDF but maybe that's
> overkill.)

On the contrary, I find it would be better to have a ASDF-USER than to
use ASDF, and slightly better to have a ASDF-USER than to define a
*-SYSTEM package for each system loaded.

--

-- 
__Pascal Bourguignon__                     http://www.informatimago.com/

Our enemies are innovative and resourceful, and so are we. They never
stop thinking about new ways to harm our country and our people, and
neither do we.

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
dan | 17 Aug 2004 19:26

Re: What is the recommended package for ASD files?

On Tue, Aug 17, 2004 at 08:28:04AM -0700, Peter Seibel wrote:
> I've seen folks define a package that uses ASDF and I've seen folks
> say (in-package :asdf) at the top of their .asd file. Which is better
> style? (It sort of seems like there ought to be an ASDF-USER package
> that reexports all the public symbols from ASDF but maybe that's
> overkill.)

The former.  See http://www.cliki.net/ASDF%20System

ASDF-USER is an interesting idea but I don't think it'd fly: there may
be multiple asdf systems in the same Lisp (indeed, if asdf-install really
takes off there could be loads), which may define conflicting component
types and operations.  It seems to me that the package system is exactly
the right tool to resaolve this namespace issue

-dan

-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285

Gmane