Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!caip!lll-crg!nike!ucbcad!ucbvax!hplabs!hp-pcd!craig From: craig@hp-pcd.UUCP (craig) Newsgroups: net.sources.bugs Subject: bug in microemacs 3.6 Message-ID: <41300004@hpcvlo.UUCP> Date: Thu, 31-Jul-86 12:34:00 EDT Article-I.D.: hpcvlo.41300004 Posted: Thu Jul 31 12:34:00 1986 Date-Received: Sun, 3-Aug-86 03:44:38 EDT Organization: Hewlett-Packard - Corvallis, OR Lines: 24 Nf-ID: #N:hpcvlo:41300004:000:957 Nf-From: hpcvlo!craig Jul 31 08:34:00 1986 Bug in microemacs 3.6 Heres a bug you probably won't run into very often: If you are in the [List] buffer (created by ^X^B) and read in a file (^X^R) or insert a file, the list buffer becomes unmagic (ie it shows up in the buffer list). This means you can kill it (^XK) which in turns tanks microemacs since the [List] buffer is hardcoded (via blistp) and is never checked for. Fixes: in readin() and ifile() you will see something like: bp->b_flag &= ~(BFTEMP|BFCHG); change this to: bp->b_flag &= ~(BFCHG); or if you are more adventurous, make the [List] a normal buffer that can be killed (the real fix in my humble opinion). --- Craig "Who needs TV when I got T Rex?" Durland (503) 757-2000 x3354 Hewlett-Packard, 1000 NE Circle Boulevard, Corvallis, OR 97330 ~~~~~~~~~~~~~~~ hplabs ---->\ harpo ----> \ orstcs ----> >--!hp-pcd!craig microsoft ----> / textronix ---->/ ~~~~~~~~~~~~~~~