From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60386 Path: news.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: ldap cert retrieval and pem encoding Date: Tue, 31 May 2005 13:29:33 +0200 Message-ID: References: <87wtpkbzyz.fsf@arnested.dk> <874qcnh9kb.fsf@arnested.dk> <87y89vrb7r.fsf@seamus.arnested.dk> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117538957 12723 80.91.229.2 (31 May 2005 11:29:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 11:29:17 +0000 (UTC) Cc: Arne =?iso-8859-1?Q?J=F8rgensen?= , ding@gnus.org Original-X-From: ding-owner+M8913@lists.math.uh.edu Tue May 31 13:29:15 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd4v4-00006v-MU for ding-account@gmane.org; Tue, 31 May 2005 13:28:27 +0200 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 1Dd4wu-0002AV-00; Tue, 31 May 2005 06:30:20 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dd4wq-0002AQ-00 for ding@lists.math.uh.edu; Tue, 31 May 2005 06:30:16 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dd4wn-0004FY-DT for ding@lists.math.uh.edu; Tue, 31 May 2005 06:30:13 -0500 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net ([217.13.230.178] helo=yxa.extundo.com) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dd4wd-0004oK-00 for ; Tue, 31 May 2005 13:30:05 +0200 Original-Received: from latte.josefsson.org (c494102a.s-bi.bostream.se [217.215.27.65]) (authenticated bits=0) by yxa.extundo.com (8.13.4/8.13.4/Debian-1) with ESMTP id j4VBTbfk018566 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 31 May 2005 13:29:45 +0200 Original-To: Ulf Stegemann OpenPGP: id=B565716F; url=http://josefsson.org/key.txt X-Hashcash: 1:21:050531:arne@arnested.dk::kPkQJtkqIdaEUGJG:G2R7 X-Hashcash: 1:21:050531:ding@gnus.org::JOdlort6+prxT8d3:CVGU X-Hashcash: 1:21:050531:ulf@zeitform.de::6VmodsacwpmqbPS9:ReKt In-Reply-To: (Ulf Stegemann's message of "Tue, 31 May 2005 13:21:32 +0200") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Spam-Status: No, score=0.1 required=5.0 tests=FORGED_RCVD_HELO autolearn=failed version=3.0.3 X-Spam-Checker-Version: SpamAssassin 3.0.3 (2005-04-27) on yxa-iv X-Virus-Scanned: ClamAV version 0.84, clamav-milter version 0.84e on yxa.extundo.com X-Virus-Status: Clean X-MIME-Autoconverted: from 8bit to quoted-printable by yxa.extundo.com id j4VBTbfk018566 X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60386 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60386 Ulf Stegemann writes: > Arne J=F8rgensen wrote: > >> I have implemented the above strategy. > > Great! Applied to CVS. > It seems that replace-regexp-in-string is not known to xemacs but only to > emacs. Furthermore, there's a typo in the regex ('\||\r' instead of '\\|= \r'). > The following replacement does the job here (XEmacs 21.4 (patch 17)): > > (replace-in-string=20 > (cadaar ldapresult)=20 > "\\(\n\\|\r\\|-----BEGIN CERTIFICATE-----\\|-----END CERTIFICATE-----\= \)" > "" t)) This one too, let me know whether it works now. Thanks!