Gnus development mailing list
 help / color / mirror / Atom feed
From: Kevin Ryde <user42@zip.com.au>
To: ding@gnus.org
Subject: docstring url hyperlinks (patch)
Date: Thu, 16 Jul 2009 11:08:28 +1000	[thread overview]
Message-ID: <87eisha0z7.fsf@blah.blah> (raw)

[-- Attachment #1: Type: text/plain, Size: 300 bytes --]

I did a bit of a grep for urls in docstrings which could be
hyperlinked.  Diff below from the lisp dir.

2009-07-16  Kevin Ryde  <user42@zip.com.au>

	* gnus-sum.el (gnus-summary-idna-message): 
	* nnrss.el (nnrss-normalize-date, nnrss-discover-feed): 
	Hyperlink urls in docstrings with URL `...'.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: docstring-urls.diff --]
[-- Type: text/x-diff, Size: 1701 bytes --]

Index: gnus-sum.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v
retrieving revision 7.238
diff -u -r7.238 gnus-sum.el
--- gnus-sum.el	5 Feb 2009 09:04:09 -0000	7.238
+++ gnus-sum.el	16 Jul 2009 01:04:53 -0000
@@ -9507,7 +9507,7 @@
 remain unencoded after running this function, it is likely an
 invalid IDNA string (`xn--bar' is invalid).
 
-You must have GNU Libidn (`http://www.gnu.org/software/libidn/')
+You must have GNU Libidn (URL `http://www.gnu.org/software/libidn/')
 installed for this command to work."
   (interactive "P")
   (if (not (and (condition-case nil (require 'idna)
Index: nnrss.el
===================================================================
RCS file: /usr/local/cvsroot/gnus/lisp/nnrss.el,v
retrieving revision 7.61
diff -u -r7.61 nnrss.el
--- nnrss.el	22 Jan 2009 07:02:16 -0000	7.61
+++ nnrss.el	16 Jul 2009 01:04:56 -0000
@@ -496,7 +496,7 @@
 (defun nnrss-normalize-date (date)
   "Return a date string of DATE in the RFC822 style.
 This function handles the ISO 8601 date format described in
-<URL:http://www.w3.org/TR/NOTE-datetime>, and also the RFC822 style
+URL `http://www.w3.org/TR/NOTE-datetime', and also the RFC822 style
 which RSS 2.0 allows."
   (let (case-fold-search vector year month day time zone cts given)
     (cond ((null date))			; do nothing for this case
@@ -1010,7 +1010,7 @@
 
 (defun nnrss-discover-feed (url)
   "Given a page, find an RSS feed using Mark Pilgrim's
-`ultra-liberal rss locator' (http://diveintomark.org/2002/08/15.html)."
+`ultra-liberal rss locator' (URL `http://diveintomark.org/2002/08/15.html')."
 
   (let ((parsed-page (nnrss-fetch url)))
 

             reply	other threads:[~2009-07-16  1:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-16  1:08 Kevin Ryde [this message]
2009-08-13  0:01 ` Kevin Ryde

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=87eisha0z7.fsf@blah.blah \
    --to=user42@zip.com.au \
    --cc=ding@gnus.org \
    /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).