[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [STUMP] [PATCH] Modify defprogram-shortcut to define a run-or-pull c
From: |
Shawn Betts |
Subject: |
Re: [STUMP] [PATCH] Modify defprogram-shortcut to define a run-or-pull command/binding. |
Date: |
Fri, 24 Apr 2009 14:54:48 -0700 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) |
Julian Stecklina <address@hidden> writes:
> Shawn Betts <address@hidden> writes:
>
>> I also changed how the symbol is interned. Due to CL's weird semi-case
>> sensitive but not really except when it is case sensitivity, usually
>> you want to make sure everything is upper case, not lower
>> case. Perhaps one day ansi cl will be revised to the modern and much
>> simpler standard of being plain vanilla case sensitive (clisp already
>> has a modern mode doesn't it?). I think the programmers can handle it.
>
> CL already has *read-case*. The problem is, if you set it to case
> sensitive, you have to refer to stuff in the CL package, via |PROGN| or
> |MULTIPLE-VALUE-BIND| ...
>
> IMHO both modes could happily coexist with some package magic on the
> implementer's side, but all the (intern (string-upcase ...)) code would
> have to be fixed to check #.*read-case*
I know of no *read-case* but there's readtable-case. I've committed a
patch that adds the function intern1. This function tries to DTRT for
each kind of case. Thanks for the push to Do Things Right :).
-Shawn