home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / gnu / emacs / vm / bug / 635 < prev    next >
Encoding:
Text File  |  1992-11-08  |  2.4 KB  |  56 lines

  1. x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Fri, 6 Nov 1992 12:09:05 EST
  2. Date: Fri, 6 Nov 1992 11:00:06 -0500
  3. From: pds@lemming.webo.dg.com (Paul D. Smith)
  4. Message-ID: <9211061600.AA05042@lemming.webo.dg.com>
  5. Subject: VM Scrolling bug found?
  6. Newsgroups: gnu.emacs.vm.bug
  7. Path: sparky!uunet!wendy-fate.uu.net!bug-vm
  8. Sender: bug-vm-request@uunet.uu.net
  9. Lines: 45
  10.  
  11. Further checking reveals some more facts, and a solution (maybe?) to
  12. the VM 5.32beta vm-scroll-forward problem I reported yesterday.
  13.  
  14.   * The problem only happens in vm-mutable-windows is t, not nil (I
  15.     didn't try another value).
  16.  
  17.   * If you have a summary and a message displayed, then you use 'n' to
  18.     get to the next message, it displays properly.
  19.  
  20.     However, if you then (with the cursor in the summary window) press
  21.     SPC, it jumps forward about 1 1/2 pages in the message buffer so
  22.     you lose part of the message.
  23.  
  24. I commented out the (scroll-up nil) line from
  25. vm-page.el:vm-howl-if-eom and all the above problems were fixed.  I
  26. don't know what the problem was/is, since it *seems* like the
  27. save-window-excursion should take care of this scroll-up, but it
  28. causes all sorts of problems and removing it doesn't seem to have much
  29. of an effect.
  30.  
  31. Patch below.  If anyone has a better idea of what's going on/how to
  32. fix it, please let me know, thanks,
  33.  
  34.                                                                 paul
  35. -----
  36.  ------------------------------------------------------------------
  37. | Paul D. Smith                          |    paul_smith@dg.com    |
  38. | Data General Corp.                     | pds@lemming.webo.dg.com |
  39. | Network Systems Development Division   |                         |
  40. | Open Network Systems Development       |   "Pretty Damn S..."    |
  41.  ------------------------------------------------------------------
  42. -------------------------------------------------------------------------------
  43. --- vm-page.el-dist     Mon Apr 22 20:50:05 1991
  44. +++ vm-page.el  Fri Nov  6 10:46:52 1992
  45. @@ -124,7 +124,9 @@
  46.               (save-window-excursion
  47.                 (let ((next-screen-context-lines 0))
  48.                   (condition-case ()
  49. -                     (progn (select-window w) (scroll-up nil) nil)
  50. +                     (progn (select-window w)
  51. +                            ;(scroll-up nil)
  52. +                            nil)
  53.                     (error t)))))
  54.             (= (vm-text-end-of (car vm-message-pointer)) (point-max))
  55.             (vm-emit-eom-blurb))))))
  56.