浏览代码

Documentation updates.

Carsten Dominik 16 年之前
父节点
当前提交
3d5bc9ab65
共有 2 个文件被更改,包括 35 次插入14 次删除
  1. 20 0
      ORGWEBPAGE/Changes.org
  2. 15 14
      doc/org.texi

+ 20 - 0
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
 

+ 15 - 14
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