So from what I understand now, the way to accomplish a
"simple-style-warning" without having compile-file return failure-p is
to define a subclass of style-warning with the format-control/arg
slots and a :report function myself. Is this correct?
Vladimir
__
On 01/25/2011 02:12 PM, Didier Verna wrote:
> Daniel Weinreb wrote:
>
>> > Yes, we use it heavily, mainly for date/time processing, which can be
>> > very complicated when you're dealing with time zones and such.
>> > Example:
>> >
>> > (list :departure-time (format nil "~/zul%ISO8601/" departure-
On Tue, Jan 25, 2011 at 3:46 PM, Daniel Weinreb wrote:
> There appears to be a new trend of putting cute
> animals on your HTTP 404 page. Twitter has
> a "Fail Whale", and now Tumblr has "TumblBeasts":
>
> http://www.observer.com/2011/tech/tumblr-adds-oatmeals-suggested-tumbeasts-404-page
>
> Per
On Jan 25, 2011, at 3:46 PM, Daniel Weinreb wrote:
> There appears to be a new trend of putting cute
> animals on your HTTP 404 page. Twitter has
> a "Fail Whale", and now Tumblr has "TumblBeasts":
>
> http://www.observer.com/2011/tech/tumblr-adds-oatmeals-suggested-tumbeasts-404-page
>
> Perh
Didier Verna wrote:
Daniel Weinreb wrote:
Yes, we use it heavily, mainly for date/time processing, which can be
very complicated when you're dealing with time zones and such.
Example:
(list :departure-time (format nil "~/zul%ISO8601/" departure-time-zul)
OK, but does it really
There appears to be a new trend of putting cute
animals on your HTTP 404 page. Twitter has
a "Fail Whale", and now Tumblr has "TumblBeasts":
http://www.observer.com/2011/tech/tumblr-adds-oatmeals-suggested-tumbeasts-404-page
Perhaps we can have an easy way to make Lisp-based
web sites use the "p
Sam Steingold wrote:
> clisp has "~!"
>
> http://clisp.sourceforge.net/impnotes/print-formatted.html
>
> The additional FORMAT instruction ~! is similar to ~/, but avoids
> putting a function name into a string, thus, you might not need to
> specify the package explicitly.
>
> (FORMAT stream "~ar
Daniel Weinreb wrote:
> Yes, we use it heavily, mainly for date/time processing, which can be
> very complicated when you're dealing with time zones and such.
> Example:
>
> (list :departure-time (format nil "~/zul%ISO8601/" departure-time-zul)
OK, but does it really buy you anything, compared
> * Didier Verna [2011-01-25 18:05:11 +0100]:
>
> I'm aware of the ~// construct, which I find extremely cumbersome.
> It seems to me that the package handling part,
> specifically, makes it totally unusable.
exactly.
> Does anybody actually use it?
yes.
> WDYT? Does something like that already
Peter Seibel wrote:
> And then:
>
> CL-USER> (format t "~/iso:8601/" (get-universal-time))
> 2011-01-25T11:51:15-8:00
> NIL
Nice :-)
--
Resistance is futile. You will be jazzimilated.
Scientific site: http://www.lrde.epita.fr/~didier
Music (Jazz) site: http://www.didierverna.com
Oh, sorry; right, it's just for convenience to put
them in cl-user, to keep the format strings short.
Edi Weitz wrote:
On Tue, Jan 25, 2011 at 6:36 PM, Daniel Weinreb wrote:
I actually can't remember why package prefixes
aren't allowed. It was a long time ago.
They are allowed, ar
Edi Weitz wrote:
> On Tue, Jan 25, 2011 at 6:36 PM, Daniel Weinreb wrote:
>
>> I actually can't remember why package prefixes aren't allowed. It
>> was a long time ago.
>
> They are allowed, aren't they?
>
> http://www.lispworks.com/documentation/HyperSpec/Body/22_ced.htm
They are. The cl-use
"Pascal J. Bourguignon" wrote:
> \ is already meaningful in strings, to escape \ or ". So you'd have to
> use ~\\e\\.
Yeah bad example. It just popped up in my mind as the opposite of ~\\.
Make that ~!! or whatever.
> The standard already allows control-strings to be functions. So you
> coul
Of course they are. That's what allows this hack (first suggested by
Erik Naggum, I believe):
(defpackage :iso (:use) (:export :|8601|))
(defun iso:8601 (out arg colon-p at-sign-p &rest params)
(write-string (format-iso-8601-time
arg
:time-zone (first params)
On Tue, Jan 25, 2011 at 6:36 PM, Daniel Weinreb wrote:
> I actually can't remember why package prefixes
> aren't allowed. It was a long time ago.
They are allowed, aren't they?
http://www.lispworks.com/documentation/HyperSpec/Body/22_ced.htm
___
pro
Didier Verna writes:
> (format stream "... ~\e\ ..." #|...|# str #|...|#)
\ is already meaningful in strings, to escape \ or ".
So you'd have to use ~\\e\\.
> Of course, there are package issues. Maybe we would need a centralized
> mapping between function names (what goes in ~\\) and actual s
Didier Verna wrote:
> I'm aware of the ~// construct, which I find extremely cumbersome. Does
> anybody actually use it?
Yes, we use it heavily, mainly for date/time processing,
which can be very complicated when you're dealing
with time zones and such. Example:
(list :depa
Yes, it is indeed quite revolting, and lacking in aesthetics. But I
find that I am using it, for some of my dynamic menu building. Oh vile
hack!
- nick
___
pro mailing list
pro@common-lisp.net
http://common-lisp.net/cgi-bin/mailman/listinfo/pro
Hello,
there are situations in which I find myself frequently using the same
format "pattern", which I'd like to abstract away. A concrete example is
from my Declt package[1] which prints a lot in Texinfo format.
Since Texinfo has a couple of special characters (e.g. @), I have an
ESCAPE funct
Hello,
there are situations in which I find myself frequently using the same
format "pattern", which I'd like to abstract away. A concrete example is
from my Declt package[1] which prints a lot in Texinfo format.
Since Texinfo has a couple of special characters (e.g. @), I have an
ESCAPE funct
20 matches
Mail list logo