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

Discussion of Common Lisp

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

Postby 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
joeish80829
 
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am

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

Postby 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
marcoxa
 
Posts: 69
Joined: Thu Aug 14, 2008 6:31 pm

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

Postby 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 :)
joeish80829
 
Posts: 153
Joined: Tue Sep 03, 2013 5:32 am


Return to Common Lisp

Who is online

Users browsing this forum: No registered users and 4 guests

cron