emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug or user error in org-file-apps
@ 2008-11-04 19:36 Samuel Wales
  2008-11-05  6:40 ` Carsten Dominik
  0 siblings, 1 reply; 2+ messages in thread
From: Samuel Wales @ 2008-11-04 19:36 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-11-05  6:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-11-04 19:36 bug or user error in org-file-apps Samuel Wales
2008-11-05  6:40 ` Carsten Dominik

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).