emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs crashes with eval-region and marker


From: Stefan Monnier
Subject: Re: emacs crashes with eval-region and marker
Date: Fri, 08 Apr 2005 10:13:49 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (darwin)

>>> +    int marker_pos = -1;
>> 
>> This should be EMACS_INT, since Lisp_Object can be 64bit even if int is
>> only 32bit 

> I just checked:

>   /* Return the char position of marker MARKER, as a C integer.  */

>   int
>   marker_position (marker)
>        Lisp_Object marker;
>   {

> and figured it should be an int.

Yes, as I said: it's a very widespread problem.

> I'll be happy to start the habit of using EMACS_INT.

Thanks,


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]