Article View: gnu.emacs.bug
Article #98753Re: emacs aborts after asking for RMAIL-summary
From: Piet van Oostrum
Date: Sat, 06 Apr 1991 09:07
Date: Sat, 06 Apr 1991 09:07
47 lines
2229 bytes
2229 bytes
ere is the patch for unshow_buffer for emacs 18.55:
*** window.c.~1~ Fri Sep 15 15:19:26 1989
--- window.c Thu Apr 4 09:42:48 1991
***************
*** 881,891 ****
if (XBUFFER (buf) == bf_cur)
{
if (w != XWINDOW (selected_window))
! point = marker_position (w->pointm);
}
else
! XBUFFER (buf)->text.pointloc =
! marker_position (w->pointm);
XBUFFER (buf)->last_window_start =
marker_position (w->start);
}
--- 881,904 ----
if (XBUFFER (buf) == bf_cur)
{
if (w != XWINDOW (selected_window))
! {
! point = marker_position (w->pointm);
! if (point < FirstCharacter)
! point = FirstCharacter;
! if (point > NumCharacters + 1)
! point = NumCharacters + 1;
! }
}
else
! {
! int pl = marker_position (w->pointm);
! struct buffer_text *bt = & XBUFFER (buf)->text;
! if (pl < bt->head_clip)
! pl = bt->head_clip;
! if (pl > bt->size1 + bt->size2 - bt->tail_clip + 1)
! pl = bt->size1 + bt->size2 - bt->tail_clip + 1;
! bt->pointloc = pl;
! }
XBUFFER (buf)->last_window_start =
marker_position (w->start);
}
--
Piet* van Oostrum, Dept of Computer Science, Utrecht University,
Padualaan 14, P.O. Box 80.089, 3508 TB Utrecht, The Netherlands.
Telephone: +31 30 531806 Uucp: uunet!mcsun!ruuinf!piet
Telefax: +31 30 513791 Internet: piet@cs.ruu.nl (*`Pete')
Technical Details
Message-ID:
<1991Apr06.090756.18744@cs.ruu.nl>Path:
arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbageShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,e7ddce83d77b5594 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1991-04-06 01:07:56 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!fauern!ira.uka.de!sol.ctr.columbia.edu!lll-winken!elroy.jpl.nasa.gov!swrinde!ucsd!ucbvax!tut.cis.ohio-state.edu!unreplyable!garbage From: piet@cs.ruu.nl (Piet van Oostrum) Newsgroups: gnu.emacs.bug Subject: Re: emacs aborts after asking for RMAIL-summary Message-ID: <1991Apr06.090756.18744@cs.ruu.nl> Date: 6 Apr 91 09:07:56 GMT Sender: daemon@tut.cis.ohio-state.edu Reply-To: piet@cs.ruu.nl (Piet van Oostrum) Distribution: gnu Organization: Dept of Computer Science, Utrecht University, The Netherlands Lines: 47 Approved: bug-gnu-emacs@prep.ai.mit.edu