From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Marius Hofert Newsgroups: gmane.emacs.help Subject: How to get ido-find-file to open DOIs in browser (like URLs)? Date: Wed, 19 Jun 2013 09:37:54 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1371627533 16219 80.91.229.3 (19 Jun 2013 07:38:53 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 07:38:53 +0000 (UTC) To: Emacs help Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 09:38:55 2013 Return-path: Envelope-to: geh-help-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 1UpCyi-0001Sm-Hi for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jun 2013 09:38:52 +0200 Original-Received: from localhost ([::1]:39298 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCyi-00057d-5i for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jun 2013 03:38:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCyV-00057W-83 for help-gnu-emacs@gnu.org; Wed, 19 Jun 2013 03:38:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UpCyR-0006rt-Ky for help-gnu-emacs@gnu.org; Wed, 19 Jun 2013 03:38:39 -0400 Original-Received: from mail-pa0-x231.google.com ([2607:f8b0:400e:c03::231]:38457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UpCyR-0006rY-EK for help-gnu-emacs@gnu.org; Wed, 19 Jun 2013 03:38:35 -0400 Original-Received: by mail-pa0-f49.google.com with SMTP id ld11so4817481pab.8 for ; Wed, 19 Jun 2013 00:38:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=DWendWo+RVhcCxYaXaZRQEAn6ACx90DSPqU5u4Bmq1s=; b=q9gcRlmizWeJm+e/x2o6If3b7b8Kq0LeSYWzqhViMH/DL8V1CU5/vZKcxIN9ZJ8Ni4 WEH02XhkANeanvSKSZrF8NSE1LesQx4Lsx1Xcabngylk5pjIsixqxAKJg3la+vdQ9jtD IULfmd8DR/ZenhZWXFaEIGeFd05Voj3Rxx6RS/2ZoHevEEHJSSBfm3Z+eDLhJn9njIYG T/zPZHycxK3W6xUH0/5AeX/aHlYFKGrxZg9i8veJWPMfNO7aIqealdJ4+DNxuYwhbTX8 uagAmgdYI8HsDGhRDE8YjNSmNd39PWT60dnei53lDy3uI2yx8rNSZbLJIKehmav1zC02 +EeQ== X-Received: by 10.66.169.42 with SMTP id ab10mr5696547pac.14.1371627514257; Wed, 19 Jun 2013 00:38:34 -0700 (PDT) Original-Received: by 10.68.31.135 with HTTP; Wed, 19 Jun 2013 00:37:54 -0700 (PDT) X-Google-Sender-Auth: 46rnBOiTYJNxJmzVQrcqPbpc33Y X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c03::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:91600 Archived-At: Hi, I often use C-x C-f (ido-find-file) to open links/URLs in the browser. I am wondering how one could get the same behavior when the point is on DOIs (digital object identifier). This is of the form 10.1016/j.csda.2008.05.019, for example, and should open http://dx.doi.org/10.1016/j.csda.2008.05.019. There are some regular expressions posted on stackoverflow to match (a larger number) of DOIs. Cheers, Marius