Article View: gnu.emacs.vm.bug
Article #9231Re: fancy date formatter based on the age of a message
From: k p c
Date: Wed, 29 Jan 1992 04:21
Date: Wed, 29 Jan 1992 04:21
22 lines
1671 bytes
1671 bytes
In article <9201280047.AA14058@wendy-fate.UU.NET> kyle@wendy-fate.uu.net writes:
k p c writes:
> (defun my-vm-toggle-summary-format ()
> (interactive)
> (if (equal my-vm-summary-type 2)
> (setq vm-summary-format my-vm-summary-format-type-1
> my-vm-summary-type 1)
> (setq vm-summary-format my-vm-summary-format-type-2
> my-vm-summary-type 2))
> (message "type %d" my-vm-summary-type)
> (vm-update-summary-and-mode-line))
Add this line just before (vm-update-summary-and-mode-line):
(vm-discard-cached-data)
thanks. this updates one line. how do i have it update the whole
summary?
--
o I seek a cottage, an in-law unit, or shared housing (with ethical nonsmokers)
in Palo Alto, Woodside, Portola V., Los Altos Hills, Los Altos, or Cupertino.
Technical Details
Message-ID:
<KPC.92Jan28202151@zog.arc.nasa.gov>Path:
arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!kronos.arc.nasa.gov!pluto.arc.nasa.gov!kpcReferences:
<KPC.92Jan26152551@chaos.arc.nasa.gov> <9201280047.AA14058@wendy-fate.UU.NET>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f6829,df1b868ecf01259d X-Google-Attributes: gidf6829,public X-Google-ArrivalTime: 1992-01-28 20:56:49 PST Newsgroups: gnu.emacs.vm.bug Path: arc1-ca.pugleaf.net!sparky!uunet!elroy.jpl.nasa.gov!ames!kronos.arc.nasa.gov!pluto.arc.nasa.gov!kpc From: kpc@pluto.arc.nasa.gov (k p c) Subject: Re: fancy date formatter based on the age of a message In-Reply-To: kyle@wendy-fate.uu.net's message of 28 Jan 92 00:47:32 GMT Message-ID: <KPC.92Jan28202151@zog.arc.nasa.gov> Sender: usenet@kronos.arc.nasa.gov (Will Edgington, wedgingt@ptolemy.arc.nasa.gov) Nntp-Posting-Host: zog.arc.nasa.gov Organization: NASA Ames Research Center (Sterling) References: <KPC.92Jan26152551@chaos.arc.nasa.gov> <9201280047.AA14058@wendy-fate.UU.NET> Date: Wed, 29 Jan 1992 04:21:51 GMT