From: ·······@ziplip.com
Subject: switching packages
Date: 
Message-ID: <H3KLBXHXOMBVFXAEKCJTMDKACBEGKOMGN2H2BTMJ@ziplip.com>
When you work in multiple files corresponding to different
packages, do you manually evaluate (in-package "THIS-PACKAGE")
each time you switch buffers, or do you somehow configure
your editor to do this for you?
From: Peter Seibel
Subject: Re: switching packages
Date: 
Message-ID: <m34r0nlf5i.fsf@javamonkey.com>
········@ziplip.com" <·······@ziplip.com> writes:

> When you work in multiple files corresponding to different
> packages, do you manually evaluate (in-package "THIS-PACKAGE")
> each time you switch buffers, or do you somehow configure
> your editor to do this for you?

Since you're talking about "buffers" I'm guessing your editor is
Emacs. If so, both ILISP and ELI look for IN-PACKAGE forms and
associate it with the buffer. You can also use the magical
first-non-blank line:

  ;; -*- mode: common-lisp; package: my-package -*-

(Assuming of course, that your lisp mode uses the variable "package"
in the appropriate way.)

-Peter

-- 
Peter Seibel                                      ·····@javamonkey.com

         Lisp is the red pill. -- John Fraser, comp.lang.lisp