Documentation updates.

This commit is contained in:
Carsten Dominik 2008-10-08 12:46:51 +02:00
parent 6fe6819fa4
commit 3d5bc9ab65
2 changed files with 35 additions and 14 deletions

View File

@ -16,7 +16,24 @@
:VISIBILITY: content :VISIBILITY: content
:END: :END:
** Incompatible
*** =org-file-apps= now uses regular expressions, see [[*%20org%20file%20apps%20now%20uses%20regular%20repressions%20instead%20of%20extensions][below]]
** Details ** 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 *** Changes to the attachment system
- The default method to attach a file is now to copy it - The default method to attach a file is now to copy it
@ -29,6 +46,9 @@
for a file, overruling `org-attach-method'. for a file, overruling `org-attach-method'.
- To create a new attachment as an Emacs buffer, you have not - To create a new attachment as an Emacs buffer, you have not
now use =n= instead of =c=. 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 * Version 6.08

View File

@ -2616,17 +2616,16 @@ link and description parts of the link.
@kindex C-c C-o @kindex C-c C-o
@item C-c C-o @item C-c C-o
Open link at point. This will launch a web browser for URLs (using 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 @command{browse-url-at-point}), run VM/MH-E/Wanderlust/Rmail/Gnus/BBDB for
for the corresponding links, and execute the command in a shell link. the corresponding links, and execute the command in a shell link. When the
When the cursor is on an internal link, this commands runs the cursor is on an internal link, this commands runs the corresponding search.
corresponding search. When the cursor is on a TAG list in a headline, When the cursor is on a TAG list in a headline, it creates the corresponding
it creates the corresponding TAGS view. If the cursor is on a time TAGS view. If the cursor is on a time stamp, it compiles the agenda for that
stamp, it compiles the agenda for that date. Furthermore, it will visit date. Furthermore, it will visit text and remote files in @samp{file:} links
text and remote files in @samp{file:} links with Emacs and select a with Emacs and select a suitable application for local non-text files.
suitable application for local non-text files. Classification of files Classification of files is based on file extension only. See option
is based on file extension only. See option @code{org-file-apps}. If @code{org-file-apps}. If you want to override the default application and
you want to override the default application and visit the file with visit the file with Emacs, use a @kbd{C-u} prefix.
Emacs, use a @kbd{C-u} prefix.
@c @c
@kindex mouse-2 @kindex mouse-2
@kindex mouse-1 @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 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 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} directory to the next, you may want to configure @code{org-attach-directory}
to contain an absolute path.}. If you initilize this directory with to contain an absolute path.}. If you initialize this directory with
@code{git-init}, Org will automaically commit changes when it sees them. The @code{git-init}, Org will automatically commit changes when it sees them.
attachment system has been contributed to Org by John Wiegley. The attachment system has been contributed to Org by John Wiegley.
@noindent The following commands deal with attachments. @noindent The following commands deal with attachments.
@ -5211,6 +5210,8 @@ attachments yourself.
@item o @item o
Open current task's attachment. If there are more than one, prompt for a 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}. 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 @kindex C-c C-a O
@item O @item O