From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73895 Path: news.gmane.org!not-for-mail From: Richard Riley Newsgroups: gmane.emacs.gnus.general Subject: url at point Date: Mon, 08 Nov 2010 11:27:29 +0100 Organization: aich tea tea pea dicky riley dot net Message-ID: <3d4obst8j2.fsf@news.eternal-september.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1289212106 23643 80.91.229.12 (8 Nov 2010 10:28:26 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 8 Nov 2010 10:28:26 +0000 (UTC) To: nognus Original-X-From: ding-owner+M22264@lists.math.uh.edu Mon Nov 08 11:28:23 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PFOxZ-00042p-AT for ding-account@gmane.org; Mon, 08 Nov 2010 11:28:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1PFOxJ-0007z3-Mx; Mon, 08 Nov 2010 04:28:05 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1PFOxI-0007yo-0l for ding@lists.math.uh.edu; Mon, 08 Nov 2010 04:28:04 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1PFOxH-0000F5-4F for ding@lists.math.uh.edu; Mon, 08 Nov 2010 04:28:03 -0600 Original-Received: from mail-fx0-f44.google.com ([209.85.161.44]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1PFOxG-0003xF-00 for ; Mon, 08 Nov 2010 11:28:02 +0100 Original-Received: by fxm9 with SMTP id 9so3746222fxm.17 for ; Mon, 08 Nov 2010 02:27:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:organization :date:message-id:user-agent:mime-version:content-type; bh=UwTZCJAseVPB0Ntxd115lBOYXzGEMv8HPtFt/yfaK5Q=; b=Q42Q80p4I5G527MN3IPgsgcK0o7THgQ5AcQE+OMtP3LGEIrNoWcBrYmfWbQuwTFl89 sbvA96zW1Yhqw2hJRyX1rbXWJvxQycrFCWaQygkVp04Ac97oXXzca5uVOKEQQFtQLzoB 0Dl7u0vRbgykmjoKT2VNRtQwCRIFXaNR44PGE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=from:to:subject:organization:date:message-id:user-agent :mime-version:content-type; b=m6gNhbTahR3BeukgaXd/N45Vfm3DUxn5whigEaHpVfsjtMAJSToDmhGAYF58mqZKa6 jSuLzboeSK/6TFAsHFc9NXW5nLcgfs65Ar5xPVhbkoOuMm2x0kpgdsrw73OfO8jEUHcE 8mBCGcH4VpAl3dyl+mewtLBfBYTERCgHeFgnc= Original-Received: by 10.223.118.14 with SMTP id t14mr3568741faq.145.1289212051934; Mon, 08 Nov 2010 02:27:31 -0800 (PST) Original-Received: from localhost ([85.183.18.158]) by mx.google.com with ESMTPS id z2sm268309fam.15.2010.11.08.02.27.30 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 08 Nov 2010 02:27:30 -0800 (PST) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) X-Spam-Score: -2.0 (--) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73895 Archived-At: What set ups do people use to browse ul at point and ignore line splitting? I had this for a while which doesnt work with urls that are split over two lines. --8<---------------cut here---------------start------------->8--- (defun rgr/browse-url (&optional url) "browse the url passed in" (interactive) (setq url (or url (w3m-url-valid (w3m-anchor)) (browse-url-url-at-point) (region-or-word-at-point))) (setq url (read-string (format "Url \"%s\" :" url) url nil url)) (rgr/browse url)) --8<---------------cut here---------------end--------------->8---