From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/66850 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: nnir.el swish++ interface broken Date: Sat, 19 Apr 2008 19:36:57 +0200 Message-ID: References: <87y77fiszu.fsf@ID-24456.user.uni-berlin.de> <87lk3fvw4l.fsf@ID-24456.user.uni-berlin.de> <873apmapq9.fsf_-_@ID-24456.user.uni-berlin.de> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1208632100 7311 80.91.229.12 (19 Apr 2008 19:08:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 19 Apr 2008 19:08:20 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M15332@lists.math.uh.edu Sat Apr 19 21:08:55 2008 connect(): Connection refused 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.50) id 1JnIQc-0004BW-BZ for ding-account@gmane.org; Sat, 19 Apr 2008 21:08:50 +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 1JnIPT-0007Qc-U2; Sat, 19 Apr 2008 14:07:39 -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 1JnI36-0007Jw-OO for ding@lists.math.uh.edu; Sat, 19 Apr 2008 13:44:32 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.67) (envelope-from ) id 1JnI30-00055F-HM for ding@lists.math.uh.edu; Sat, 19 Apr 2008 13:44:32 -0500 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1JnI3B-00062l-00 for ; Sat, 19 Apr 2008 20:44:37 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m3JIiOJT019738 for ; Sat, 19 Apr 2008 20:44:24 +0200 (MEST) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id DB3CF1302E for ; Sat, 19 Apr 2008 20:44:23 +0200 (CEST) X-Face: P05mdcZT&lL[-s2=mw~RsllZ0zZAb?vdE}.s (Justus-bulk@piater.name's message of "Thu, 17 Apr 2008 09:20:53 +0200") User-Agent: Gnus/5.110009 (No Gnus v0.9) Emacs/22.2.50 (gnu/linux) X-DCC-Misty-Metrics: poseidon 1170; Body=1 Fuz1=1 Fuz2=1 X-Virus-Scanned: by amavisd-new X-Spam-Score: -2.6 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:66850 Archived-At: On Thu, Apr 17 2008, Justus-bulk@Piater.name wrote: > Reiner Steib wrote: >> This isn't based on the current CVS version. Could you please provide >> a diff against current CVS? > > Attached. Thanks, installed. Next time, please also provide a ChangeLog entry. BTW... (setq dirnam (substring dirnam 0 (if (string= server "nnmaildir:") -5 -1))) ;; eliminate all ".", "/", "\" from beginning. Always matches. (string-match "^[./\\]*\\(.*\\)$" dirnam) (setq group (substitute ?. ?/ (match-string 1 dirnam))) ;; "/" -> "." (setq group (substitute ?. ?\\ group)) ;; "\\" -> "." I'm not sure what values of dirnam and group need to be considered. Maybe using `gnus-replace-in-string' could simplify this code? Additionally, `substitute' is a function from the `cl' package. While it is okay to use cl macros at compile time[1], using cl at runtime. > I also updated the complete file on my Web server. I'd suggest not to distribute Gnus files on your Web server. Bye, Reiner. [1] (eval-when-compile (require 'cl)) -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/