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: Thu, 25 Dec 2014 13:54:31 -0500 Message-ID: <87tx0jd0go.fsf@udel.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1419533717 27308 80.91.229.3 (25 Dec 2014 18:55:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 25 Dec 2014 18:55:17 +0000 (UTC) To: 19441@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 25 19:55:10 2014 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 1Y4DYz-0002uI-Sv for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Dec 2014 19:55:10 +0100 Original-Received: from localhost ([::1]:51597 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYz-00007n-5a for geb-bug-gnu-emacs@m.gmane.org; Thu, 25 Dec 2014 13:55:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYw-00006b-68 for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:55:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4DYt-0005pY-0C for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:55:06 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48115) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYs-0005pT-TL for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Y4DYs-0005sW-Lz for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:55:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mark Oteiza Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 25 Dec 2014 18:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 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.141953368322565 (code B ref -1); Thu, 25 Dec 2014 18:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Dec 2014 18:54:43 +0000 Original-Received: from localhost ([127.0.0.1]:57481 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4DYZ-0005rt-7U for submit@debbugs.gnu.org; Thu, 25 Dec 2014 13:54:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:51182) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Y4DYV-0005ri-LX for submit@debbugs.gnu.org; Thu, 25 Dec 2014 13:54:40 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4DYU-0005jD-Gs for submit@debbugs.gnu.org; Thu, 25 Dec 2014 13:54:39 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:33109) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYU-0005j9-DF for submit@debbugs.gnu.org; Thu, 25 Dec 2014 13:54:38 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52903) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYT-0008Vl-Ah for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:54:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y4DYQ-0005iK-5S for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:54:37 -0500 Original-Received: from mail-qc0-f182.google.com ([209.85.216.182]:41757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y4DYQ-0005iG-1d for bug-gnu-emacs@gnu.org; Thu, 25 Dec 2014 13:54:34 -0500 Original-Received: by mail-qc0-f182.google.com with SMTP id r5so6702110qcx.41 for ; Thu, 25 Dec 2014 10:54:33 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-type; bh=riomDuxyaH49HaAkhVDeNwWHa/YzvJxfREQRtDuKBpw=; b=WalV2fZRC8udtUDfMwWiTq89SFtUrM5Fq4mUxh9ctAgO9OxsQe/bSbSeGt6qf1EUE9 2Dv9RSNmF19CTBl+jxPiyC8wbN5ZEZUwNJfPeLPZyNF/mWXhsUmVOhrW02T1gXx/DJcF /nQb/BJiTYXqCIPm9K766wyaem3cwlgTqbM7iT/EVkEHdyRrZqzEdhrUxTk3YIUV65W1 3oYYBdf7BOI3nn3EnFldzr1gtGxbEgUk6XNbI15u5o7xnhrrHJP25MigEe6HdSPGQ1ZR CkXkkBMU9U/KWKGAqS+fMQJfMhFgCzXXSq2PhFyRVh0qZfBY0OT96wgi+xmkPvELO1kz l4xQ== X-Gm-Message-State: ALoCoQkfyUT4iFmHuA5fEGYFE5aE42w6nyeE2ijZdQfgLYnK1oWUOrCt37zBll790+dOtOb724me X-Received: by 10.140.89.176 with SMTP id v45mr50408762qgd.44.1419533672962; Thu, 25 Dec 2014 10:54:32 -0800 (PST) Original-Received: from holos (c-73-172-248-173.hsd1.md.comcast.net. [73.172.248.173]) by mx.google.com with ESMTPSA id t67sm24209334qgt.11.2014.12.25.10.54.32 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 25 Dec 2014 10:54:32 -0800 (PST) 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: 140.186.70.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:97721 Archived-At: --- 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