[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] bug or user error in org-file-apps
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] bug or user error in org-file-apps |
Date: |
Wed, 5 Nov 2008 07:40:37 +0100 |
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.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode