From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/79904 Path: news.gmane.org!not-for-mail From: Dave Abrahams Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-treat-[hide-citation[-maybe]] Date: Sun, 11 Sep 2011 06:24:52 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1315737541 1368 80.91.229.12 (11 Sep 2011 10:39:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Sep 2011 10:39:01 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M28198@lists.math.uh.edu Sun Sep 11 12:38:56 2011 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R2hR8-0001pE-Nl for ding-account@gmane.org; Sun, 11 Sep 2011 12:38:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1R2hR0-0002Bs-MD; Sun, 11 Sep 2011 05:38:46 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1R2hQz-0002Bl-Bj for ding@lists.math.uh.edu; Sun, 11 Sep 2011 05:38:45 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1R2hQy-0001Ij-4w for ding@lists.math.uh.edu; Sun, 11 Sep 2011 05:38:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1R2hQw-0004sF-PS for ding@gnus.org; Sun, 11 Sep 2011 12:38:42 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1R2hQv-0001je-Ch for ding@gnus.org; Sun, 11 Sep 2011 12:38:41 +0200 Original-Received: from 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com ([207.172.223.249]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 12:38:41 +0200 Original-Received: from dave by 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 11 Sep 2011 12:38:41 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 50 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 207-172-223-249.c3-0.smr-ubr3.sbo-smr.ma.static.cable.rcn.com User-Agent: Gnus/5.110018 (No Gnus v0.18) Emacs/23.3 (darwin) Cancel-Lock: sha1:8DUtXOJRPlpSCEFL2tM4zbxm75Q= X-Spam-Score: -5.4 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:79904 Archived-At: on Sat Sep 10 2011, Lars Magne Ingebrigtsen wrote: > Dave Abrahams writes: > >> Furthermore, I'd like that capability for all of the `treat-' things. >> You give me the "integer" option which says "apply if the thing is less >> than n characters," which seems like it must've been designed for an era >> when CPU cycles were much more expensive than they are now, or for >> people who get truly enormous messages. > > That era is approaching again, as Emacs moves to cell phones... :-) Meh; my phone is more powerful than that era's desktops >> But for any `treat-' action whose business is hiding information >> that's going to get in my way, I usually only want it when the thing >> in question gets really big. For example, I want to see peoples' >> signatures, but if their company forces them to write an obnoxiously >> long disclaimer in the signature area, well, I don't want to see that. > > Yes, having that treatment function only trigger on long signatures > would be nice. So a way to specify a, er, sort of algorithm-specific > input to each treatment function would be nice. One easy change would be to make negative numbers set a minimum length for applicability. > Anyway, I've made the doc string of `gnus-treat-hide-citation-maybe' > more sensible. "Hide cited text according to certain conditions?" That's not much help. Those "certain conditions" (head,first,last,integer,predicate) seem to apply to all treatments. If so, saying "according to certain conditions" is more confusing than helpful: it implies that the available conditions are different for this treatment Here's how I currently see these two treatments: gnus-treat-hide-citation-maybe: completely hide cited text gnus-treat-hide-citation: hide some portion of cited text is this an inaccurate understanding? -- Dave Abrahams BoostPro Computing http://www.boostpro.com