Gnus development mailing list
 help / color / mirror / Atom feed
* gnus-article-hidden-text-p
@ 1999-02-04 21:15 James H. Cloos Jr.
  1999-02-09 14:56 ` gnus-article-hidden-text-p Lars Magne Ingebrigtsen
  0 siblings, 1 reply; 2+ messages in thread
From: James H. Cloos Jr. @ 1999-02-04 21:15 UTC (permalink / raw)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just added %w to my article-mode-line-format, and promptly noticed
that (gnus-article-hidden-text-p 'pgp) is returning nil for articles
that have had their OpenPGP stuff washed.

Seems article-hide-pgp just deletes the text rather than marking it.

Article-hide-headers takes an arg delete, and uses (delete-region b e)
when that is t, else (gnus-article-hide-text b e props).  Should the
other hiding functions do that as well?

I can code up a patch if you prefer.

- -JimC
- -- 
James H. Cloos, Jr.  <http://www.jhcloos.com/cloos/public_key> 1024D/ED7DAEA6 
<cloos@jhcloos.com>     E9E9 F828 61A4 6EA9 0F2B  63E7 997A 9F17 ED7D AEA6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v0.9.2 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE2ug3qmXqfF+19rqYRAuDJAJ9nmlQMdfNDBfg/6ak9NGbAYG6EmwCgr7B1
/QZErDjpKpuzf+imMO3W1Pc=
=SYmA
-----END PGP SIGNATURE-----


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnus-article-hidden-text-p
  1999-02-04 21:15 gnus-article-hidden-text-p James H. Cloos Jr.
@ 1999-02-09 14:56 ` Lars Magne Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Magne Ingebrigtsen @ 1999-02-09 14:56 UTC (permalink / raw)


"James H. Cloos Jr." <cloos@jhcloos.com> writes:

> Seems article-hide-pgp just deletes the text rather than marking it.
> 
> Article-hide-headers takes an arg delete, and uses (delete-region b e)
> when that is t, else (gnus-article-hide-text b e props).  Should the
> other hiding functions do that as well?

Hiding PGP creates lots of other problems, like removing blank lines
from the beginning of the articles, so I think it would be better if
`gnus-article-wash-status' used a different method to see what had
been hidden/deleted.  Fix in Pterodactyl Gnus v0.76.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1999-02-09 14:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-02-04 21:15 gnus-article-hidden-text-p James H. Cloos Jr.
1999-02-09 14:56 ` gnus-article-hidden-text-p Lars Magne Ingebrigtsen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).