From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: bug or user error in org-file-apps Date: Wed, 5 Nov 2008 07:40:37 +0100 Message-ID: References: <20524da70811041136v6a96d595ic15d1b7f66d565ae@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v929.2) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Kxc4K-0004BM-TK for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:40:44 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kxc4J-0004Ai-FO for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:40:44 -0500 Received: from [199.232.76.173] (port=50701 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kxc4J-0004Ac-9u for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:40:43 -0500 Received: from ey-out-1920.google.com ([74.125.78.147]:40421) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Kxc4I-0000k4-R0 for emacs-orgmode@gnu.org; Wed, 05 Nov 2008 01:40:43 -0500 Received: by ey-out-1920.google.com with SMTP id 4so1259288eyg.24 for ; Tue, 04 Nov 2008 22:40:40 -0800 (PST) In-Reply-To: <20524da70811041136v6a96d595ic15d1b7f66d565ae@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Samuel Wales Cc: emacs-orgmode@gnu.org Hi Sam, org-file-apps and the prefix argument to C-c C-o only apply to "file:" links. For other link types, there are other methods. http, ftp, news, and mailto use browse-url, and so you need to configure the corresponding browse-url-... variables to configure which browser should be used. (setq browse-url-generic-program 'browse-url-w3) HTH - Carsten On Nov 4, 2008, at 8:36 PM, Samuel Wales wrote: > I enclose a test case that can be loaded from emacs -q. I > am using org 6.10. I use Carbon Emacs 22.2.1. > > org-open-at-point and org-open-at-point-global always open > in external. This is true with and without C-u. It is true > even if I set org-file-apps to ((t . emacs)). > > Here is an example url: http://mail.google.com/mail/x . > > This is probably a user error, since I am the first to > report it, but I have not found it. What am I doing wrong, > if it is? > > Thanks. > > ========================================= > > (require 'cl) > > (defun alpha-add-path (p) (setq load-path (cons p load-path))) > > (alpha-add-path (concat (getenv "delpkgbef") "/org/lisp")) > (alpha-add-path (concat (getenv "delpkgbef") "/remember")) > > (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) > > (require 'org-install) > > (defvar alpha-org-map (make-sparse-keymap "alpha org map")) > (define-key global-map [f8] alpha-org-map) > (define-key alpha-org-map [f8] 'org-remember) ;c-c r > (define-key alpha-org-map "o" 'org-open-at-point-global) ;c-c o > > (require 'remember-autoloads) > (org-remember-insinuate) > > ;;http://mail.google.com/mail/x > (setf org-file-apps > '( > ;;(auto-mode . emacs) > ;;("\\.x?html?\\'" . default) > ;;("\\.pdf\\'" . default) > (t . emacs))) > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode