From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Oteiza Newsgroups: gmane.emacs.bugs Subject: bug#19441: [PATCH] thingatpt.el (thing-at-point-uri-schemes): Recognize man: links. Date: Wed, 2 Sep 2015 13:35:03 -0400 Message-ID: <20150902173503.GA31930@holos> References: <87tx0jd0go.fsf@udel.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1441215389 17620 80.91.229.3 (2 Sep 2015 17:36:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 2 Sep 2015 17:36:29 +0000 (UTC) To: 19441@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Sep 02 19:36:16 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXBxD-0000Uo-8e for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 19:36:11 +0200 Original-Received: from localhost ([::1]:39912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBxC-00059t-Bz for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Sep 2015 13:36:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52214) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBx8-00058O-Qo for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:36:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXBx4-00049n-Ke for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:36:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBx4-00049j-EO for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZXBx4-0000jb-8r for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:36:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Sep 2015 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19441 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14412153222722 (code B ref -1); Wed, 02 Sep 2015 17:36:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 2 Sep 2015 17:35:22 +0000 Original-Received: from localhost ([127.0.0.1]:46680 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXBwP-0000ho-Td for submit@debbugs.gnu.org; Wed, 02 Sep 2015 13:35:22 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42063) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZXBwN-0000ha-Bt for submit@debbugs.gnu.org; Wed, 02 Sep 2015 13:35:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXBwM-0003tc-2H for submit@debbugs.gnu.org; Wed, 02 Sep 2015 13:35:18 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:47315) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBwM-0003tW-0G for submit@debbugs.gnu.org; Wed, 02 Sep 2015 13:35:18 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52060) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBwL-0004zP-3U for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:35:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXBwG-0003rc-Tz for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:35:17 -0400 Original-Received: from mail-qg0-f53.google.com ([209.85.192.53]:33822) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXBwG-0003rO-QJ for bug-gnu-emacs@gnu.org; Wed, 02 Sep 2015 13:35:12 -0400 Original-Received: by qgez77 with SMTP id z77so10155445qge.1 for ; Wed, 02 Sep 2015 10:35:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=gd/z/Rkb8pDubuA1HoKafUvCRltQh7Vo67Ez4hLuXp4=; b=YRn59oMt80Yxuj4vDzRQESu5KxsCF/mmrEOiO2LrIOrVZP8Nh/EDo9DKUblBRc0KpY D0c4vbMbjPeLViR9fgBkPn5/37Ox4KaspI9Yk6v2dNaLZArut9zvnJqj+18hg8MvqY/X YhBEzAgaE+NChQxDryr7YmNReMM4exp2+qXMGMYV/Vue+c+B9nD8Ggu4jVbWnHirSeaU zfv4k7rD7tnycdkz607mVIJVAMUD2xyjuWjE1wTwGwpgLJIDbwSKJMow6fNBxszMdM3a QYFsscf4K64AOZoNQG9nre+OGCt2+6LBwo2pgOLR8F6vihq/WY4+/aZEv4tTaNXLYnhG GTxw== X-Gm-Message-State: ALoCoQmin7Lpf6UGa3l2beDPD7gZ7c5g4bYNH9pUDcE51JZamG7KhChwjFvKSPlymCXIAJ6L/v4e X-Received: by 10.140.144.207 with SMTP id 198mr61793593qhq.38.1441215312262; Wed, 02 Sep 2015 10:35:12 -0700 (PDT) Original-Received: from holos.localdomain (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by smtp.gmail.com with ESMTPSA id f72sm13142555qhe.1.2015.09.02.10.35.05 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 02 Sep 2015 10:35:05 -0700 (PDT) Original-Received: by holos.localdomain (Postfix, from userid 1000) id A91C568971; Wed, 2 Sep 2015 13:35:03 -0400 (EDT) Content-Disposition: inline In-Reply-To: <87tx0jd0go.fsf@udel.edu> User-Agent: Mutt/1.5.24+3 (62730ecbc17d) (2015-08-30) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:106094 Archived-At: On 25/12/14 at 01:54pm, Mark Oteiza wrote: > --- > The url library recognizes and parses man links. thingatpt should do > the same. > > lisp/ChangeLog | 4 ++++ > lisp/thingatpt.el | 2 +- > 2 files changed, 5 insertions(+), 1 deletion(-) > > diff --git a/lisp/ChangeLog b/lisp/ChangeLog > index 6b0f296..9889472 100644 > --- a/lisp/ChangeLog > +++ b/lisp/ChangeLog > @@ -1,3 +1,7 @@ > +2014-12-25 Mark Oteiza (tiny change) > + > + * thingatpt.el (thing-at-point-uri-schemes): Recognize man: links. > + > 2014-12-25 Martin Rudalics > > * cus-start.el (resize-mini-windows): Make it customizable. > diff --git a/lisp/thingatpt.el b/lisp/thingatpt.el > index ea5819e..a725a28 100644 > --- a/lisp/thingatpt.el > +++ b/lisp/thingatpt.el > @@ -283,7 +283,7 @@ If nil, construct the regexp from `thing-at-point-uri-schemes'.") > "uuid:" "vemmi://" "webcal://" "xri://" "xmlrpc.beep://" > "xmlrpc.beeps://" "z39.50r://" "z39.50s://" "xmpp:" > ;; Compatibility > - "fax:" "mms://" "mmsh://" "modem:" "prospero:" "snews:" > + "fax:" "man:" "mms://" "mmsh://" "modem:" "prospero:" "snews:" > "wais://") > "List of URI schemes recognized by `thing-at-point-url-at-point'. > Each string in this list should correspond to the start of a > -- > 2.2.1 Is there some reason this cannot be applied?