On Jun 5, 2009, at 3:27 PM, Phil Hagelberg wrote:
>
> "Stephen C. Gilardi" writes:
>
>> (my-cool-database-operation the-database
>> (arg-exp-1 with operands)
>> literal-arg
>> angstroms)
>>
>> There doesn't seem to be an easy way to distinguish these two types
>> of
>> initial operands (or
"Stephen C. Gilardi" writes:
> I've attached a patch to allow namespace qualification. I wonder if we
> should treat the "def" prefix in every namespace like we treat "with-"
> after this patch. (Right now it's only allowing an optional namespace
> of "clojure".) I'll be happy to provide a patch
On Jun 5, 2009, at 5:18 PM, Phil Hagelberg wrote:
My implementation only works when the with- form is referred in the
current namespace, but you could fix that with a little more regex
tweakage.
Thanks, it's working great.
I've attached a patch to allow namespace qualification. I wonder if w
Thank you very much Phil. That fix worked perfectly.
-Patrick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new me
Does anyone know what the functional difference is between
clojure-indent-function and common-lisp-indent-function ? Or even the
cl-indent:function from slime ?
I assume there is a difference, I just don't know what it is.
Cheers,
Chris Dean
--~--~-~--~~~---~--~---
"Stephen C. Gilardi" writes:
> (my-cool-database-operation the-database
> (arg-exp-1 with operands)
> literal-arg
> angstroms)
>
> There doesn't seem to be an easy way to distinguish these two types of
> initial operands (or the N-2 other types I've missed). "with-*" would
> probably seldo
"Stephen C. Gilardi" writes:
> While I often like lining up all the arguments generally, it is the
> one thing that I "fix" manually from time to time when the loss of
> horizontal real estate becomes too great to tolerate.
>
> One possible improvement would be to change clojure-mode so that
> "
On Jun 5, 2009, at 4:35 PM, Stephen C. Gilardi wrote:
What are the downsides to always indenting list contents that start
on a new line as indented 2 (possibly optionally 1) from their
opening paren?
Playing with this some, I see that when all the arguments to the
function are equal in s
Honestly, I really don't like indenting to align with the first
argument. The only case where that seems sensible is for functions
where the arguments have equal importance/characteristics.
eg. (bit-and GL_DEPTH_BUFFER_BIT
GL_COLOR_BUFFER_BIT)
But this situation rarely comes about in m
On Jun 5, 2009, at 3:52 PM, Phil Hagelberg wrote:
You may be able to customize the indentation to behave differently,
but
that's going to be even worse than using define-clojure-indent with
regard to consistency when other people contribute to your project.
Any
time you stray from the stan
CuppoJava writes:
> Is there anyway to turn off the feature completely? I don't mind at
> all if my arguments are not aligned with the first one, and I don't
> want to maintain a elisp file along with my clojure source.
Turn off what feature? You can rebind TAB to another function if you
want t
Thanks Phil for your help.
Heh, I'm still not used to seeing my words separated with dashes. I'll
switch over eventually. =)
Is there anyway to turn off the feature completely? I don't mind at
all if my arguments are not aligned with the first one, and I don't
want to maintain a elisp file along
CuppoJava writes:
> Hi fellow emacs users!
> I'm using Jeffrey Chu's Clojure-mode right now, and I'm wondering how
> I can turn off the "align with first argument" feature.
>
> A lot of my code currently looks like this:
> (with_draw_mode :raycast
> (with_blending
>
Hi fellow emacs users!
I'm using Jeffrey Chu's Clojure-mode right now, and I'm wondering how
I can turn off the "align with first argument" feature.
A lot of my code currently looks like this:
(with_draw_mode :raycast
(with_blending
(with_palette_shader
14 matches
Mail list logo