From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60388 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.gnus.general Subject: Re: ldap cert retrieval and pem encoding Date: Tue, 31 May 2005 13:48:44 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Message-ID: References: <87wtpkbzyz.fsf@arnested.dk> <874qcnh9kb.fsf@arnested.dk> <87y89vrb7r.fsf@seamus.arnested.dk> Reply-To: Reiner Steib NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117540292 16733 80.91.229.2 (31 May 2005 11:51:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 11:51:32 +0000 (UTC) Original-X-From: ding-owner+M8914@lists.math.uh.edu Tue May 31 13:51:29 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd5Fr-0002Ys-EB for ding-account@gmane.org; Tue, 31 May 2005 13:49:55 +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 1Dd5HQ-0002H0-00; Tue, 31 May 2005 06:51:32 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dd5HM-0002Gv-00 for ding@lists.math.uh.edu; Tue, 31 May 2005 06:51:28 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dd5HJ-0004UC-BG for ding@lists.math.uh.edu; Tue, 31 May 2005 06:51:25 -0500 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 1Dd5HI-00056s-00 for ; Tue, 31 May 2005 13:51:24 +0200 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1Dd5DP-0002G7-CR for ding@gnus.org; Tue, 31 May 2005 13:47:23 +0200 Original-Received: from bridgekeeper.physik.uni-ulm.de ([134.60.10.123]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 13:47:23 +0200 Original-Received: from Reiner.Steib by bridgekeeper.physik.uni-ulm.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 31 May 2005 13:47:23 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-To: ding@gnus.org Original-Lines: 29 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: bridgekeeper.physik.uni-ulm.de X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T;w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv,vbL^XF1nIp\:F=$Ei2o&mEe:%N~,:3]vtQ~s9u$9izmX$IF@VgGl7/,^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) Cancel-Lock: sha1:KYM1ayg91cuNLrJjqS98M+z//yk= X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60388 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60388 On Tue, May 31 2005, Simon Josefsson wrote: > Ulf Stegemann writes: [...] >> 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 >> (cadaar ldapresult) >> "\\(\n\\|\r\\|-----BEGIN CERTIFICATE-----\\|-----END CERTIFICATE-----\\)" >> "" t)) > > This one too, let me know whether it works now. | - (replace-regexp-in-string [...] | + (replace-in-string [...[ We should use `gnus-replace-in-string' for compatibility with both, Emacs and XEmacs. Please note the different order of the arguments. Could someone sync the bugfixes in `smime.el' (and maybe related changes in other files) from the trunk to the v5-10 branch, please? Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/