Gnus development mailing list
 help / color / mirror / Atom feed
From: Andrew J Cosgriff <ajc@polydistortion.net>
Subject: Re: [patch] extremely minor aesthetics in nnrss.el
Date: 24 Apr 2002 08:01:51 GMT	[thread overview]
Message-ID: <1yhem134rz.fsf@earthling.aia.aig.com.au> (raw)
In-Reply-To: <1yd6wp4trn.fsf@earthling.aia.aig.com.au>

ajc wrote :

> This is entirely frivolous, but now the whole world can know we're
> using Gnus to read our RSS feeds.  Instead of this :

dang. somewhere in the fuzz between my ears I remembered that emacs 20
doesn't have replace-in-string, does it ?

and emacs 21 seems to have a "replace-regexp-in-string", instead.

um.  hmm.

*grep*

Ah.  Gnus already had/solved this problem.  Well, in that case :


Index: nnrss.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnrss.el,v
retrieving revision 6.28
diff -u -1 -b -p -r6.28 nnrss.el
--- nnrss.el	2002/02/20 00:15:32	6.28
+++ nnrss.el	2002/04/24 07:59:52
@@ -452,4 +504,6 @@ ARTICLE is the article number of the cur
 (defun nnrss-insert-w3 (url)
+  (let ((url-package-name (gnus-replace-in-string (gnus-replace-in-string gnus-version " v.*$" "") " " ""))
+    (url-package-version gnus-version-number))
   (mm-with-unibyte-current-buffer
-    (mm-url-insert url)))
+    (mm-url-insert url))))
 

Er.  Sorry about that.

-- 
Andrew J Cosgriff <ajc@polydistortion.net>
butter moon fun 1970s tunnel



  reply	other threads:[~2002-04-24  8:01 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-24  4:16 Andrew J Cosgriff
2002-04-24  8:01 ` Andrew J Cosgriff [this message]
2002-04-27 17:36   ` ShengHuo ZHU
2002-04-29  1:19     ` Andrew J Cosgriff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1yhem134rz.fsf@earthling.aia.aig.com.au \
    --to=ajc@polydistortion.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).