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

Aidan Kehoe kehoea at parhasard.net
Sat Jan 19 10:50:39 EST 2008


 Ar an t-ochtú lá déag de mí Eanair, scríobh Ilya Zakharevich: 

 > 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...

Looks like Ville and I have the older version of cperl-mode.el that is in
the stable packages. The problem doesn’t appear with the version of
cperl-mode in the experimental packages directory. 

-- 
¿Dónde estará ahora mi sobrino Yoghurtu Nghé, que tuvo que huir
precipitadamente de la aldea por culpa de la escasez de rinocerontes?



More information about the XEmacs-Beta mailing list