0
0
Fork 1
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-09-22 02:10:43 +00:00
org-mode/lisp
Carsten Dominik 8787f59cef `C-u C-u C-c C-o' forces opening in an external application
Org-mode uses a special setup with a number of different customization
variables to specify how a file should be opened when following a
:file:..." link with `C-c C-o'.  By using a `C-u' prefix, it was
possible to overrule the customized setup and to force opening the
file in Emacs.

Samuel Wales requested to amend this process, so that a double prefix
argument would do the opposite: force opening the application *outside*
of Emacs, using a system default application.  This is what this patch
implements.

Internally this works through a new entry in system specific constants
`org-file-apps-defaults-gnu', org-file-apps-defaults-macosx', and
`org-file-apps-defaults-windowsnt'.  The new entry has the car
`system' and specifies the command that should be used for the double
C-u calls.  As before, the user option `org-file-apps' can overrule
these default settings.

Note that all this only applies to following "file:" links, and does
not make a difference for, for example, "http:" links.
2008-11-05 10:46:20 +01:00
..
ChangeLog `C-u C-u C-c C-o' forces opening in an external application 2008-11-05 10:46:20 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Fix a typo in docstring. 2008-11-03 22:12:58 +01:00
org-archive.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-attach.el Check for horizontally-split windows when shrinking a window. 2008-11-03 13:38:25 +01:00
org-bbdb.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-bibtex.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-clock.el Check for horizontally-split windows when shrinking a window. 2008-11-03 13:38:25 +01:00
org-colview-xemacs.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-colview.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-compat.el Check for horizontally-split windows when shrinking a window. 2008-11-03 13:38:25 +01:00
org-exp.el Improve XHTML validation. 2008-11-03 21:54:28 +01:00
org-export-latex.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-faces.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-gnus.el Make gnus links use message-id. 2008-10-29 09:54:15 +01:00
org-id.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-info.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-irc.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-jsinfo.el Remove language attribute from script tag. 2008-11-01 13:55:59 +01:00
org-list.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mac-message.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-macs.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mew.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mhe.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-mouse.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-plot.el Cleanup to make the compiler happy. 2008-11-03 13:44:42 +01:00
org-publish.el Fix return value of `org-publish-find-title'. 2008-11-03 13:52:16 +01:00
org-remember.el Merge branch 'for-carsten' of git://git.norang.ca/org-mode 2008-10-28 20:10:00 +01:00
org-rmail.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-table.el Check for horizontally-split windows when shrinking a window. 2008-11-03 13:38:25 +01:00
org-vm.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org-wl.el Release 6.10c. 2008-10-25 12:56:42 +02:00
org.el `C-u C-u C-c C-o' forces opening in an external application 2008-11-05 10:46:20 +01:00