🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #1640

Re: small POS bug in the modeline

#1640
From: John Robinson
Date: Fri, 28 Apr 1989 03:08
28 lines
1784 bytes
In article <8904280029.AA10060@spam>, leblanc@BOSCO writes:
>Emacs Version:
>    "GNU Emacs 18.51.1 of Wed May 25 1988 on yuban (berkeley-unix)"
>
>Problem:
>    I started up emacs with the "-q" flag and then typed "C-x m" to get
>into "mail"; POS on the modeline was "All".
>
>    I typed lines into the buffer until I got to the line immediately
>above the modeline.  After typing a few characters on the line
>immediately above the modeline, and WITHOUT typing a carriage return, I
>signed the mail with "C-c C-w" ("mail-signature").  POS was still "All",
>although there was now text below the screen.

The problem is in mail-signature.  Any function that might cause the
modeline to need to be redisplayed has to explicitly force this to
happen.  For example, auto-insert in fact causes the % number (when
that is when is displayed) to change by a little as you type more
characters afer the top of screen, in a relativlyy small file.  But
the modeline doesn't change.  The effort to recompute the modeline on
every keystroke is simply not worth it.  Functions like mail-signature
are perhaps beter candidates, but they only mess up under contrived
circumstances.  At any rate, a ^L will fix it, as will any scroll
command (^V, M-V).
--
/jr
jr@bbn.com or bbn!jr
C'mon big money!
Technical Details
Message-ID: <39220@bbn.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!jr@bbn.com
References: <8904280029.AA10060@spam>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!jr@bbn.com
From: jr@bbn.com (John Robinson)
Newsgroups: gnu.emacs.bug
Subject: Re: small POS bug in the modeline
Message-ID: <39220@bbn.COM>
Date: 28 Apr 89 03:08:35 GMT
References: <8904280029.AA10060@spam>
Sender: news@bbn.COM
Reply-To: jr@bbn.com (John Robinson)
Distribution: gnu
Organization: BBN Systems and Technologies Corporation, Cambridge MA
Lines: 28
In-reply-to: leblanc@BOSCO.BERKELEY.EDU