From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/59787 Path: main.gmane.org!not-for-mail From: Ralf Angeli Newsgroups: gmane.emacs.gnus.general Subject: Re: Altering maximum article download size for agent Date: Sat, 12 Feb 2005 18:50:53 +0100 Message-ID: References: Reply-To: angeli@iwi.uni-sb.de NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1108230847 9160 80.91.229.2 (12 Feb 2005 17:54:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 12 Feb 2005 17:54:07 +0000 (UTC) Original-X-From: ding-owner+M8328@lists.math.uh.edu Sat Feb 12 18:54:07 2005 Original-Received: from malifon.math.uh.edu ([129.7.128.13] ident=mail) by ciao.gmane.org with esmtp (Exim 4.43) id 1D01RH-0004FM-8V for ding-account@gmane.org; Sat, 12 Feb 2005 18:52:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1D01QS-00056q-00; Sat, 12 Feb 2005 11:51:24 -0600 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1D01QN-00056l-00 for ding@lists.math.uh.edu; Sat, 12 Feb 2005 11:51:19 -0600 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1D01QE-0008GD-0Q for ding@lists.math.uh.edu; Sat, 12 Feb 2005 11:51:10 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1D01QC-0007SD-00 for ; Sat, 12 Feb 2005 18:51:08 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1D01O6-0003nP-W3 for ding@gnus.org; Sat, 12 Feb 2005 18:48:59 +0100 Original-Received: from iwi190.iwi.uni-sb.de ([134.96.72.190]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2005 18:48:58 +0100 Original-Received: from angeli by iwi190.iwi.uni-sb.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Feb 2005 18:48:58 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-To: ding@gnus.org Original-Lines: 60 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: iwi190.iwi.uni-sb.de Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAABg3Am1AAAANlBMVEUAAAD7+vVSPEL+/v79 /v1rDy/y7uQtAhK3tbD99doDAALV08n////+//78/fw7ARdgBieLg4LQmlLpAAACPklEQVR4nK2V 27KrMAiGTUCC0OLi/V92kRitp73HziwuOq3m4+cQ6PD60oY/AVCZEzwHkBXZ6Tmgikmc7yVuAGQD UOLHCqgEL7DnCpCYEFUfK1TCs9tz4AXokvEL4AUq5RuFF5DIF30IwES+SLoSRZ73Ifyri+To3xMA AMxlkDCPjsMZugLEWYZmkp3p/wAaeRl2JsXJENDwCgBgXKAiMhyIkMk5+zYeGwBG7J4P/ltYzYPk lfgAfD7bFSQEQpfxBCSpb6+Aa6SQONMZsOxK6VOifn6ZiigG2xEA1Vp0SOR7Ii/NI+d1PlbAFg+Y i+5z8SWQuO3GR6A7AM/Jd0A/FQrYR3YD+m02xF1MkQL0Htk/gKbfzvbrtD6lUw601hksWlVy9LBW XxT603OVMHZjfQfI4XeKLZCdtEgmeLfz5z7U3WJtFMKvTrnGw1OMReHaHd4i3t0lj2LzEk98cVeN 4ntDM8IFiLzbK9cprH0spl52ue+BGLTC05252/sGwJTp9vw0MV2Aeo/IWwjcTav58t1OOcTgx6YY R47jyqafFFRtV6INqLM8VvMIim2fCZsnvABA42pRTdoB5DEJ7yMQs/8535iltDUbrx4OC60BqcYT TSg/4425nUIC4Hhc2kzLDeJ4DimNTaBviZD5mRs3N8VMh3+KCqwC22IRiQfzOEvfsEcgbt1HYNuQ s5RwUtdYOQFv06reHB/2V/1dgXWGVmAVCFdyPF+ntMQK8RNAY6/pvKUd80AxERXKsZsOwC94/1VQ /4fx6QAAAABJRU5ErkJggg== User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:vxwyJjzD+EnYjKZc0ml46KM9J9o= X-Spam-Score: -4.8 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu X-MailScanner-From: ding-owner+m8328@lists.math.uh.edu X-MailScanner-To: ding-account@gmane.org Xref: main.gmane.org gmane.emacs.gnus.general:59787 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:59787 * Kevin Greiner (2005-02-12) writes: > Ralf Angeli writes: > >> * Kevin Greiner (2005-02-09) writes: >> >>> Ralf Angeli writes: >>> >>>> ,----[ ~/News/agent/lib/categories ] >>>> | ((default short nil nil)) >>>> | ((default (agent-length-when-short . 150) (agent-predicate . short))) >>>> `---- [...] >>> What do you get when you do the following in the group buffer? >>> >>> M-: (gnus-agent-find-parameter "group-name-as-displayed-in-group-buffer" 'agent-short-article) >>> >>> It should return your 150. >> >> Unfortunately not: >> >> 100 (0144, 0x64) >> >>> What does this return? >>> M-: (gnus-get-predicate (gnus-agent-find-parameter "group-name-as-displayed-in-group-buffer" 'agent-predicate)) >> >> gnus-agent-short-p Addendum to the above: My primary select method is nnnil and I don't have a standard group line, so I used both the full name (e.g. nntp+news.gmane.org:gmane.emacs.gnus.general) and the short name (e.g. gmane.emacs.gnus.general) for those tests which both returned the same values. > Nothing unfortunate. The gnus-agent-find-parameter function checks for > group parameters before your category parameter. Try this, open your > group then enter 'M-x c-e' to edit group parameters. I believe that > you'll find the 100 there. Sorry, I don't understand that key sequence. But I think the output of `M-: (gnus-group-find-parameter "nntp+news.gmane.org:gmane.emacs.gnus.general" 'agent-short-article t) RET' would do as well. This is nil. Stepping through `gnus-agent-find-parameter' I saw that the call to `gnus-group-parameter-value' returns nil as well. And after stepping through `gnus-group-parameter-value' I think it would work if 'agent-short-article and 'agent-length-when-short would not be different symbols. In that case the `(eq (car elem) symbol)' test in `gnus-group-parameter-value' would return t and the function would return the value of 150 specified in the categories file. Checking ... `M-: (gnus-agent-find-parameter "nntp+news.gmane.org:gmane.emacs.gnus.general" 'agent-length-when-short) RET' 150 (0226, 0x96) -- Ralf