From: Carsten Dominik <dominik@science.uva.nl>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: bug or user error in org-file-apps
Date: Wed, 5 Nov 2008 07:40:37 +0100 [thread overview]
Message-ID: <D3433394-8C8F-4CC0-AE08-C91151EA1313@uva.nl> (raw)
In-Reply-To: <20524da70811041136v6a96d595ic15d1b7f66d565ae@mail.gmail.com>
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
prev parent reply other threads:[~2008-11-05 6:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-04 19:36 bug or user error in org-file-apps Samuel Wales
2008-11-05 6:40 ` Carsten Dominik [this message]
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=D3433394-8C8F-4CC0-AE08-C91151EA1313@uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=samologist@gmail.com \
/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).