emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Samuel Wales" <samologist@gmail.com>
To: emacs-orgmode@gnu.org
Subject: bug or user error in org-file-apps
Date: Tue, 4 Nov 2008 12:36:04 -0700	[thread overview]
Message-ID: <20524da70811041136v6a96d595ic15d1b7f66d565ae@mail.gmail.com> (raw)

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	other threads:[~2008-11-04 19:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-04 19:36 Samuel Wales [this message]
2008-11-05  6:40 ` bug or user error in org-file-apps Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20524da70811041136v6a96d595ic15d1b7f66d565ae@mail.gmail.com \
    --to=samologist@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).