Opened 10 years ago

Last modified 10 years ago

#529 assigned defect

Lisp>Load Buffer and Lisp files with defpackage + in-package, -> 'no package' error

Reported by: joswig Owned by: mikel
Priority: normal Milestone:
Component: IDE Version: 1.3
Keywords: Cc:

Description

Following text in a buffer:

---

(defpackage "FOO" (:use "CL"))

(in-package "FOO")

(defun foo () 'bar)

---

1) Open a file with above contents and place the cursor at the end of the buffer.

2) use the menu entry Lisp>Load Buffer

->

Welcome to Clozure Common Lisp Version 1.3-r12088M (DarwinX8664)! ?

Error: There is no package named "FOO" . While executing: #<STANDARD-METHOD CCL::READ-TOPLEVEL-FORM (GUI::COCOA-LISTENER-INPUT-STREAM T)>, in process Listener(6).

The same happens with this:

1) create a new editor window

2) paste above text into the window

3) save the buffer

4) use the menu entry Lisp>Load Buffer

Change History (1)

comment:1 Changed 10 years ago by mikel

  • Owner set to mikel
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.