🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vm.bug
Article #8785

vm-scroll-forward

#8785
From: -Keith Smolkowski-
Date: Fri, 12 Mar 1993 19:24
67 lines
3809 bytes
I recently started using the latest VM (beta) version, and I'm quite
pleased.  The upgrade from 4.41 was much needed.  But I encountered a
small problem with vm-scroll-forward when staring VM with the INBOX
summary.

First, the technical info.      VM:  5.32 (beta)
                             Emacs:  18.58.3 (GNU Emacs)
                                OS:  SunOS 4.1
                               Box:  Sun SPARCstation 2

When I read my first message (the first one I happen to read, not the
first one in my INBOX), I hit space to run vm-scroll-forward.  The
screen splits and my message appears like normal--almost.  VM displays
my message one screen's worth down.  That is, I miss the first section
of the message.  VM doesn't appear to recognise that I'm looking only at
a summary and that the screen has not yet been split.  Once I have read
a message, VM splits the screen, and everything works fine.

I have vm-preview-lines set to nil.  A few others have also noticed that
this happens when they have vm-preview-lines set to zero.  But when it's
set to something else, it's not as noticeable.  

Overall, this version of VM is a nice upgrade.  It fixed several bugs
that I had previously repaired in the older version we used.  I've
noticed that only two other minor problems still exist.

First, the regexp string that recognizes date formats (RFC 822) breaks
if the mailer doesn't attach a timezone (in vm-summary.el).  In
addition, the latest version broke when it hit a mixed-case month or
day.  I have replaced the string with the one below.  They are fairly
similar, I just added couple things.  I also added an if statement in
the code below this to account for the lack of timezone.

"\\(\\([A-Za-z][a-z][a-z]\\),\\)?[ \t\n]*\\([0-9][0-9]?\\)[ \t\n---]*\\([A-Za-z][a-z][a-z]\\)[ \t\n---]*[0-9]*\\([0-9][0-9]\\)[ \t\n]*\\([0-9:]+\\)[ \t\n]*\\([A-Za-z]?[a-z]?[a-z]?\\|[---+][0-9][0-9][0-9][0-9]\\)"

The other thing isn't really a problem at all, just a preference.  One
you may not think necessary, but I'll give you my two cents worth
anyway.  

In dired and the buffer-menu, the "x" key either deletions or executes
marks (deletions or saves).  In VM, the "x" quits without saving, and
without warning.  Many times, after reading all my mail, (and
consequently marking many messages as read, replied to, filed, or
deleted) I've hit the "x" to remove deleted messages (as I would in
dired or the buffer-menu).  I don't like to change keys for large groups
of people, so I simply added a query to the command:

    "Exit VM without saving (yes or no)?" 

This need not be an actuall "yes" or "no" response, a "y" or "n" would
be sufficient.

If you have any questions, of if wasn't clear, jus' buzz.


                             Thanks,
                                Keith


  ______________________________________________________________________
                                                               _    _
  o r e g o n  r e s e a r c h  i n s t i t u t e             ( )  |<  |
  _______________________________________________

  e u g e n e  o r e g o n
  ________________________
                                         keith smolkowski  keith@ori.org
Technical Details
Message-ID: <9303121924.AA07444@aragorn.ori.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,ea991f1374c28264,start
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1993-03-12 11:31:21 PST
x-gateway: rodan.UU.NET from bug-vm to gnu.emacs.vm.bug; Fri, 12 Mar 1993 14:27:23 EST
Date: Fri, 12 Mar 1993 11:24:21 PST
From: keith@aragorn.ori.org (-Keith Smolkowski-)
Message-ID: <9303121924.AA07444@aragorn.ori.org>
Subject: vm-scroll-forward
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!wendy-fate.uu.net!bug-vm
Sender: bug-vm-request@uunet.uu.net
Lines: 67