[climacs-devel] M-q seems broken...

Eric Moncrieff eric at ping.ca
Thu Mar 24 17:09:21 UTC 2005


Hi Climacs Developers,

Today I decided I'd check out where Climacs was at.  I downloaded the
latest CVS sources for it and McCLIM, and loaded them up as per the
document, under a recent CVS SBCL.  I started typing, then decided to
reflow a paragraph using M-q.  And climacs crashed, bringing up the
following backtrace in slime:

There is no applicable method for the generic function
  #<STANDARD-GENERIC-FUNCTION CLIMACS-SYNTAX:BEGINNING-OF-PARAGRAPH (1)>
when called with arguments
  (#<CLIMACS-BUFFER:STANDARD-RIGHT-STICKY-MARK {CAE2BB1}>
   #<CLIMACS-SYNTAX:BASIC-SYNTAX {C96C239}>).
   [Condition of type SIMPLE-ERROR]

Restarts:
  0: [ABORT] Abort handling SLIME request.
  1: [DESTROY-THREAD] Destroy this thread (22501)

Backtrace:
  0: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION CLIMACS-SYNTAX:BEGINNING-OF-PARAGRAPH (1)> (#<CLIMACS-BUFFER:STANDARD-RIGHT-STICKY-MARK {CAE2BB1}> #<CLIMACS-SYNTAX:BASIC-SYNTAX {C96C239}>))
  1: ((SB-PCL::FAST-METHOD NO-APPLICABLE-METHOD (T)) #<unavailable argument> #<unavailable argument> #<STANDARD-GENERIC-FUNCTION CLIMACS-SYNTAX:BEGINNING-OF-PARAGRAPH (1)> (#<CLIMACS-BUFFER:STANDARD-RIGHT-STICKY-MARK {CAE2BB1}> #<CLIMACS-SYNTAX:BASIC-SYNTAX {C96C239}>))
  2: (CLIMACS-GUI::COM-FILL-PARAGRAPH)
  3: ((SB-PCL::FAST-METHOD CLIM:EXECUTE-FRAME-COMMAND :AROUND (CLIMACS-GUI::CLIMACS T)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION (SB-PCL::FAST-METHOD CLIM:EXECUTE-FRAME-COMMAND #)> :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (2)) #<CLIMACS-GUI::CLIMACS {C968549}> (CLIMACS-GUI::COM-FILL-PARAGRAPH))
  4: ((FLET CLIMACS-GUI::DO-COMMAND) (CLIMACS-GUI::COM-FILL-PARAGRAPH))
  5: (CLIMACS-GUI::CLIMACS-TOP-LEVEL #<CLIMACS-GUI::CLIMACS {C968549}> :COMMAND-PARSER #<unused argument> :COMMAND-UNPARSER #<unused argument> :PARTIAL-COMMAND-PARSER #<unused argument> :PROMPT #<unused argument>)
  6: (CLIMACS-GUI::CLIMACS-TOP-LEVEL #<CLIMACS-GUI::CLIMACS {C968549}>)
  7: ((SB-PCL::FAST-METHOD CLIM:RUN-FRAME-TOP-LEVEL (CLIM:APPLICATION-FRAME)) #<unavailable argument> #<unavailable argument> #<CLIMACS-GUI::CLIMACS {C968549}> #<unavailable argument>)
  8: ((SB-PCL::FAST-METHOD CLIM:RUN-FRAME-TOP-LEVEL :AROUND (CLIM:APPLICATION-FRAME)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<FUNCTION (SB-PCL::FAST-METHOD CLIM:RUN-FRAME-TOP-LEVEL #)> :PV-CELL NIL :NEXT-METHOD-CALL NIL :ARG-INFO (1 . T)) #<CLIMACS-GUI::CLIMACS {C968549}> NIL)
  9: (SB-INT:EVAL-IN-LEXENV (CLIMACS-GUI::CLIMACS) #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL :CLEANUP NIL :HANDLED-CONDITIONS NIL :DISABLED-PACKAGE-LOCKS NIL :POLICY ((COMPILATION-SPEED . 1) (DEBUG . 1) (INHIBIT-WARNINGS . 1) (SAFETY . 1) (SPACE . 1) (SPEED . 1) (SB-C::STACK-ALLOCATE-DYNAMIC-EXTENT . 3))))
 10: (SWANK::EVAL-REGION "(climacs-gui::climacs)
" T)
 11: ((LAMBDA NIL))
 12: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-SYNTAX-HOOKS (T)) #<unused argument> #<unused argument> #<CLOSURE (LAMBDA NIL) {C967CDD}>)
 13: (SWANK:LISTENER-EVAL "(climacs-gui::climacs)
")
 14: (SB-INT:EVAL-IN-LEXENV (SWANK:LISTENER-EVAL "(climacs-gui::climacs)
") #S(SB-KERNEL:LEXENV :FUNS NIL :VARS NIL :BLOCKS NIL :TAGS NIL :TYPE-RESTRICTIONS NIL :LAMBDA NIL :CLEANUP NIL :HANDLED-CONDITIONS NIL :DISABLED-PACKAGE-LOCKS NIL :POLICY ((COMPILATION-SPEED . 1) (DEBUG . 1) (INHIBIT-WARNINGS . 1) (SAFETY . 1) (SPACE . 1) (SPEED . 1) (SB-C::STACK-ALLOCATE-DYNAMIC-EXTENT . 3))))
 15: ((LAMBDA NIL))
 16: ((SB-PCL::FAST-METHOD SWANK-BACKEND:CALL-WITH-DEBUGGER-HOOK (T T)) #<unused argument> #<unused argument> #<FUNCTION SWANK:SWANK-DEBUGGER-HOOK> #<CLOSURE (LAMBDA NIL) {C967B4D}>)
 17: ((LAMBDA NIL))
 18: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {9796E39}> #<FUNCTION (LAMBDA NIL) {906BA5D}>)
 19: (SWANK::HANDLE-REQUEST #<SWANK::CONNECTION {9796E39}>)
 20: ((LAMBDA NIL))
 21: ((LAMBDA NIL))
 22: (SWANK::CALL-WITH-REDIRECTED-IO #<SWANK::CONNECTION {9796E39}> #<CLOSURE (LAMBDA NIL) {C967055}>)
 23: (SWANK::REPL-LOOP #<SWANK::CONNECTION {9796E39}>)
 24: ((LAMBDA NIL))
 25: ("foreign function: call_into_lisp")
 26: ("foreign function: funcall0")

Perhaps this has something to do with the recent buffer implementation
changes?

Procedure to reproduce:

(climacs-gui::climacs)

;; in new climacs window

foo bar M-q

Let me know if there's any more information you need.

Thanks!
Eric
** 
Eric Moncrieff                                           eric at ping.ca

1. Creativity and innovation always builds on the past.
2. The past always tries to control the creativity that builds on it.
2. Free societies enable the future by limiting the power of the past.
4. Ours is less and less a free society.
                                  - Lawrence Lessig



More information about the climacs-devel mailing list