gjditchfield@WATMSG.WATERLOO.EDU (Glen Ditchfield) (05/25/89)
In outline mode, when C-c C-h is used to hide a section, that section does not disappear immediately. It does disappear when an ordinary character or M-x is typed, or when C-l is typed. (getenv "TERM") "wy75d" [ A Wyse 75 ] (getenv "TERMCAP") "uw|wysedumb|wy75d|wyse75dumb:is=\\E[?2h\\E[s\\E[35h\\E[1;24r\\E[u\\E[?3;5l\\E[?7h\\E[?1l\\E>\\E[p\\E[?25h\\E[20l:ms:dl=\\E[M:DL=\\E[%dM:al=\\E[L:AL=\\E[%dL:ic=\\E[@:dc=\\E[P:do=\\E[B:co#80:li#24:cl=100\\E[;H\\E[2J:le=\\E[D:xo:bs:cm=5\\E[%i%d;%dH:nd=2\\E[C:up=2\\E[A:LE=\\E[%dD:RI=\\E[%dC:UP=\\E[%dA:DO=\\E[%dB:ce=3\\E[K:cd=50\\E[J:so=2\\E[7m:se=2\\E[m:ct=\\E[3g:st=\\EH:ku=\\E[A:kd=\\E[B:kr=\\E[C:kl=\\E[D:kb=^H:ho=\\E[H:k0=\\EOP:k1=\\EOQ:k2=\\EOR:k3=\\EOS:l0=PF1:l1=PF2:l2=PF3:l3=PF4:pt:it#8:sr=5\\EM:sf=\\ED: vt#3:sc=\\E7:rc=\\E8:cs=\\E[%i%d;%dr:" (emacs-version) "GNU Emacs 18.54.11 of Fri May 19 1989 on watmath (berkeley-unix)" I can demonstrate the problem by typing the following, starting at the shell prompt. My comments are in square brackets. emacs -q <ret> C-x C-f t e m p <ret> [ Message "(new file)". ] <esc> x o u t l i n e <ret> [ Message "loading outline...done". ] * <sp> s e c t i o n <ret> * * <sp> s u b s e c t i o n <ret> * * <sp> s u b s e c t i o n <ret> * <sp> s e c t i o n <ret> C-p C-p C-p [ Cursor now on top line. ] C-c C-h [ The subsection lines should have disappeared, but they are still visible. ] C-b C-n C-f C-p [ The cursor moves around, but the display doesn't change. ] x [ Now the subsection lines disappear. ] The problem also occurs with the C-c C-s command in outline mode, and also affects a minor mode I cobbled together that uses selective-dislay. Glen Ditchfield gjditchfield@violet.uwaterloo.ca Office: DC 2517 Dept. of Computer Science, U of Waterloo, Waterloo, Ontario, Canada, N2L 3G1 "... and the rest, we will spend foolishly!" -- _Svengali_