[Bug: 21.5-b28] CPerl mode: 'Wrong type argument: integer-or-marker-p, nil' on { keypress

Ilya Zakharevich ilya at Math.Berkeley.EDU
Fri Jan 18 18:39:31 EST 2008


On Fri, Jan 18, 2008 at 05:44:15PM +0100, Aidan Kehoe wrote:
>  > > Ilya, this is cperl-mode 5.23 with XEmacs 21.5.28, and the debugger backtrace 
>  > > for the error is:
>  > > 
>  > > Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>  > >   cperl-after-expr-p(nil "{;)")
>  > >   cperl-electric-lbrace(nil)
>  > >   call-interactively(cperl-electric-lbrace)
>  > > 
>  > > See more details below.
>  > 
>  > Sorry, this does not happen on my system.  I think I need the result
>  > of debugging of non-byte-compiled version.
> 
> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil)
>   goto-char(nil)
>   (progn (goto-char (previous-single-property-change ... ...)) (beginning-of-line 0))
>   (if (get-text-property (point) (quote here-doc-group)) (progn (goto-char ...) (beginning-of-line 0)))

I'm confused.  The only place previous-single-property-change appears
in the code the context is different...

Puzzled,
Ilya



More information about the XEmacs-Beta mailing list