manual: Remove erroneous footnote about :file header argument
* doc/org-manual.org (Type): :file header argument no longer implies :results file.
This commit is contained in:
parent
d83149bad1
commit
5c55d3a53c
|
@ -17282,10 +17282,10 @@ default behavior is to automatically determine the result type.
|
||||||
#+end_example
|
#+end_example
|
||||||
|
|
||||||
#+cindex: @samp{file-ext}, header argument
|
#+cindex: @samp{file-ext}, header argument
|
||||||
If =file= is missing, Org generates the base name of the output
|
If =file= header argument is missing, Org generates the base name of
|
||||||
file from the name of the code block, and its extension from the
|
the output file from the name of the code block, and its extension
|
||||||
=file-ext= header argument. In that case, both the name and the
|
from the =file-ext= header argument. In that case, both the name
|
||||||
extension are mandatory[fn:141].
|
and the extension are mandatory.
|
||||||
|
|
||||||
#+begin_example
|
#+begin_example
|
||||||
,#+name: circle
|
,#+name: circle
|
||||||
|
@ -17734,10 +17734,10 @@ Code blocks in the following languages are supported.
|
||||||
| Asymptote | =asymptote= | Lisp | =lisp= |
|
| Asymptote | =asymptote= | Lisp | =lisp= |
|
||||||
| Awk | =awk= | Lua | =lua= |
|
| Awk | =awk= | Lua | =lua= |
|
||||||
| C | =C= | MATLAB | =matlab= |
|
| C | =C= | MATLAB | =matlab= |
|
||||||
| C++ | =C++=[fn:142] | Mscgen | =mscgen= |
|
| C++ | =C++=[fn:141] | Mscgen | =mscgen= |
|
||||||
| Clojure | =clojure= | Objective Caml | =ocaml= |
|
| Clojure | =clojure= | Objective Caml | =ocaml= |
|
||||||
| CSS | =css= | Octave | =octave= |
|
| CSS | =css= | Octave | =octave= |
|
||||||
| D | =D=[fn:143] | Org mode | =org= |
|
| D | =D=[fn:142] | Org mode | =org= |
|
||||||
| ditaa | =ditaa= | Oz | =oz= |
|
| ditaa | =ditaa= | Oz | =oz= |
|
||||||
| Emacs Calc | =calc= | Perl | =perl= |
|
| Emacs Calc | =calc= | Perl | =perl= |
|
||||||
| Emacs Lisp | =emacs-lisp= | Plantuml | =plantuml= |
|
| Emacs Lisp | =emacs-lisp= | Plantuml | =plantuml= |
|
||||||
|
@ -17866,7 +17866,7 @@ for Python and Emacs Lisp languages.
|
||||||
#+cindex: syntax, Noweb
|
#+cindex: syntax, Noweb
|
||||||
#+cindex: source code, Noweb reference
|
#+cindex: source code, Noweb reference
|
||||||
|
|
||||||
Org supports named blocks in Noweb[fn:144] style syntax:
|
Org supports named blocks in Noweb[fn:143] style syntax:
|
||||||
|
|
||||||
: <<CODE-BLOCK-ID>>
|
: <<CODE-BLOCK-ID>>
|
||||||
|
|
||||||
|
@ -18362,7 +18362,7 @@ Org Tempo expands snippets to structures defined in
|
||||||
~org-structure-template-alist~ and ~org-tempo-keywords-alist~. For
|
~org-structure-template-alist~ and ~org-tempo-keywords-alist~. For
|
||||||
example, {{{kbd(< s TAB)}}} creates a code block. Enable it by
|
example, {{{kbd(< s TAB)}}} creates a code block. Enable it by
|
||||||
customizing ~org-modules~ or add =(require 'org-tempo)= to your Emacs
|
customizing ~org-modules~ or add =(require 'org-tempo)= to your Emacs
|
||||||
init file[fn:145].
|
init file[fn:144].
|
||||||
|
|
||||||
#+attr_texinfo: :columns 0.1 0.9
|
#+attr_texinfo: :columns 0.1 0.9
|
||||||
| {{{kbd(a)}}} | =#+BEGIN_EXPORT ascii= ... =#+END_EXPORT= |
|
| {{{kbd(a)}}} | =#+BEGIN_EXPORT ascii= ... =#+END_EXPORT= |
|
||||||
|
@ -18442,13 +18442,13 @@ in the desired amount with hard spaces and hiding leading stars.
|
||||||
To display the buffer in the indented view, activate Org Indent minor
|
To display the buffer in the indented view, activate Org Indent minor
|
||||||
mode, using {{{kbd(M-x org-indent-mode)}}}. Text lines that are not
|
mode, using {{{kbd(M-x org-indent-mode)}}}. Text lines that are not
|
||||||
headlines are prefixed with virtual spaces to vertically align with
|
headlines are prefixed with virtual spaces to vertically align with
|
||||||
the headline text[fn:146].
|
the headline text[fn:145].
|
||||||
|
|
||||||
#+vindex: org-indent-indentation-per-level
|
#+vindex: org-indent-indentation-per-level
|
||||||
To make more horizontal space, the headlines are shifted by two
|
To make more horizontal space, the headlines are shifted by two
|
||||||
characters. Configure ~org-indent-indentation-per-level~ variable for
|
characters. Configure ~org-indent-indentation-per-level~ variable for
|
||||||
a different number. Only one star on each headline is visible, the
|
a different number. Only one star on each headline is visible, the
|
||||||
rest are masked with the same font color as the background[fn:147].
|
rest are masked with the same font color as the background[fn:146].
|
||||||
|
|
||||||
#+vindex: org-startup-indented
|
#+vindex: org-startup-indented
|
||||||
To globally turn on Org Indent mode for all files, customize the
|
To globally turn on Org Indent mode for all files, customize the
|
||||||
|
@ -18462,7 +18462,7 @@ use =STARTUP= keyword as follows:
|
||||||
|
|
||||||
It is possible to use hard spaces to achieve the indentation instead,
|
It is possible to use hard spaces to achieve the indentation instead,
|
||||||
if the bare ASCII file should have the indented look also outside
|
if the bare ASCII file should have the indented look also outside
|
||||||
Emacs[fn:148]. With Org's support, you have to indent all lines to
|
Emacs[fn:147]. With Org's support, you have to indent all lines to
|
||||||
line up with the outline headers. You would use these settings:
|
line up with the outline headers. You would use these settings:
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -18701,7 +18701,7 @@ changes.
|
||||||
|
|
||||||
#+vindex: org-startup-indented
|
#+vindex: org-startup-indented
|
||||||
Dynamic virtual indentation is controlled by the variable
|
Dynamic virtual indentation is controlled by the variable
|
||||||
~org-startup-indented~[fn:149].
|
~org-startup-indented~[fn:148].
|
||||||
|
|
||||||
| =indent= | Start with Org Indent mode turned on. |
|
| =indent= | Start with Org Indent mode turned on. |
|
||||||
| =noindent= | Start with Org Indent mode turned off. |
|
| =noindent= | Start with Org Indent mode turned off. |
|
||||||
|
@ -19509,7 +19509,7 @@ these variables.
|
||||||
|
|
||||||
#+vindex: org-mobile-directory
|
#+vindex: org-mobile-directory
|
||||||
The mobile application needs access to a file directory on
|
The mobile application needs access to a file directory on
|
||||||
a server[fn:150] to interact with Emacs. Pass its location through
|
a server[fn:149] to interact with Emacs. Pass its location through
|
||||||
the ~org-mobile-directory~ variable. If you can mount that directory
|
the ~org-mobile-directory~ variable. If you can mount that directory
|
||||||
locally just set the variable to point to that directory:
|
locally just set the variable to point to that directory:
|
||||||
|
|
||||||
|
@ -19530,7 +19530,7 @@ With a public server, consider encrypting the files. Org also
|
||||||
requires OpenSSL installed on the local computer. To turn on
|
requires OpenSSL installed on the local computer. To turn on
|
||||||
encryption, set the same password in the mobile application and in
|
encryption, set the same password in the mobile application and in
|
||||||
Emacs. Set the password in the variable
|
Emacs. Set the password in the variable
|
||||||
~org-mobile-use-encryption~[fn:151]. Note that even after the mobile
|
~org-mobile-use-encryption~[fn:150]. Note that even after the mobile
|
||||||
application encrypts the file contents, the file name remains visible
|
application encrypts the file contents, the file name remains visible
|
||||||
on the file systems of the local computer, the server, and the mobile
|
on the file systems of the local computer, the server, and the mobile
|
||||||
device.
|
device.
|
||||||
|
@ -19546,15 +19546,15 @@ The command ~org-mobile-push~ copies files listed in
|
||||||
~org-mobile-files~ into the staging area. Files include agenda files
|
~org-mobile-files~ into the staging area. Files include agenda files
|
||||||
(as listed in ~org-agenda-files~). Customize ~org-mobile-files~ to
|
(as listed in ~org-agenda-files~). Customize ~org-mobile-files~ to
|
||||||
add other files. File names are staged with paths relative to
|
add other files. File names are staged with paths relative to
|
||||||
~org-directory~, so all files should be inside this directory[fn:152].
|
~org-directory~, so all files should be inside this directory[fn:151].
|
||||||
|
|
||||||
Push creates a special Org file =agendas.org= with custom agenda views
|
Push creates a special Org file =agendas.org= with custom agenda views
|
||||||
defined by the user[fn:153].
|
defined by the user[fn:152].
|
||||||
|
|
||||||
Finally, Org writes the file =index.org=, containing links to other
|
Finally, Org writes the file =index.org=, containing links to other
|
||||||
files. The mobile application reads this file first from the server
|
files. The mobile application reads this file first from the server
|
||||||
to determine what other files to download for agendas. For faster
|
to determine what other files to download for agendas. For faster
|
||||||
downloads, it is expected to only read files whose checksums[fn:154]
|
downloads, it is expected to only read files whose checksums[fn:153]
|
||||||
have changed.
|
have changed.
|
||||||
|
|
||||||
*** Pulling from the mobile application
|
*** Pulling from the mobile application
|
||||||
|
@ -19571,7 +19571,7 @@ data in an inbox file format, through the following steps:
|
||||||
|
|
||||||
1.
|
1.
|
||||||
#+vindex: org-mobile-inbox-for-pull
|
#+vindex: org-mobile-inbox-for-pull
|
||||||
Org moves all entries found in =mobileorg.org=[fn:155] and appends
|
Org moves all entries found in =mobileorg.org=[fn:154] and appends
|
||||||
them to the file pointed to by the variable
|
them to the file pointed to by the variable
|
||||||
~org-mobile-inbox-for-pull~. It should reside neither in the
|
~org-mobile-inbox-for-pull~. It should reside neither in the
|
||||||
staging area nor on the server. Each captured entry and each
|
staging area nor on the server. Each captured entry and each
|
||||||
|
@ -19862,9 +19862,9 @@ of these strategies:
|
||||||
#+cindex: @LaTeX{}, and Orgtbl mode
|
#+cindex: @LaTeX{}, and Orgtbl mode
|
||||||
|
|
||||||
To wrap a source table in LaTeX, use the =comment= environment
|
To wrap a source table in LaTeX, use the =comment= environment
|
||||||
provided by =comment.sty=[fn:156]. To activate it, put
|
provided by =comment.sty=[fn:155]. To activate it, put
|
||||||
~\usepackage{comment}~ in the document header. Orgtbl mode inserts
|
~\usepackage{comment}~ in the document header. Orgtbl mode inserts
|
||||||
a radio table skeleton[fn:157] with the command {{{kbd(M-x
|
a radio table skeleton[fn:156] with the command {{{kbd(M-x
|
||||||
orgtbl-insert-radio-table)}}}, which prompts for a table name. For
|
orgtbl-insert-radio-table)}}}, which prompts for a table name. For
|
||||||
example, if =salesfigures= is the name, the template inserts:
|
example, if =salesfigures= is the name, the template inserts:
|
||||||
|
|
||||||
|
@ -19883,7 +19883,7 @@ The line =#+ORGTBL: SEND= tells Orgtbl mode to use the function
|
||||||
~orgtbl-to-latex~ to convert the table to LaTeX format, then insert
|
~orgtbl-to-latex~ to convert the table to LaTeX format, then insert
|
||||||
the table at the target (receive) location named =salesfigures=. Now
|
the table at the target (receive) location named =salesfigures=. Now
|
||||||
the table is ready for data entry. It can even use spreadsheet
|
the table is ready for data entry. It can even use spreadsheet
|
||||||
features[fn:158]:
|
features[fn:157]:
|
||||||
|
|
||||||
#+begin_example
|
#+begin_example
|
||||||
% BEGIN RECEIVE ORGTBL salesfigures
|
% BEGIN RECEIVE ORGTBL salesfigures
|
||||||
|
@ -20100,7 +20100,7 @@ Dynamic blocks, like any other block, can be narrowed with
|
||||||
#+vindex: org-agenda-skip-function
|
#+vindex: org-agenda-skip-function
|
||||||
#+vindex: org-agenda-skip-function-global
|
#+vindex: org-agenda-skip-function-global
|
||||||
Org provides a special hook to further limit items in agenda views:
|
Org provides a special hook to further limit items in agenda views:
|
||||||
~agenda~, ~agenda*~[fn:159], ~todo~, ~alltodo~, ~tags~, ~tags-todo~,
|
~agenda~, ~agenda*~[fn:158], ~todo~, ~alltodo~, ~tags~, ~tags-todo~,
|
||||||
~tags-tree~. Specify a custom function that tests inclusion of every
|
~tags-tree~. Specify a custom function that tests inclusion of every
|
||||||
matched item in the view. This function can also skip as much as is
|
matched item in the view. This function can also skip as much as is
|
||||||
needed.
|
needed.
|
||||||
|
@ -20143,7 +20143,7 @@ meaningful string suitable for the agenda view.
|
||||||
#+vindex: org-agenda-skip-function
|
#+vindex: org-agenda-skip-function
|
||||||
Search for entries with a limit set on levels for the custom search.
|
Search for entries with a limit set on levels for the custom search.
|
||||||
This is a general approach to creating custom searches in Org. To
|
This is a general approach to creating custom searches in Org. To
|
||||||
include all levels, use =LEVEL>0=[fn:160]. Then to selectively pick
|
include all levels, use =LEVEL>0=[fn:159]. Then to selectively pick
|
||||||
the matched entries, use ~org-agenda-skip-function~, which also
|
the matched entries, use ~org-agenda-skip-function~, which also
|
||||||
accepts Lisp forms, such as ~org-agenda-skip-entry-if~ and
|
accepts Lisp forms, such as ~org-agenda-skip-entry-if~ and
|
||||||
~org-agenda-skip-subtree-if~. For example:
|
~org-agenda-skip-subtree-if~. For example:
|
||||||
|
@ -21549,72 +21549,64 @@ to remove code evaluation from the {{{kbd(C-c C-c)}}} key binding.
|
||||||
are not evaluated when they appear in a keyword (see [[*Summary of
|
are not evaluated when they appear in a keyword (see [[*Summary of
|
||||||
In-Buffer Settings]]).
|
In-Buffer Settings]]).
|
||||||
|
|
||||||
[fn:141] Due to the way this header argument is implemented, it
|
[fn:141] C++ language is handled in =ob-C.el=. Even though the
|
||||||
implies ":results file". Therefore if it is set for multiple blocks
|
|
||||||
at once (by a subtree or buffer property for example), all blocks are
|
|
||||||
forced to produce file results. This is seldom desired behavior, so
|
|
||||||
it is recommended to set this header only on a per-block basis. It is
|
|
||||||
possible that this aspect of the implementation might change in the
|
|
||||||
future.
|
|
||||||
|
|
||||||
[fn:142] C++ language is handled in =ob-C.el=. Even though the
|
|
||||||
identifier for such source blocks is =C++=, you activate it by loading
|
identifier for such source blocks is =C++=, you activate it by loading
|
||||||
the C language.
|
the C language.
|
||||||
|
|
||||||
[fn:143] D language is handled in =ob-C.el=. Even though the
|
[fn:142] D language is handled in =ob-C.el=. Even though the
|
||||||
identifier for such source blocks is =D=, you activate it by loading
|
identifier for such source blocks is =D=, you activate it by loading
|
||||||
the C language.
|
the C language.
|
||||||
|
|
||||||
[fn:144] For Noweb literate programming details, see
|
[fn:143] For Noweb literate programming details, see
|
||||||
http://www.cs.tufts.edu/~nr/noweb/.
|
http://www.cs.tufts.edu/~nr/noweb/.
|
||||||
|
|
||||||
[fn:145] For more information, please refer to the commentary section
|
[fn:144] For more information, please refer to the commentary section
|
||||||
in =org-tempo.el=.
|
in =org-tempo.el=.
|
||||||
|
|
||||||
[fn:146] Org Indent mode also sets ~wrap-prefix~ correctly for
|
[fn:145] Org Indent mode also sets ~wrap-prefix~ correctly for
|
||||||
indenting and wrapping long lines of headlines or text. This minor
|
indenting and wrapping long lines of headlines or text. This minor
|
||||||
mode also handles Visual Line mode and directly applied settings
|
mode also handles Visual Line mode and directly applied settings
|
||||||
through ~word-wrap~.
|
through ~word-wrap~.
|
||||||
|
|
||||||
[fn:147] Note that turning on Org Indent mode sets
|
[fn:146] Note that turning on Org Indent mode sets
|
||||||
~org-hide-leading-stars~ to ~t~ and ~org-adapt-indentation~ to ~nil~.
|
~org-hide-leading-stars~ to ~t~ and ~org-adapt-indentation~ to ~nil~.
|
||||||
|
|
||||||
[fn:148] This works, but requires extra effort. Org Indent mode is
|
[fn:147] This works, but requires extra effort. Org Indent mode is
|
||||||
more convenient for most applications.
|
more convenient for most applications.
|
||||||
|
|
||||||
[fn:149] Note that Org Indent mode also sets the ~wrap-prefix~
|
[fn:148] Note that Org Indent mode also sets the ~wrap-prefix~
|
||||||
property, such that Visual Line mode (or purely setting ~word-wrap~)
|
property, such that Visual Line mode (or purely setting ~word-wrap~)
|
||||||
wraps long lines, including headlines, correctly indented.
|
wraps long lines, including headlines, correctly indented.
|
||||||
|
|
||||||
[fn:150] For a server to host files, consider using a WebDAV server,
|
[fn:149] For a server to host files, consider using a WebDAV server,
|
||||||
such as [[https://nextcloud.com][Nextcloud]]. Additional help is at this [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav][FAQ entry]].
|
such as [[https://nextcloud.com][Nextcloud]]. Additional help is at this [[https://orgmode.org/worg/org-faq.html#mobileorg_webdav][FAQ entry]].
|
||||||
|
|
||||||
[fn:151] If Emacs is configured for safe storing of passwords, then
|
[fn:150] If Emacs is configured for safe storing of passwords, then
|
||||||
configure the variable ~org-mobile-encryption-password~; please read
|
configure the variable ~org-mobile-encryption-password~; please read
|
||||||
the docstring of that variable.
|
the docstring of that variable.
|
||||||
|
|
||||||
[fn:152] Symbolic links in ~org-directory~ need to have the same name
|
[fn:151] Symbolic links in ~org-directory~ need to have the same name
|
||||||
as their targets.
|
as their targets.
|
||||||
|
|
||||||
[fn:153] While creating the agendas, Org mode forces =ID= properties
|
[fn:152] While creating the agendas, Org mode forces =ID= properties
|
||||||
on all referenced entries, so that these entries can be uniquely
|
on all referenced entries, so that these entries can be uniquely
|
||||||
identified if Org Mobile flags them for further action. To avoid
|
identified if Org Mobile flags them for further action. To avoid
|
||||||
setting properties configure the variable
|
setting properties configure the variable
|
||||||
~org-mobile-force-id-on-agenda-items~ to ~nil~. Org mode then relies
|
~org-mobile-force-id-on-agenda-items~ to ~nil~. Org mode then relies
|
||||||
on outline paths, assuming they are unique.
|
on outline paths, assuming they are unique.
|
||||||
|
|
||||||
[fn:154] Checksums are stored automatically in the file
|
[fn:153] Checksums are stored automatically in the file
|
||||||
=checksums.dat=.
|
=checksums.dat=.
|
||||||
|
|
||||||
[fn:155] The file will be empty after this operation.
|
[fn:154] The file will be empty after this operation.
|
||||||
|
|
||||||
[fn:156] https://www.ctan.org/pkg/comment
|
[fn:155] https://www.ctan.org/pkg/comment
|
||||||
|
|
||||||
[fn:157] By default this works only for LaTeX, HTML, and Texinfo.
|
[fn:156] By default this works only for LaTeX, HTML, and Texinfo.
|
||||||
Configure the variable ~orgtbl-radio-table-templates~ to install
|
Configure the variable ~orgtbl-radio-table-templates~ to install
|
||||||
templates for other modes.
|
templates for other modes.
|
||||||
|
|
||||||
[fn:158] If the =TBLFM= keyword contains an odd number of dollar
|
[fn:157] If the =TBLFM= keyword contains an odd number of dollar
|
||||||
characters, this may cause problems with Font Lock in LaTeX mode. As
|
characters, this may cause problems with Font Lock in LaTeX mode. As
|
||||||
shown in the example you can fix this by adding an extra line inside
|
shown in the example you can fix this by adding an extra line inside
|
||||||
the =comment= environment that is used to balance the dollar
|
the =comment= environment that is used to balance the dollar
|
||||||
|
@ -21622,9 +21614,9 @@ expressions. If you are using AUCTeX with the font-latex library,
|
||||||
a much better solution is to add the =comment= environment to the
|
a much better solution is to add the =comment= environment to the
|
||||||
variable ~LaTeX-verbatim-environments~.
|
variable ~LaTeX-verbatim-environments~.
|
||||||
|
|
||||||
[fn:159] The ~agenda*~ view is the same as ~agenda~ except that it
|
[fn:158] The ~agenda*~ view is the same as ~agenda~ except that it
|
||||||
only considers /appointments/, i.e., scheduled and deadline items that
|
only considers /appointments/, i.e., scheduled and deadline items that
|
||||||
have a time specification =[h]h:mm= in their time-stamps.
|
have a time specification =[h]h:mm= in their time-stamps.
|
||||||
|
|
||||||
[fn:160] Note that, for ~org-odd-levels-only~, a level number
|
[fn:159] Note that, for ~org-odd-levels-only~, a level number
|
||||||
corresponds to order in the hierarchy, not to the number of stars.
|
corresponds to order in the hierarchy, not to the number of stars.
|
||||||
|
|
Loading…
Reference in New Issue