🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: vm 5.x and Emacs 19.x

#8634
From: k p c
Date: Wed, 18 Aug 1993 00:30
49 lines
3257 bytes
Just setting vm-startup-with-summary is sufficient.  (My kludge works
pretty well, however, so it's not nearly as important as the following
problem.)

Meanwhile, I am having problems with vm-invisible-header-regexp and
vm-visible-headers in 5.34.  I had it perfectly set up before (in
5.32, 5.33, etc.), so that mail to or cc only me would not have the
"to" or "cc" header displayed.  The way I did it was to remove "to"
and "cc" from vm-visible-headers, and put a regexp in
vm-invisible-header-regexp that matched things like "to: *kpc$".  Then
if the message were to a mailing list or to me and somebody else, I
would see it at the end of the headers, but if it were ONLY to me, I
wouldn't see it.

But now it doesn't work: LOTS of things don't get shown, including
mail to mailing lists and to me and other people.  So either my regexp
is matching more now, or the logic is off.  Either way, I think
something might be wrong.

I think the logic might be off, since it looks like maybe anything I
DON'T put in vm-visible-headers is not displayed?  But I want all new
and unusual headers to be displayed, unless they match a regexp in my
vm-invisible-header-regexp.

I think the logic should be like this:

	matches vis and invis		not displayed
	matches vis but not invis	displayed in vis order
	matches invis but not vis	not displayed
	matches neither			displayed at end

I think this is the way you meant it to be.  But something is amiss.

You write:
>* fixed logic error in dealing with vm-visible-headers and
>  vm-invisible-header-regexp.  If header was matched by both
>  variables it would be displayed, which is wrong.

This isn't a case of that, since to and cc were not in
vm-visible-headers.  (Adding them helps, but i want all new and
unusual headers to be displayed.)

There is also a vm-visible-header-alist, which is undocumented.

--
kpc@ptolemy.arc.nasa.gov.  Interests: multidisciplinary neuroethology, AI, HCI.
($e1.(N~:UN!de+VQ!--;7xovIfA>~,(7"w{lA*(<wNiF@+cTEGdJ\nUJqT@}pam>gf7k[nS0d@z/Sx
ld!-wM2"xi#}<0RrsJ.~z!>ASbOUi\F(5V"_?j9(iN5G#]paiaRa<;`8Cz|Qe-O`6x1#h2t?2sTx*}k
I support people's freedom of health care.  I oppose the prescription monopoly.
Technical Details
Message-ID: <KPC.93Aug17163038@zog.arc.nasa.gov>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!elroy.jpl.nasa.gov!ames!kronos.arc.nasa.gov!pluto.arc.nasa.gov!kpc
References: <DTM.93Aug16180326@booyaa.Ebay.Sun.COM> <KPC.93Aug17013600@zog.arc.nasa.gov> <9308171219.AA02740@crystal.WonderWorks.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f6829,5023cabebce2249a
X-Google-Attributes: gidf6829,public
X-Google-ArrivalTime: 1993-08-17 18:05:12 PST
Newsgroups: gnu.emacs.vm.bug
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!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: vm 5.x and Emacs 19.x
In-Reply-To: kyle@crystal.WonderWorks.com's message of Tue, 17 Aug 1993 08:19:57 -0400
To: kyle@crystal.WonderWorks.com (Kyle Jones)
Message-ID: <KPC.93Aug17163038@zog.arc.nasa.gov>
Originator: kpc@zog.arc.nasa.gov
Sender: usenet@kronos.arc.nasa.gov (usenet@ptolemy.arc.nasa.gov)
Nntp-Posting-Host: zog.arc.nasa.gov
Reply-To: kpc@ptolemy.arc.nasa.gov
Organization: NASA Ames Research Center, AI Research and Aero Facil Branches
References: <DTM.93Aug16180326@booyaa.Ebay.Sun.COM> <KPC.93Aug17013600@zog.arc.nasa.gov>
 <9308171219.AA02740@crystal.WonderWorks.com>
Date: Wed, 18 Aug 1993 00:30:38 GMT
Lines: 49