[Top][All Lists]

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

Re: emacs crashes with eval-region and marker

From: Richard Stallman
Subject: Re: emacs crashes with eval-region and marker
Date: Fri, 08 Apr 2005 23:38:44 -0400

    Fprint uses PRINTPREPARE which will try to set point at the marker

       if (MARKERP (printcharfun))                                              
           SET_PT_BOTH (marker_position (printcharfun),                 \
                        marker_byte_position (printcharfun));           \

I think the error is here.  At least, this is one error.
It's a bug to set point to a value outside the buffer bounds.
So this code has to check for that.

Strictly speaking, Feval_region ought to handle output into other
parts of the buffer outside the region to be evaluated.  But I don't
think it is crucial to make that work.

reply via email to

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