ASDF: How do I choose which nicknames is displayed on REPL

Discussion of Common Lisp
Post Reply
joeish80829
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

ASDF: How do I choose which nicknames is displayed on REPL

Post by joeish80829 » Wed Apr 02, 2014 11:51 pm

I defined my DEFPACKAGE like this

Code: Select all

(defpackage :test
  (:nicknames #:test #:t)
I would like "test to be shown on the REPL but it keeeps defaulting to "t". I think it picks shortest one. I s there any way to change this. Thanks in advance for any help on this

marcoxa
Posts: 85
Joined: Thu Aug 14, 2008 6:31 pm

Re: ASDF: How do I choose which nicknames is displayed on RE

Post by marcoxa » Fri Apr 04, 2014 3:00 am

This is not an ASDF issue. It is a package and implementation dependent issue.

It appears that some implementations prefer the shortest package nickname to use in the prompt. You just have to dig out the relevant configuration bit for your implementation(s). In any case YMMV.

Cheers

MA
Marco Antoniotti

joeish80829
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

Re: ASDF: How do I choose which nicknames is displayed on RE

Post by joeish80829 » Fri Apr 04, 2014 7:39 am

Thanks for the info...I think I decided my short name looks better anyway, I really appreciate your reply :)

Post Reply