Article View: gnu.emacs.vm.bug
Article #8988Re: hooks
From: Len Weisberg
Date: Wed, 15 Jul 1992 18:51
Date: Wed, 15 Jul 1992 18:51
26 lines
1888 bytes
1888 bytes
> > > vm-preview-message-hook Called when a message is first displayed if > > > you have previewing enabled. > > > > What would hook functions expect the operating environment to be? > > Current buffer, clipping region, etc. This question applies to > > all of these hooks. > > I think the obvious thing would be that the current buffer is the folder > buffer, and the clipping region is the message as it is about to be displayed. > This would generally mean that the hidden headers aren't visible, and in the > case of previewing, most of the body isn't visible either. But it doesn't > matter. This is what my patch implemented, but if you want to implement > something else, that's fine too. We can adapt. If I had a preview-message hook available I would try to use it to make it obvious that the message is only partially displayed and perhaps indicate how much remains. Because a partial message looks so much like a complete (short) message, I have never used previewing at all. I mention this just to indicate a requirement that information be readily available to the hook function on how much of the message is undisplayed. This may (or may not) have some bearing on what is included in the clipping region. - Len Weisberg - weisberg@corp.hp.com - HP - Palo Alto Info Tech Center
Technical Details
Message-ID:
<30920033@hpcc01.corp.hp.com>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpcc01!weisbergReferences:
<9207050920.AA22276@thalidomide.lucid>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,58e2dd845b76f6d1 X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1992-07-15 12:44:54 PST From: weisberg@hpcc01.corp.hp.com (Len Weisberg) Date: Wed, 15 Jul 1992 18:51:15 GMT Subject: Re: hooks Message-ID: <30920033@hpcc01.corp.hp.com> Organization: HP Palo Alto Info Tech Center Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!sdd.hp.com!hpscdc!hplextra!hpcc05!hpcc01!weisberg Newsgroups: gnu.emacs.vm.bug References: <9207050920.AA22276@thalidomide.lucid> Lines: 26