emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] bug or user error in org-file-apps


From: Samuel Wales
Subject: [Orgmode] bug or user error in org-file-apps
Date: Tue, 4 Nov 2008 12:36:04 -0700

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)))




reply via email to

[Prev in Thread] Current Thread [Next in Thread]