Newsgroups: fj.editor.emacs
Path: galaxy.trc.rwcp.or.jp!jaist-news!cs.titech!wnoc-tyo-news!virgil!ccgwy!ccgwy!kuwada
From: kuwada@electra.ee.uec.ac.jp (Masayuki Kuwada)
Subject: Re: Q: VM-5.32
In-Reply-To: sasada@rook.fuis.fukui-u.ac.jp's message of 11 Mar 93 19:00:03 GMT
Message-ID: <KUWADA.93Mar12151954@electra.ee.uec.ac.jp>
Sender: news@ccgwy.cc.uec.ac.jp (Internet news)
Nntp-Posting-Host: electra.ee.uec.ac.jp
Organization: The University of Electro-Communications, Tokyo, Japan.
References: <SASADA.93Mar12040003@rook.fuis.fukui-u.ac.jp>
Date: Fri, 12 Mar 1993 06:19:54 GMT
Lines: 75
Xref: galaxy.trc.rwcp.or.jp fj.editor.emacs:3576
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.editor.emacs&nb=3576&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

>>>>> On 11 Mar 93 19:00:03 GMT,
>>>>> sasada@rook.fuis.fukui-u.ac.jp (Kunihiro Sasada) said:

sasada> $B$I$&$b!"$O$8$a$FEj9F$5$;$FD:$-$^$9!":{ED!wJ!0fBg3X$H?=$9$b$N$G$9!#(B

  $B$O$8$a$^$7$F!%7,ED!wEEDLBg$G$9!%(B

sasada>  $B$7$?$,$C$F$3$N@_Dj$r$7$?;~(B (= $B%5%^%j%P%C%U%!$,>e$K$"$k;~(B)$B$K!"$3$NJQ$J(B
sasada> $B8=>]$,5/$3$kMM$G$9!#(B
sasada> $B!t(B $B$b$A$m$s!":#Kx(B(5.31$B$N:"(B)$B$OLdBj$O$"$j$^$;$s$G$7$?!#(B

  $B0J2<$N(B patch $B$GD>$k$O$:$G$9!%(B

====================== start of patch =======================
Date: Fri, 6 Nov 1992 11:00:06 -0500
From: pds@lemming.webo.dg.com (Paul D. Smith)
Message-ID: <9211061600.AA05042@lemming.webo.dg.com>
Subject: VM Scrolling bug found?
Newsgroups: gnu.emacs.vm.bug
Lines: 45

Further checking reveals some more facts, and a solution (maybe?) to
the VM 5.32beta vm-scroll-forward problem I reported yesterday.

  * The problem only happens in vm-mutable-windows is t, not nil (I
    didn't try another value).

  * If you have a summary and a message displayed, then you use 'n' to
    get to the next message, it displays properly.

    However, if you then (with the cursor in the summary window) press
    SPC, it jumps forward about 1 1/2 pages in the message buffer so
    you lose part of the message.

I commented out the (scroll-up nil) line from
vm-page.el:vm-howl-if-eom and all the above problems were fixed.  I
don't know what the problem was/is, since it *seems* like the
save-window-excursion should take care of this scroll-up, but it
causes all sorts of problems and removing it doesn't seem to have much
of an effect.

Patch below.  If anyone has a better idea of what's going on/how to
fix it, please let me know, thanks,

                                                                paul
-----
 ------------------------------------------------------------------
| Paul D. Smith                          |    paul_smith@dg.com    |
| Data General Corp.                     | pds@lemming.webo.dg.com |
| Network Systems Development Division   |                         |
| Open Network Systems Development       |   "Pretty Damn S..."    |
 ------------------------------------------------------------------
-------------------------------------------------------------------------------
--- vm-page.el-dist     Mon Apr 22 20:50:05 1991
+++ vm-page.el  Fri Nov  6 10:46:52 1992
@@ -124,7 +124,9 @@
              (save-window-excursion
                (let ((next-screen-context-lines 0))
                  (condition-case ()
-                     (progn (select-window w) (scroll-up nil) nil)
+                     (progn (select-window w)
+                            ;(scroll-up nil)
+                            nil)
                    (error t)))))
            (= (vm-text-end-of (car vm-message-pointer)) (point-max))
            (vm-emit-eom-blurb))))))
-- 
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')
====================== end of patch =======================
--
                     $BEE5$DL?.Bg3X!!EE;R9)3X2J!!7,ED@59T(B
                          kuwada@soliton.ee.uec.ac.jp
