From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: jidanni@jidanni.org Newsgroups: gmane.emacs.help Subject: Re: shortest amount of keystrokes to see URL in an external browser Date: Sat, 25 Jun 2011 10:44:25 +0800 Message-ID: <87fwmy1vg6.fsf@jidanni.org> References: Reply-To: help-gnu-emacs@gnu.org, jidanni@jidanni.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1308969957 13887 80.91.229.12 (25 Jun 2011 02:45:57 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2011 02:45:57 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: pj@irregularexpressions.net Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 04:45:53 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QaIsa-0005sC-Ct for geh-help-gnu-emacs@m.gmane.org; Sat, 25 Jun 2011 04:45:52 +0200 Original-Received: from localhost ([::1]:41001 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaIsZ-0002m8-8q for geh-help-gnu-emacs@m.gmane.org; Fri, 24 Jun 2011 22:45:51 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:50932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaIrH-0002lo-7U for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 22:44:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QaIrF-0006pW-Ud for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 22:44:31 -0400 Original-Received: from caiajhbdcagg.dreamhost.com ([208.97.132.66]:50713 helo=homiemail-a4.g.dreamhost.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QaIrF-0006pR-Jg for help-gnu-emacs@gnu.org; Fri, 24 Jun 2011 22:44:29 -0400 Original-Received: from homiemail-a4.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTP id 5123651C070; Fri, 24 Jun 2011 19:44:28 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=jidanni.org; h=from:to:cc:subject :references:reply-to:date:message-id:mime-version:content-type; q=dns; s=jidanni.org; b=gEhpBOv1q85TKG8E1JwFs4xdUOCPVwkjYfzOUEa 8goGUQCryV6H68ZhAzDUoEhsDWS6WrO0NP1qFDOy2ZgzuKLklTQ4rnn2NW51JtEN Ia68VGBG45AjqEP1zzPf3N6dPRQ7TRs22evWR1k3bpqypFxHBBX6cYYTtfdI6EYq FMuI= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=jidanni.org; h=from:to:cc :subject:references:reply-to:date:message-id:mime-version: content-type; s=jidanni.org; bh=2RRNm7jEx/zG5Y4s13afIx+/Qic=; b= IfqnAUUgUwZOlayXfXLrcDq4BG5WMj1pfjb3k0kn9gbv/QCCbGjbaK+48J5P5s04 wW7tj41MDQY70aYjXoL15wMdy7e5bRUunXEwEX8dIwXV0bQ9RAGFxjN5YypM1j1E 8wcA7oQnguwfDgcZA2AIy1+cypeJ/G63xb/1l7HrJco= Original-Received: from jidanni.org (218-163-1-85.dynamic.hinet.net [218.163.1.85]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: jidanni@jidanni.org) by homiemail-a4.g.dreamhost.com (Postfix) with ESMTPSA id E984B51C069; Fri, 24 Jun 2011 19:44:27 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.97.132.66 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:81434 Archived-At: Ah, and now I am indeed back in business. Here's what I now use: (ffap-bindings) (defun my-ffap (&optional filename) ;PJ Weisberg (interactive) (let ((ffap-url-fetcher (if current-prefix-arg #'browse-url-firefox ffap-url-fetcher)) (current-prefix-arg nil)) (find-file-at-point filename))) (global-set-key "\C-x\C-f" 'my-ffap) Thanks PJ!