From mboxrd@z Thu Jan 1 00:00:00 1970 From: Oleh Subject: [PATCH] lisp/org.el (org-open-at-point): prioritize link Date: Thu, 27 Feb 2014 14:28:57 +0100 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=f46d04430670b57f5304f3634d67 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ11H-0002PF-Sf for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 08:29:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WJ11G-00049p-Ux for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 08:28:59 -0500 Received: from mail-wi0-x231.google.com ([2a00:1450:400c:c05::231]:60037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WJ11G-000481-Oi for emacs-orgmode@gnu.org; Thu, 27 Feb 2014 08:28:58 -0500 Received: by mail-wi0-f177.google.com with SMTP id r20so664493wiv.10 for ; Thu, 27 Feb 2014 05:28:57 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org mode --f46d04430670b57f5304f3634d67 Content-Type: text/plain; charset=ISO-8859-1 Hi all, Can someone check this patch and commit it. It allows to open links that look like this: [[id:164552ee-b92d-4af6-9570-60d039876fac][=foobar=]] regards, Oleh --f46d04430670b57f5304f3634d67 Content-Type: text/x-patch; charset=US-ASCII; name="0001-lisp-org.el-org-open-at-point-prioritize-link.patch" Content-Disposition: attachment; filename="0001-lisp-org.el-org-open-at-point-prioritize-link.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_hs62is950 RnJvbSA2ZTg0OGIwZTYwMWM5YTI4MzAwYjAwYWFmY2VmOGYyZWZkYTk3M2Y0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