From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/45393 Path: main.gmane.org!not-for-mail From: Niklas Morberg Newsgroups: gmane.emacs.gnus.general Subject: [PATCH] Buttonize unsplit URLs Date: Tue, 25 Jun 2002 14:26:27 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: main.gmane.org 1025008036 15565 127.0.0.1 (25 Jun 2002 12:27:16 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 25 Jun 2002 12:27:16 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17MpPf-00042w-00 for ; Tue, 25 Jun 2002 14:27:16 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17MpOk-0001SF-00; Tue, 25 Jun 2002 07:26:18 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Tue, 25 Jun 2002 07:26:38 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id HAA22980 for ; Tue, 25 Jun 2002 07:26:28 -0500 (CDT) Original-Received: (qmail 28412 invoked by alias); 25 Jun 2002 12:26:03 -0000 Original-Received: (qmail 28407 invoked from network); 25 Jun 2002 12:26:02 -0000 Original-Received: from miranda.axis.se (193.13.178.2) by gnus.org with SMTP; 25 Jun 2002 12:26:02 -0000 Original-Received: from PCNIKLAS2 (dh10-13-8-243.axis.se [10.13.8.243]) by miranda.axis.se (8.12.2/8.12.2/Debian -5) with ESMTP id g5PCPXKO007884 for ; Tue, 25 Jun 2002 14:25:33 +0200 Original-To: ding@gnus.org Original-Lines: 8 User-Agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.2 (i386-mingw-nt5.0.2195) Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:45393 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:45393 --=-=-= 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. --=-=-= Content-Type: text/x-patch Content-Disposition: attachment Content-Description: gnus-art patch 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 --=-=-= Niklas --=-=-=--