From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/52374 Path: main.gmane.org!not-for-mail From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: mail-sources backend specific? Date: Tue, 06 May 2003 18:31:05 +0200 Organization: University of Duisburg, Germany Sender: ding-owner@lists.math.uh.edu Message-ID: <84znm0ujee.fsf@lucy.is.informatik.uni-duisburg.de> References: <84u1cknes9.fsf@lucy.is.informatik.uni-duisburg.de> <87fznxzemr.fsf@wmipf.in-berlin.de> <84d6j1bhn3.fsf@lucy.is.informatik.uni-duisburg.de> <87el3hxw5b.fsf@wmipf.in-berlin.de> <84isstiewq.fsf@lucy.is.informatik.uni-duisburg.de> <87he8d752z.fsf@wmipf.in-berlin.de> <87he8cav01.fsf@wmipf.in-berlin.de> <8465ost014.fsf@lucy.is.informatik.uni-duisburg.de> <87znm3g5qz.fsf@wmipf.in-berlin.de> <847k97zr1k.fsf@lucy.is.informatik.uni-duisburg.de> <87r87fph6s.fsf@wmipf.in-berlin.de> <84el3eet60.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1052249407 3136 80.91.224.249 (6 May 2003 19:30:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 6 May 2003 19:30:07 +0000 (UTC) Original-X-From: ding-owner+M917@lists.math.uh.edu Tue May 06 21:30:01 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19D87t-0000kR-00 for ; Tue, 06 May 2003 21:29:21 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19D883-0007u2-00; Tue, 06 May 2003 14:29:31 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19D87X-0007tD-00 for ding@lists.math.uh.edu; Tue, 06 May 2003 14:28:59 -0500 Original-Received: (qmail 98717 invoked by alias); 6 May 2003 19:28:59 -0000 Original-Received: (qmail 98711 invoked from network); 6 May 2003 19:28:58 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 6 May 2003 19:28:58 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19D89m-0001uK-00 for ; Tue, 06 May 2003 21:31:18 +0200 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 36 Original-NNTP-Posting-Host: pd9e1e9a2.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1052249478 7335 217.225.233.162 (6 May 2003 19:31:18 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 6 May 2003 19:31:18 GMT Mail-Copies-To: never User-Agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:/R1OxRtNZJuoV1s0W6h7UamQMuQ= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:52374 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:52374 prj@po.cwru.edu (Paul Jarc) writes: > nnmaildir does not use nnoo, and its server parameters are not > prefixed with "nnmaildir-". It does not use global variables to > represent its server parameters. So there is no problem here: Well, err, it sounds as if the mail-sources trick wouldn't work for nnmaildir in that case. Sounds like a rather complicated situation. Maybe we could introduce something like gnus-group-find-parameter (or was it gnus-group-get-parameter?) for server `variables'? Then all places would say (mumble 'mail-sources) instead of mail-sources, and mumble would know to look in the server first, and then in the global variable. But that would require large-scale changing of the source. Hm. Oh! There is already a mechanism for local variables -- the buffers. So do people think it would work to set the variables local to the right buffers? Another possibility might be to wrap calls to interesting functions in a macro which constructs a let form that binds all variables to the server parameters, if server parameters do indeed exist. Complicated. I don't like it. But I think it's just the current design. Is there a chance for making it more sane? I think what Gnus needs is an OOPS. -- OOA: object-oriented analysis OOD: object-oriented design OOPS: object-oriented mistakes