From 3d5bc9ab655065486455e4005b24a1d7bd1fe137 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Wed, 8 Oct 2008 12:46:51 +0200 Subject: [PATCH] Documentation updates. --- ORGWEBPAGE/Changes.org | 20 ++++++++++++++++++++ doc/org.texi | 29 +++++++++++++++-------------- 2 files changed, 35 insertions(+), 14 deletions(-) diff --git a/ORGWEBPAGE/Changes.org b/ORGWEBPAGE/Changes.org index 4d6b15e30..244be13d0 100644 --- a/ORGWEBPAGE/Changes.org +++ b/ORGWEBPAGE/Changes.org @@ -16,7 +16,24 @@ :VISIBILITY: content :END: +** Incompatible +*** =org-file-apps= now uses regular expressions, see [[*%20org%20file%20apps%20now%20uses%20regular%20repressions%20instead%20of%20extensions][below]] + ** Details + +*** =org-file-apps= now uses regular repressions instead of extensions + Just like in =auto-mode-alist=, car's in the variable + =org-file-apps= that are strings are now interpreted as + regular expressions that are matched against a file name. So + instead of "txt", you should now write "\\.txt\\'" to make + sure the matching is done correctly (even though "txt" will + be recognized and still be interpreted as an extension). + + There is now a shortcurt to get many file types visited by + Emacs. If org-file-apps contains `(auto-mode . emacs)', then + any files that are matched by `auto-mode-alist' will be + visited in emacs. + *** Changes to the attachment system - The default method to attach a file is now to copy it @@ -29,6 +46,9 @@ for a file, overruling `org-attach-method'. - To create a new attachment as an Emacs buffer, you have not now use =n= instead of =c=. + - The file list is now always retrieved from the directory + itself, not from the "Attachments" property. We still + keep, as a kind o backup info. * Version 6.08 diff --git a/doc/org.texi b/doc/org.texi index 919c814dd..cd33a611d 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -2616,17 +2616,16 @@ link and description parts of the link. @kindex C-c C-o @item C-c C-o Open link at point. This will launch a web browser for URLs (using -@command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB -for the corresponding links, and execute the command in a shell link. -When the cursor is on an internal link, this commands runs the -corresponding search. When the cursor is on a TAG list in a headline, -it creates the corresponding TAGS view. If the cursor is on a time -stamp, it compiles the agenda for that date. Furthermore, it will visit -text and remote files in @samp{file:} links with Emacs and select a -suitable application for local non-text files. Classification of files -is based on file extension only. See option @code{org-file-apps}. If -you want to override the default application and visit the file with -Emacs, use a @kbd{C-u} prefix. +@command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB for +the corresponding links, and execute the command in a shell link. When the +cursor is on an internal link, this commands runs the corresponding search. +When the cursor is on a TAG list in a headline, it creates the corresponding +TAGS view. If the cursor is on a time stamp, it compiles the agenda for that +date. Furthermore, it will visit text and remote files in @samp{file:} links +with Emacs and select a suitable application for local non-text files. +Classification of files is based on file extension only. See option +@code{org-file-apps}. If you want to override the default application and +visit the file with Emacs, use a @kbd{C-u} prefix. @c @kindex mouse-2 @kindex mouse-1 @@ -5172,9 +5171,9 @@ uses directories named by the unique ID of each entry. These directories are located in the @file{data} directory which lives in the same directory where your org-file lives@footnote{If you move entries or Org-files from one directory to the next, you may want to configure @code{org-attach-directory} -to contain an absolute path.}. If you initilize this directory with -@code{git-init}, Org will automaically commit changes when it sees them. The -attachment system has been contributed to Org by John Wiegley. +to contain an absolute path.}. If you initialize this directory with +@code{git-init}, Org will automatically commit changes when it sees them. +The attachment system has been contributed to Org by John Wiegley. @noindent The following commands deal with attachments. @@ -5211,6 +5210,8 @@ attachments yourself. @item o Open current task's attachment. If there are more than one, prompt for a file name first. Opening will follow the rules set by @code{org-file-apps}. +For more details, see the information on following hyperlings +(@pxref{Handling links}). @kindex C-c C-a O @item O