Gnus development mailing list
 help / color / mirror / Atom feed
From: Niklas Morberg <niklas.morberg@axis.com>
Subject: [PATCH] Buttonize unsplit URLs
Date: Tue, 25 Jun 2002 14:26:27 +0200	[thread overview]
Message-ID: <uofdzy26k.fsf@axis.com> (raw)

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

When doing `W u' in the summary buffer to unsplit URLs, the
URL stops being buttonized and you can no longer click it to
open the URL. I'm pretty sure this patch fixes that.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: gnus-art patch --]
[-- Type: text/x-patch, Size: 636 bytes --]

cd h:/pgnus/lisp/
diff -u -b "h:/pgnus/lisp/gnus-art.el.~6.216.~" "h:/pgnus/lisp/gnus-art.el"
--- h:/pgnus/lisp/gnus-art.el.~6.216.~	Tue May 21 08:26:14 2002
+++ h:/pgnus/lisp/gnus-art.el	Tue Jun 25 14:20:20 2002
@@ -2082,7 +2082,10 @@
       (goto-char (point-min))
       (while (re-search-forward
 	      "^\\(\\(https?\\|ftp\\)://\\S-+\\) *\n\\(\\S-+\\)" nil t)
-	(replace-match "\\1\\3" t)))))
+	(replace-match "\\1\\3" t)))
+    (when gnus-display-mime-function
+      (funcall gnus-display-mime-function))))
+
 
 (defun article-wash-html (&optional read-charset)
   "Format an html article.

Diff finished at Tue Jun 25 14:22:16

[-- Attachment #3: Type: text/plain, Size: 8 bytes --]


Niklas

             reply	other threads:[~2002-06-25 12:26 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-06-25 12:26 Niklas Morberg [this message]
2002-07-02  7:28 ` Niklas Morberg
2002-07-02  8:44   ` Kai Großjohann

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=uofdzy26k.fsf@axis.com \
    --to=niklas.morberg@axis.com \
    /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).