[slime-devel] slime-edit-definition problem

Håkon Alstadheim hakon at alstadheim.priv.no
Thu May 25 09:41:20 UTC 2006


Gábor Melis wrote:

>I am running debian/etch with emacs21.4a-3. Some time ago - maybe when 
>emacs was upgraded - M-. stopped working. Well, it works if there are 
>multiple choices, but if there is just one, then it prints the error:
>
>Args out of range: #^[t nil 0 1 2 3 4 5 6 7 ... ], -134217682
>
>It seems that find-file-noselect is the culprit, but I have no idea 
>what's wrong with it. The strange thing is that if I define another 
>mapping for slime-edit-definition then that works where the other 
>doesn't:
>
>(define-key slime-repl-mode-map "\C-ci" 'slime-edit-definition)
>
>It's the same under both sbcl and allegro.
>
>  
>
Most likely a bad interaction between tramp and some
buffer-{process|file}-encoding. I got mine going by
loading the attached file after requiring tramp.
The operative change is that this in the original tramp:
   (and (integerp last-input-event)
            (or ...
becomes this:
   (and (integerp last-input-event)
         (plusp last-input-event)
         (or ...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: tramp-patch.el
Type: text/x-emacs-lisp
Size: 1282 bytes
Desc: not available
URL: <https://mailman.common-lisp.net/pipermail/slime-devel/attachments/20060525/7998b097/attachment.bin>


More information about the slime-devel mailing list