From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53843 Path: main.gmane.org!not-for-mail From: sigurd@12move.de (Karl =?iso-8859-1?q?Pfl=E4sterer?=) Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-url-mailto broken on foo+bar@somewhere.invalid Date: Wed, 27 Aug 2003 16:43:25 +0200 Organization: Lemis World Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1061995690 24542 80.91.224.253 (27 Aug 2003 14:48:10 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 27 Aug 2003 14:48:10 +0000 (UTC) Original-X-From: ding-owner+M2383@lists.math.uh.edu Wed Aug 27 16:48:09 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19s1ai-0001yL-00 for ; Wed, 27 Aug 2003 16:48:09 +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 19s1aL-0007Qk-00; Wed, 27 Aug 2003 09:47:45 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19s1aH-0007Qf-00 for ding@lists.math.uh.edu; Wed, 27 Aug 2003 09:47:41 -0500 Original-Received: (qmail 73971 invoked by alias); 27 Aug 2003 14:47:40 -0000 Original-Received: (qmail 73966 invoked from network); 27 Aug 2003 14:47:40 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by sclp3.sclp.com with SMTP; 27 Aug 2003 14:47:40 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 19s1gj-0001BE-00 for ; Wed, 27 Aug 2003 16:54:21 +0200 Original-To: ding@gnus.org Original-Path: wintendo.pflaesterer.de!not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 45 Original-NNTP-Posting-Host: p62.246.45.49.tisdip.tiscali.de Original-X-Trace: quimby.gnus.org 1061996061 4539 62.246.45.49 (27 Aug 2003 14:54:21 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 27 Aug 2003 14:54:21 GMT X-Face: #iIcL\6>Qj/G*F@AL9T*v/R$j@7Q`6#FU&Flg6u6aVsLdWf(H$U5>:;&*>oy>jOIWgA%8w* A!V7X`\fEGoQ[@D'@i^*p3FCC6&Rg~JT/H_*MOX;"o~flADb8^ Mail-Copies-To: never User-Agent: Gnus/5.1003 (Gnus v5.10.3) Hamster/2.0.2.2 Cancel-Lock: sha1:xahuZItG/B2TGNEldl7tNBU68tw= Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53843 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53843 On 27 Aug 2003, Reiner Steib <- 4.uce.03.r.s@nurfuerspam.de wrote: > On Tue, Aug 26 2003, Karl Pflästerer wrote: >> ;; Fixme: Do it like QP. >> (defun gnus-url-unhex-string (str &optional allow-newlines) >> "Remove %XX, embedded spaces, etc in a url. >> If optional second argument ALLOW-NEWLINES is non-nil, then allow the >> decoding of carriage returns and line feeds in the string, which is >> normally forbidden in URL encoding." [...] >> Two questions? >> (a) What's meant with the comment? > ShengHuo[1] changed the line like this: > - (setq str (or str "")) > + (setq str (or (mm-subst-char-in-string ?+ ? str) "")) > Wild guess: No error if `str' is nil? The comment was added later; I > couldn't find a ChangeLog entry for it. Sorry I was not clear enough. I meant the first comment `Fixme ..'. What's meant here? If we change something maybe we could do it right and follow the hint of that comment (as dark as it may be at the moment). >> (b) What is the substitution good for? > The reason AFAICS are info URLs like . It > has been introduced along with this ChangeLog entry (see patch > below[1]): If that would be the only reason it should be easy to solve as it's (X)Emacs internal. But according to there may be other reasons. Can someone shed some light on this? KP -- Männer der Wissenschaft! Man sagt ihr viele nach, aber die meisten mit Unrecht. Karl Kraus 'Aphorismen'