Commit Graph

2695 Commits

Author SHA1 Message Date
Nicolas Goaziou c64cdff088 org-manual: Document :wrap header argument
* doc/org-manual.org (Results of Evaluation): Document :wrap header
  argument.
2018-05-02 12:44:01 +02:00
Nicolas Goaziou fa51fc2922 org-manual: Fix typo
* doc/org-manual.org (Exporting Code Blocks): Fix typo.
2018-05-02 12:18:59 +02:00
Nicolas Goaziou 94f902834a org-manual: Slight rewording
* doc/org-manual.org (Macro Replacement): Slight rewording.
2018-04-30 09:26:50 +02:00
Nicolas Goaziou 61cfd675f3 org-manual: Document "results" macro
* doc/org-manual.org (Macro Replacement): Document "results" macro.
2018-04-29 12:32:26 +02:00
Nicolas Goaziou 181b13cc57 org-manual: Use starred internal links for consistency
* doc/org-manual.org (Structure Editing):
(Plain Lists): Use starred internal links.
2018-04-28 17:00:47 +02:00
Bastien 2b6004f57e org-agenda.el: Update the logic of regexp filters
* lisp/org-agenda.el (org-agenda-filter-by-regexp): Remove
existing regexp filter.  Only cumulate filters when called
with two prefix arguments.

It seems more common and reasonable to hit "=" to filter
then hit "=" again to remove the filter.  Cumulative filters
are still accessible through hitting `C-u C-u ='.
2018-04-28 14:12:37 +02:00
Bastien 011f1c6181 Let `org-agenda-set-restriction-lock' remove restriction at point
* lisp/org-compat.el (org-speedbar-set-agenda-restriction):
* lisp/org-agenda.el (org-agenda-set-restriction-lock):
If there is an agenda restriction at point, remove it.

* doc/org-manual.org:
* etc/ORG-NEWS: Document the new feature.
2018-04-28 12:09:56 +02:00
Nicolas Goaziou 2a8d944c85 org-manual: Fix typo
* doc/org-manual.org (Org Crypt): Use correct environment for Org
  example.
2018-04-27 16:13:41 +02:00
Gregor Zattler 5d8b85e280 org-manual: Document CRYPTKEY property
doc/org-manual.org: Document CRYPTKEY property.

TINYCHANGE
2018-04-27 15:11:29 +02:00
Bastien f80f7ed98b org-clock.el: New option :tags to insert tags in clock reports
* lisp/org-clock.el (org-clocktable-defaults)
(org-clocktable-write-default, org-clock-get-table-data):
Rename :tags to :match and use :tags to insert a column with
the headline's tags.

Thanks to Raymond Zeitler for suggesting this.
2018-04-26 20:55:27 +02:00
Bastien 1ac57ccda0 org-manual.org: Small enhancement for org-timestamp-up/down 2018-04-26 14:42:09 +02:00
Bastien 4faa2e1a45 org-manual.org: Small rephrasing 2018-04-26 13:37:58 +02:00
Bastien e3794f6dce Continue previous commit 2018-04-26 11:42:04 +02:00
Bastien 889a075834 org-manual.org: Tiny enhancement for `org-toggle-ordered-property'
Thanks to Allen Li for pointing this.
2018-04-26 11:39:44 +02:00
Nicolas Goaziou 92785f7bf6 org-manual: Improve list of Babel languages
* doc/org-manual.org (Languages): Re-order table.  Use verbatim markup
  for identifiers.

* doc/org.texi: Sync file.
2018-04-25 10:19:02 +02:00
Nicolas Goaziou b4e82fb050 org-manual: Sync manual with org.texi 2018-04-24 23:26:27 +02:00
Nicolas Goaziou 0dc4ba22e2 org.texi: Document `org-agenda-search-headline-for-time'
* doc/org.texi (Time-of-day specifications): Document
  `org-agenda-search-headline-for-time'.

Reported-by: Rohit Patnaik <quanticle@quanticle.net>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00405.html>
2018-04-24 23:20:53 +02:00
Eli Zaretskii d13811cbc0 Backport commit 8f6293ca7 from Emacs
* doc/org.texi (Editing source code, Export settings)
(Closing items, Drawers, Structure editing): Fix use of
@key.  For the details, see
http://lists.gnu.org/archive/html/emacs-devel/2018-04/msg00390.html.

Fix use of @key in Texinfo manuals
8f6293ca789edf06ea8e7b4b80edf7558d590ca7
Eli Zaretskii
Thu Apr 19 12:21:06 2018 +0300
2018-04-22 10:58:56 -04:00
Nicolas Goaziou 222cfe7daf org-manual: Sync with maint
* doc/org-manual.org:
* doc/org.texi (Variable Index):
(Markdown Export): Sync with maint.
2018-04-20 11:16:06 +02:00
Nicolas Goaziou 7eeb396c7d Merge branch 'maint' 2018-04-20 11:13:17 +02:00
Nicolas Goaziou 14d3d59c44 Clarify `md' and `html' back-ends relationship
* doc/org.texi (Markdown export): Reword.

Reported-by: "Loris Bennett" <loris.bennett@fu-berlin.de>
<http://lists.gnu.org/r/emacs-orgmode/2018-04/msg00303.html>
2018-04-20 11:11:52 +02:00
Nicolas Goaziou 9a5557d715 org.texi: Re-generate file 2018-04-12 15:36:43 +02:00
Nicolas Goaziou 5b695bfa10 org-manual: Fix `org-insert-structure-template' documentation 2018-04-12 15:35:55 +02:00
Nicolas Goaziou 52cbeec20a org-manual: Re-order Babel result formats alphabetically 2018-04-12 15:29:52 +02:00
stardiviner b088389c6b ob-core: Add document and test for "graphics" format
* doc/org-manual.org: Document value.

* lisp/ob-core.el (org-babel-common-header-args-w-values): Handle
  symbol "graphics".

* testing/lisp/test-ob.el (test-ob/result-graphics-link-type-header-argument):
  New test.
2018-04-12 15:16:04 +02:00
stardiviner 296b0de4e8 ob-core: Add "link" results format
* lisp/ob-core.el (org-babel-execute-src-block): Handle "link" :results
  format.

* doc/org-manual.org: Add document for new result format "link".

* testing/lisp/test-ob.el (test-ob/result-file-link-type-header-argument):
  New test.
2018-04-12 15:15:59 +02:00
Rasmus 39837b4b31 org: Change org-insert-structure-template to C-c C-,
* lisp/org.el (org-mode-map):
* doc/org-manual.org (With): Change keybinding of
  org-insert-structure-template.

See the thread titled "Poll: new keybinding for
org-insert-structure-template?" in December 2017 for details.
2018-04-08 12:47:12 +02:00
Rasmus b56df737b7 org: org-structure-template-alist uses string keys
* lisp/org-tempo.el (org-tempo-keywords-alist):
  (org-tempo-setup):
  (org-tempo-add-templates):
* testing/lisp/test-org-tempo.el (test-org-tempo/add-new-templates):
* lisp/org.el (org-structure-template-alist): Use string keys.
  (org--insert-structure-template-mks):
  (org--insert-structure-template-unique-keys): New functions for block selection.
  (org-insert-structure-template): Use new functions.
* etc/ORG-NEWS:
* doc/org-manual.org: Reflect changes.
2018-04-08 12:47:12 +02:00
Nicolas Goaziou f8924a2393 org-manual: Improve accuracy of a paragraph
* doc/org-manual.org (Column Width and Alignment): Reword paragraph
  about shrunk columns.  Document that a column is expanded only when
  text near its shrunk part is displayed.
2018-04-02 20:30:40 +02:00
Kyle Meyer 8ead9e5ba3 org-manual: Fix clone instructions
The same fix was applied to org.texi in b1a6395df.
2018-04-01 17:39:50 -04:00
Michael Albinus b1a6395dfe Backport commit 9bff405d0 from Emacs
* doc/org.texi (Installation): Fix clone commands.

9bff405d09f6eeeb577e6e0111e49f35d3b95b52
Michael Albinus
Wed Mar 28 10:38:26 2018 +0200
2018-04-01 17:27:10 -04:00
Grégoire Jadi 452f4d8527 org-manual: Fix typo in variable name 2018-03-29 22:18:36 +02:00
Marco Wahl 00386b4924 org-manual: Fix typo in Tracking TODO state changes
Also update org.texi from org-manual.org export.
2018-03-29 12:56:34 +02:00
Nicolas Goaziou 7240f9c847 org.texi: Fix typo in capture protocol example
* doc/org.texi (@code{capture} protocol): Add missing protocol.

Reported-by: Буковская Агнесса <aggie@yandex.ru>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00528.html>
2018-03-28 17:16:57 +02:00
Nicolas Goaziou e01bc94506 org.texi: Overwrite with the one generated from "org-manual.org"
* doc/org.texi: Overwrite with the one generated from
  "org-manual.org".
2018-03-28 17:13:56 +02:00
Nicolas Goaziou bfd6d3c867 org-manual: Fix typo in capture protocol
Reported-by: Буковская Агнесса <aggie@yandex.ru>
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00528.html>
2018-03-28 17:13:56 +02:00
Nicolas Goaziou a20ed49289 org-manual: Fix link to Calc manual 2018-03-28 16:27:57 +02:00
Nicolas Goaziou 661644aba7 org-manual: Fix typos in copying 2018-03-28 16:27:57 +02:00
Nicolas Goaziou 97fc9a79ec org-manual: Remove "email" keyword 2018-03-28 16:15:43 +02:00
Nicolas Goaziou 5ee6d18862 org-manual: Fix typo 2018-03-28 16:15:43 +02:00
Nicolas Goaziou 243608f153 org-manual: Normalize S-<cursor> keybindigs 2018-03-28 16:15:43 +02:00
Nicolas Goaziou b946c93865 org-manual: Fix typo 2018-03-28 16:15:43 +02:00
Nicolas Goaziou c154c3db02 org-manual: Fix whitespace issues 2018-03-28 16:15:43 +02:00
Nicolas Goaziou c1777f12a6 org-manual: Fix typo 2018-03-28 16:15:43 +02:00
Nicolas Goaziou fde21b962e org-manual: Fix table size 2018-03-28 16:15:43 +02:00
Nicolas Goaziou 6d4ae97103 Rename "manual.org" into "org-manual.org" 2018-03-28 16:15:40 +02:00
Nicolas Goaziou 7d2ed44f76 Move "manual.org" into "doc/" 2018-03-28 14:21:16 +02:00
Kyle Meyer be8f76cbe9 Merge branch 'maint' 2018-03-26 00:07:03 -04:00
Glenn Morris 8cf787cbad Backport commit 7d6c7d0b4 from Emacs
; Use GNU not Gnu in docs
7d6c7d0b461705fd67f7df1096b6f6376931f140
Glenn Morris
Fri Mar 23 16:01:12 2018 -0400
2018-03-26 00:05:57 -04:00
Bastien a06b72bb9d Merge branch 'maint' 2018-03-20 10:01:52 +01:00
Bastien cb46679eb2 org.texi: Fix typo
* doc/org.texi (Emphasis and monospace): Fix typo.

Thanks to Li Deng for reporting this.
2018-03-20 10:01:17 +01:00
Bastien 51b339105a Merge branch 'maint' 2018-03-10 22:38:59 +01:00
Bastien c0f423d434 orgguide.texi: Fix more links and references 2018-03-10 22:38:39 +01:00
Bastien 69e674f518 Merge branch 'maint' 2018-03-10 22:29:38 +01:00
Bastien 50550c8405 orgguide.texi: Fix broken or obsolete links 2018-03-10 22:29:23 +01:00
Kyle Meyer f74f55cc75 Merge branch 'maint' 2018-03-07 22:07:42 -05:00
Paul Eggert 9ac80ede5e Backport commit f2caf08ca from Emacs
; Spelling fixes
f2caf08ca625f64c7eeea8dfa8f65a5b1bac58e2
Paul Eggert
Sun Mar 4 17:10:34 2018 -0800
2018-03-07 22:07:25 -05:00
Bastien dd99ed7443 doc/Documentation_Standards.org: Major update
Thanks to Thomas Dye for providing a patch to enhance this page.
2018-03-04 21:46:44 +01:00
Bastien 66d2474ccb doc/Documentation_Standards.org: Clean indentation 2018-03-04 21:31:14 +01:00
Bastien 4d50d5c9a4 doc/Documentation_Standards.org: Don't set fill-column
It is already set in .dir-locals.el.
2018-03-04 21:29:47 +01:00
Bastien 902148a967 Merge branch 'maint' 2018-03-04 21:22:32 +01:00
Bastien a1dfd4ff20 org.texi: Fix typo
* doc/org.texi (Activation, Agenda files): Fix typo.

Thanks to Th. Rikl for reporting this.
2018-03-04 08:42:47 +01:00
Nicolas Goaziou 3ffc7d6903 Merge branch 'maint' 2018-03-03 13:42:35 +01:00
Nicolas Goaziou f8d758966c orgguide.texi: Fix typo
* doc/orgguide.texi (TODO Items): Fix typo.

Reported-by: siraben@disroot.org
<http://lists.gnu.org/r/emacs-orgmode/2018-03/msg00036.html>
2018-03-03 13:41:49 +01:00
Kyle Meyer 5cb1184447 Merge branch 'maint' 2018-02-26 22:11:56 -05:00
Michael Albinus e810e6e5f9 Backport commit 9743f48de from Emacs
* doc/org.texi: Mark keys consistently.

Mark keys consistently in manuals
9743f48de7325bd95a42e1a27acbf6635f8d086b
Michael Albinus
Mon Feb 26 13:53:37 2018 +0100
2018-02-26 21:42:25 -05:00
Michael Albinus c0de50216a Backport commit ce557a924 from Emacs
* doc/org.texi: Remove @key{} markups from @kindex entries.

Remove @key{} markups from @kindex entries in manuals
ce557a924a299650b5e0c93ba276f1ec651f7941
Michael Albinus
Mon Feb 26 09:24:39 2018 +0100
2018-02-26 21:40:38 -05:00
Michael Albinus 5c3a00575b Backport commit 7a069f35d from Emacs
* doc/org.texi: Fix @kindex entries.  Mark keys consistently.

Fix @kindex entries in manuals
7a069f35d4ce002dc10d666fde2850d8e6eee427
Michael Albinus
Sun Feb 25 16:29:39 2018 +0100
2018-02-26 21:38:43 -05:00
Michael Albinus bb2195a1c0 Backport commit e415309fe from Emacs
* doc/org.texi: Fix @cindex entries.  Use consistently
@code{} for keywords.

Fix @cindex entries in org.texi
e415309fef4077fe7e4dfe1a898d749c1136ca2c
Michael Albinus
Sat Feb 24 20:40:39 2018 +0100
2018-02-26 21:36:41 -05:00
Kyle Meyer 47908228e7 Merge branch 'maint' 2018-02-18 16:33:04 -05:00
Glenn Morris 5c3be1a298 Backport commit 35e5c57db from Emacs
; Fix doc typos related to indefinite articles
35e5c57db311c3d6c1c3a8dd4edc3d756d1d5d24
Glenn Morris
Fri Feb 16 14:11:51 2018 -0500
2018-02-18 16:32:40 -05:00
Paul Eggert a173d75145 Backport commit 7d90d2ece from Emacs
Proofread os.texi and files.texi
7d90d2ece041630e0c440a2b0216e43f82729844
Paul Eggert
Mon Jan 29 10:38:06 2018 -0800
2018-02-18 16:32:40 -05:00
Nicolas Goaziou 90607d1d18 Merge branch 'maint' 2018-02-13 17:36:36 +01:00
Nicolas Goaziou d5527699ab org.texi: Remove `org-enable-table-editor' remnant
* doc/org.texi (Built-in table editor): Remove reference to suppressed
  variable `org-enable-table-editor'.
2018-02-13 17:35:41 +01:00
Nicolas Goaziou 0155441358 Merge branch 'maint' 2018-01-19 18:22:00 +01:00
Tim Landscheidt e5055616f3 Add trailing slash to https://orgmode.org/worg/org-contrib/babel
TINYCHANGE
2018-01-19 18:15:09 +01:00
Tim Landscheidt b289a65be7 Use https for links to orgmode.org
TINYCHANGE
2018-01-19 18:14:58 +01:00
Kyle Meyer d94f7024bc Merge branch 'maint' 2018-01-07 00:28:35 -05:00
Kyle Meyer 3e1641ef0a Update copyright years 2018-01-07 00:27:54 -05:00
Nicolas Goaziou 8a2914f458 Merge branch 'maint' 2018-01-06 10:09:39 +01:00
Nicolas Goaziou e00bbc6ec2 org.texi: Add `org-capture-templates' to variables index
* doc/org.texi (Capture templates): Add `org-capture-templates' to
  variables index.
2018-01-06 10:08:49 +01:00
Nicolas Goaziou e8cd52dee0 Merge branch 'maint' 2018-01-04 19:51:46 +01:00
Nicolas Goaziou 6c19b2db51 org.texi: Fix protocol for read-only repository
* doc/org.texi (Installation): Fix protocol for read-only repository.
2018-01-04 19:50:46 +01:00
Nicolas Goaziou 931406855e Merge branch 'maint' 2018-01-04 19:11:57 +01:00
Nicolas Goaziou b762c2dcc8 org.texi: Fix git repository location
* doc/org.texi (Installation): Fix git repository location.
2018-01-04 19:11:14 +01:00
Nicolas Goaziou e2b47eb5e7 Merge branch 'maint' 2018-01-04 16:35:24 +01:00
Nicolas Goaziou 5838838288 org.texi: Use https instead of http for orgmode.org
* doc/org.texi (Summary):
(Installation):
(Footnotes):
(Org syntax):
(Lookup functions):
(Org-Plot):
(Capturing column view):
(@code{open-source} protocol):
(Links in HTML export):
(JavaScript support):
(Images in ODT export):
(Library of Babel):
(Languages):
(Language-specific header arguments):
(Hooks):
(Add-on packages):
(Adding export back-ends):
(Speeding up your agendas):
(Setting up the staging area): Use https instead of http for
orgmode.org.
2018-01-04 16:34:07 +01:00
Nicolas Goaziou 20491f2e7c org.texi: Remove references to Radio lists
* doc/org.texi (Sitemap): Remove reference to Radio lists.
(Radio lists): Remove node.
2017-12-31 12:33:22 +01:00
Nicolas Goaziou eeb4c22090 Remove OrgStruct mode
* lisp/org.el (org-overview): Use `org-outline-regexp-bol' instead of
  `outline-regexp'.
(org-heading-components): Ignore orgstruct-mode.
(orgstruct-heading-prefix-regexp):
(orgstruct-setup-hook):
(org-local-vars):
(orgstruct-mode):
(turn-on-orgstruct):
(orgstruct-is-++):
(org-fb-vars):
(orgstruct++-mode):
(turn-on-orgstruct++):
(orgstruct-error):
(orgstruct-setup):
(orgstruct-make-binding):
(org-run-like-in-org-mode):
(org-indent-line):
(org-fill-paragraph):
(org-show-children): Remove Orgstruct mode

* doc/org.texi (Orgstruct mode): Remove node.
2017-12-30 10:28:50 +01:00
Bastien 29dd9a6605 org.el: New value for `org-todo-repeat-to-state'
* lisp/org.el (org-todo-repeat-to-state): Allow `t' to use
the previous TODO state.

* doc/org.texi (Repeated tasks): Document the new optional
value of `org-todo-repeat-to-state'.
2017-12-29 18:36:27 +01:00
Marco Wahl 993f76a7b4 org.texi: Document how to attach from a dired buffer 2017-12-13 14:16:38 +01:00
Rasmus 94f1a58438 org-tempo.el: New file for expansion of templates
* lisp/org-tempo.el: New file.
* doc/org.texi (Structure templates):
* lisp/org.el (org-modules): Add org-tempo.
* testing/lisp/test-org-tempo.el: New file.
2017-12-08 00:29:08 +01:00
Nicolas Goaziou 62112f5a86 Merge branch 'maint' 2017-12-03 17:37:48 +01:00
Nicolas Goaziou c2c301c9cc org.texi: Fix typo
* doc/org.texi (Global and local cycling): Fix typo.
2017-12-03 17:37:20 +01:00
Nicolas Goaziou 1bb9cf1597 Merge branch 'maint' 2017-11-29 23:02:42 +01:00
Nicolas Goaziou 6fe212a3ec org.texi: Fix incorrect statement about dynamic blocks
* doc/org.texi (Capturing column view):
(The clock table): Correct statement.

Reported-by: Jorge Morais Neto <jorge13515@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2017-11/msg00429.html>
2017-11-29 23:01:43 +01:00
Nicolas Goaziou 51234f9555 org-macro: Implement "keyword" macro
* lisp/org-macro.el (org-macro-initialize-templates): Implement
  "keyword" macro.
* doc/org.texi (Macro replacement): Document new macro.

* testing/lisp/test-org-macro.el (test-org-macro/keyword): New test.
2017-11-21 23:38:24 +01:00
Nicolas Goaziou 3226129036 org.texi: Fix typo
* doc/org.texi (Export settings): Fix typo introduced in last commit.
2017-11-20 00:14:22 +01:00
Nicolas Goaziou f482cfa785 Merge branch 'maint' 2017-11-20 00:14:05 +01:00
Nicolas Goaziou 82812ff086 ox: Fix UNNUMBERED strict inheritance
* lisp/ox.el (org-export-numbered-headline-p): Use a less opinionated
  definition of inheritance.

* testing/lisp/test-ox.el (test-org-export/numbered-headline-p):
  Update test.

* doc/org.texi (Export settings): Insist on UNNUMBERED inheritance.

It is now possible to number a headline within an unnumbered tree.
2017-11-20 00:09:59 +01:00
Eric Abrahamsen c04e357f3d Replace easy templates with org-insert-structure-template
* lisp/org.el (org-insert-structure-template): New function for
  wrapping region (or element at point) in a begin/end block.
  (org-structure-predefined-blocks): New option holding predefined
  blocks, for completion.
  (org-try-structure-completion,
  org-complete-expand-structure-template): Remove functions.
* doc/org.texi (Inserting structure templates): Document.
* testing/lisp/test-org.el (test-org/insert-template): New test.
2017-11-05 09:56:26 +01:00
Nicolas Goaziou 99dbca3d4f Remove `org-babel-use-quick-and-dirty-noweb-expansion'
* lisp/ob-core.el (org-babel-use-quick-and-dirty-noweb-expansion):
  Remove variable.
(org-babel-expand-noweb-references): Update function.

* doc/org.texi (noweb-ref): Document new behaviour.
(Noweb reference syntax): Delete reference to removed variable.

`org-babel-use-quick-and-dirty-noweb-expansion' main use is to speed
up Noweb expansion when expanding only by name.  By distinguishing
name and reference expansion, we no longer need this variable.  In the
first case, the expansion is quicker anyway, and in the second case,
we most certainly need an accurate expansion.
2017-10-26 13:09:23 +02:00
Marco Wahl 78c6a299d2 org-agenda: Bulk mark lines in region
* lisp/org-agenda.el (org-agenda-bulk-mark): Added bulk mark for entries
  in region.  This is like in dired now.

* doc/org.texi (Agenda commands): Document bulk mark entries in region
2017-10-25 15:13:13 +02:00
Nicolas Goaziou 52d4ca4b29 Merge branch 'maint' 2017-10-17 23:31:45 +02:00
Allen Li 90d283f189 Update documentation on org-protocol template placeholders
* doc/org.texi (@code{capture} protocol): Fix placeholder names
(Template expansion): Add org-protocol placeholders

* lisp/org.el (org-store-link-plist): Fix docstring grammar
(org-store-link-props): Fix docstring grammar
2017-10-17 23:28:53 +02:00
Nicolas Goaziou 9b13e44ad7 ox: Implement "notoc" UNNUMBERED value
* lisp/ox.el (org-export-collect-headlines): Exclude headlines with
  UNNUMBERED property set to "notoc".

* doc/org.texi (Export settings):
(Table of contents): Document new value.

* testing/lisp/test-ox.el (test-org-export/collect-headlines): Add
  test.
2017-10-15 16:51:10 +02:00
Kyle Meyer 86e6ab697c Merge branch 'maint' 2017-10-12 01:28:25 -04:00
Kyle Meyer 8c44a3f23d org.texi: Correct keys for subtree movement commands
* doc/org.texi (Structure editing): Correct bindings for
org-move-subtree-up and org-move-subtree-down.

Reported-by: Johann Höchtl <<johann.hoechtl@gmail.com>>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-10/msg00203.html>
2017-10-12 01:27:42 -04:00
Kyle Meyer 7a2b642ad1 Merge branch 'maint' 2017-10-02 09:41:35 -04:00
Martin Rudalics 8ed303fdfe Backport commit 07ea5ef99 from Emacs
* doc/org.texi (A Texinfo example): Fix reference style.

Fix reference style in org.texi
07ea5ef99a509622981a8ca69aadff15cbc0ef10
Martin Rudalics
Sun Oct 1 10:30:33 2017 +0200

<https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00019.html>
2017-10-02 09:37:40 -04:00
Nicolas Goaziou 9cfa907971 Merge branch 'maint' 2017-09-28 16:25:36 +02:00
Nicolas Goaziou a563ccabe3 org.texi: Add missing information about `org-cycle-global-at-bob'
* doc/org.texi (Global and local cycling): Document special situation
  when buffer begins with a headline.

Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00456.html>
2017-09-28 16:25:12 +02:00
Nicolas Goaziou 4f619fc200 Merge branch 'maint' 2017-09-28 16:06:57 +02:00
Nicolas Goaziou 40b82fdb8a org.texi: Remove reference to removed variable
* doc/org.texi (Plain lists): Remove reference to
  `org-list-empty-line-terminates-plain-lists'.

Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00603.html>
2017-09-28 16:06:11 +02:00
Marco Wahl 80eca1d31f org.texi: Delete misplaced colon 2017-09-26 13:56:30 +02:00
Nicolas Goaziou 039004ddee Merge branch 'maint' 2017-09-21 21:17:04 +02:00
Nick Dokos 196ed7feff Add publishing function to "Simple example"
The simple example project definition is missing a publishing
function. Added org-html-publish-to-html as the publishing function.
2017-09-21 21:16:45 +02:00
Nicolas Goaziou ad0662bbe7 Revert "Table of contents ignore unnumbered headlines"
This reverts commit bd2378161e.
2017-09-21 21:14:41 +02:00
Nicolas Goaziou 2faebbd2f0 Merge branch 'maint' 2017-09-20 12:56:17 +02:00
Nicolas Goaziou 1ef71bf7e0 Rephrase `org-cycle-global-at-bob' documantion
* doc/org.texi (Global and local cycling): Rephrase
  `org-cycle-global-at-bob' documantion.

Reported-by: Alain.Cochard@unistra.fr
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-09/msg00447.html>
2017-09-20 12:55:50 +02:00
Kyle Meyer 297acd7517 Merge branch 'maint' 2017-09-17 01:17:10 -04:00
Paul Eggert ff0dcf52a5 Backport commit bc511a64f from Emacs
Prefer HTTPS to FTP and HTTP in documentation
bc511a64f6da9ab51acc7c8865e80c4a4cb655c2
Paul Eggert
Wed Sep 13 15:54:37 2017 -0700
2017-09-17 00:28:38 -04:00
Kyle Meyer 3df23ef80c Merge branch 'maint' 2017-09-15 18:59:45 -04:00
Kyle Meyer 042fa9970e org.texi: Update for library-of-babel.org move
* doc/org.texi (Library of Babel): Point to library-of-babel.org's new
location (as of 517637012).
2017-09-15 18:58:41 -04:00
Kyle Meyer 1c2e6c911e orgguide.texi: Fix Library of Babel link
* doc/orgguide.texi (Working With Source Code): Fix typo in Library of
Babel link.
2017-09-15 18:58:41 -04:00
Nicolas Goaziou 81e7ad6507 Add missing documentation part about shrunk columns
* doc/org.texi (In-buffer settings): Document
  `org-startup-shrink-all-tables'.
2017-09-12 09:00:27 +02:00
Kyle Meyer 793b429f95 Merge branch 'maint' 2017-09-10 16:54:02 -04:00
Paul Eggert a4f1395cbe Backport commit cdef84fb6 from Emacs
Spelling fixes
cdef84fb6893f69ffee1a99fe82a262e02e59bf5
Paul Eggert
Sun Sep 10 09:24:37 2017 -0700
2017-09-10 16:51:26 -04:00
Nicolas Goaziou bd2378161e Table of contents ignore unnumbered headlines
* doc/org.texi (Table of contents): Document behavior.
* lisp/ox-texinfo.el (org-texinfo-classes): Use @heading commands and
  alike for unnumbered sections.
* lisp/ox.el (org-export-collect-headlines): Ignore unnumbered
  headlines.

* testing/lisp/test-ox.el (test-org-export/collect-headlines): Add
  test.
2017-09-10 15:53:20 +02:00
Nicolas Goaziou 85ba4912a0 org.texi: Fix last commit
* doc/org.texi (Column width and alignment): Fix keybinding and
  function syntax.
2017-09-07 14:40:06 +02:00
Marco Wahl d41c256ea2 org.texi: Hint to "C-h ." to see hidden cell value 2017-09-07 11:44:25 +02:00
Nicolas Goaziou 70d2b3c96f org-table: Obey <c> cookie when aligning a table
* lisp/org-table.el (org-table--align-field): New function.
(org-table-align): Use new function.  Refactor code.
(org-table-justify-field-maybe): Use new function.
(org-table-get-remote-range): Remove duplicate bindings.

* doc/org.texi (Column width and alignment): Remove footnote.

* testing/lisp/test-org-table.el (test-org-table/align): New test.
2017-09-06 15:21:20 +02:00
Nicolas Goaziou 6e5598dc31 Document new column display
* doc/org.texi (Column width and alignment): Document new column
  display.
2017-09-06 15:21:20 +02:00
Nicolas Goaziou f986dd4c9f Fix last commit 2017-09-02 19:33:27 +02:00
Nicolas Goaziou 2dd50a3662 org.texi: Fix info compilation
* doc/org.texi (Global and local cycling):
(A Texinfo example): Use appropriate command.
2017-09-02 19:28:13 +02:00
Nicolas Goaziou d1ff75f335 Remove "timeline" remnants
* doc/orgguide.texi (Timeline): Remove node.
(Top):
(Using TODO states):
(Clocking work time):
(Agenda dispatcher):
(Built-in agenda views):
(Matching tags and properties): Update.
* lisp/org-agenda.el (org-agenda-include-inactive-timestamps):
(org-agenda-format-date):
(org-agenda-format-date-aligned):
(org-agenda-weekend-days):
(org-agenda-prefix-format):
(org-agenda-show-inherited-tags):
(org-agenda-use-tag-inheritance):
(org-agenda-menu):
(org-agenda-max-entries):
(org-agenda-max-todos):
(org-agenda-max-tags):
(org-agenda-max-effort):
(org-agenda-check-type):
(org-agenda-manipulate-query):
(org-agenda-goto-today):
(org-agenda-view-mode-dispatch):
(org-agenda-next-date-line):
(org-agenda-previous-date-line):
(org-agenda-log-mode):
(org-agenda-date-later):
(org-agenda-date-prompt):
(org-agenda-schedule):
(org-agenda-deadline):
(org-agenda-execute-calendar-command):
(org-agenda-goto-calendar):
(org-agenda-convert-date):
(org-agenda-bulk-action):
* lisp/org-mouse.el (org-mouse-agenda-context-menu): Remove reference
  to "timeline".
2017-08-30 14:24:40 +02:00
Nicolas Goaziou d49eee088d Improve an example in manual
* doc/org.texi (Batch execution): Improve example.
2017-08-27 16:44:42 +02:00
Kyle Meyer ca7c5dfa20 Merge branch 'maint' 2017-08-27 10:09:26 -04:00
Paul Eggert ca7d3bd77c Backport commit 05f9ffd53 from Emacs
* doc/org.texi (Batch execution): Simplify example script so that it
does not need expand-file-name and thus will not mishandle file names
with leading ~.

Improve expand-file-name doc
05f9ffd53c65699e8de6cca4817b1f2dc2f63a79
Paul Eggert
Fri Aug 25 21:14:06 2017 -0700
2017-08-27 09:15:31 -04:00
Nicolas Goaziou 64bfa2d931 Remove `inline-only' option for `org-export-use-babel'
* lisp/ob-exp.el (org-export-use-babel): Remove `inline-only' option.
(org-babel-exp-process-buffer): Ignore `inline-only' value.

* doc/org.texi (Exporting code blocks): Remove documentation.

* testing/lisp/test-ob-exp.el (ob-export/babel-evaluate): Remove tests.
2017-08-26 10:32:26 +02:00
Eric Abrahamsen 7973ec1057 Inherit TIMEZONE and LOCATION properties in iCalendar export
* lisp/ox-icalendar.el (org-icalendar-entry): Both properties now
optionally inherit, depending on value of
`org-use-property-inheritance'.
* doc/org.texi: Mention change.
2017-08-20 00:12:57 +02:00
Eric Abrahamsen 42458e682d Add per-entry timezone support for icalendar export
* lisp/ox-icalendar.el (org-icalendar-entry): Look for a "TIMEZONE"
  property.
(org-icalendar--vevent, org-icalendar--vtodo): Accept additional
timezone argument.
(org-icalendar-convert-timestamp): Change parameter name to "tz", and
accept a wider variety of values.

* doc/org.texi: Mention in manual.
2017-08-20 00:11:18 +02:00
Nicolas Goaziou 6a590738b1 Remove `org-enable-table-editor'
* doc/org.texi (Built-in table editor): Document removal.
* lisp/org-table.el (orgtbl-optimized):
(org-table-auto-blank-field): Ignore removed variable.
2017-08-19 23:39:22 +02:00
Nicolas Goaziou a5dbedea06 Merge branch 'maint' 2017-08-19 11:11:55 +02:00
Nicolas Goaziou d01ee01d52 Document backslash escaping rule in capture templates
* doc/org.texi (Template expansion): Document backslash escaping rule
  in capture templates.

Reported-by: Peter Tomhas <peter.tomhas@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00429.html>
2017-08-19 11:10:55 +02:00
Kaushal Modi 8e599ff546 Fix org.texi compilation
* doc/org.texi (Exporting agenda views): Add the missing closing brace
  for a footnote.
2017-08-18 12:32:31 -04:00
Bastien d0ced98943 Delete htmlize.el from Org’s contrib directory
* lisp/ox-org.el (org-org-publish-to-org):
* lisp/ox-html.el (org-html-htmlize-generate-css):
(org-html-fontify-code):
* lisp/org-agenda.el (org-agenda-write): Throw an error
requesting the user to install htmlize.el.

* doc/org.texi (Exporting agenda views, Literal examples):
Don’t assume htmlize.el is available.

You need to install it from https://github.com/hniksic/emacs-htmlize

See https://github.com/hniksic/emacs-htmlize/issues/7 for this issue.
2017-08-18 09:54:19 +02:00
Bastien 5176370129 Move the library-of-babel.org to Worg 2017-08-18 09:34:34 +02:00
Nicolas Goaziou 940c90ec97 Merge branch 'maint' 2017-08-13 16:23:33 +02:00
Chunyang Xu 6f5cacd607 * doc/org.texi: Add org-babel-load-languages to Variable Index
TINYCHANGE
2017-08-13 16:23:11 +02:00
Grant Rettke 33e0dc6155 Add Easy Template for COMMENT (C)
* lisp/org.el: (org-structure-template-alist): Added `COMMENT' block template
  bound to `C'

* doc/org.texi: Add documentation for `COMMENT' Easy Template.

* contrib/orgmanual.org: Add documentation for `COMMENT' Easy
  Template.

* etc/ORG-NEWS: Added note for 9.1 release under Miscellaneous
2017-08-10 12:45:02 +02:00
Christian Garbs 4d2c8354ee ob-vala.el: Add Vala support to Babel
* lisp/ob-vala.el: Add support for the Vala language to Babel.

* testing/lisp/test-ob-vala.el: Add tests for ob-vala.el.

* doc/org.texi (Working with source code): Add Vala to the list of
  supported languages.
2017-08-07 11:40:25 +02:00
Kyle Meyer b2a2818a69 Merge branch 'maint' 2017-08-06 11:59:45 -04:00
Marshall handheld Flax 492420b605 org.texi: Replace a misused word
* doc/org.texi (Code evaluation security): Replace misused "weary"
with "wary".

TINYCHANGE
2017-08-06 11:58:10 -04:00
Nicolas Goaziou 6b9f9e9aff Merge branch 'maint' 2017-07-24 09:42:50 +02:00
Nicolas Goaziou 10bdef394d org.texi: Fix last commit 2017-07-24 09:34:57 +02:00
Nicolas Goaziou 6c38314429 Merge branch 'maint' 2017-07-23 22:49:11 +02:00
Nicolas Goaziou 16dbf09419 org.texi: Document Org Protocol
* doc/org.texi (Protocols): Document feature.
2017-07-23 22:48:51 +02:00
Nicolas Goaziou e07392cf41 Merge branch 'maint' 2017-07-13 11:00:17 +02:00
Chunyang Xu a8e13b9ffc library-of-babel: Fix typo
* doc/library-of-babel.org: Replace non-existent with-temp-filebuffer.

TINYCHANGE
2017-07-13 10:00:58 +02:00
Kyle Meyer d39ccc17d4 Merge branch 'maint' 2017-07-09 11:28:54 -04:00
Paul Eggert b7fdc30388 Backport commit 20e9a00fb from Emacs
* lisp/org-table.el (org-table-sort-lines): Fix misspelling in prompt.
* lisp/ox-ascii.el (org-ascii--describe-datum): Fix misspelling in
call to org-element-lineage.

Spelling fixes
20e9a00fb5d12ad408f9dd15adcfcd205783c1b0
Paul Eggert
Thu Jul 6 00:24:56 2017 -0700
2017-07-09 11:27:12 -04:00
Marco Wahl 360109e6c7 Merge branch 'maint' 2017-07-08 23:32:10 +02:00
Marco Wahl 4b4f659d74 doc/org.texi (Easy templates): unified the notation. 2017-07-08 23:29:49 +02:00
Bastien 39906ee63d doc/org.texi (Global and local cycling): Add an online label
* doc/org.texi (Global and local cycling): Add an online label
to a reference.

Thanks to HyungSuk Ryu for reporting this.
2017-07-03 08:35:25 +02:00
Nicolas Goaziou fbd865941f Merge branch 'maint' 2017-07-01 18:27:21 +02:00
Mario Martelli 20d1c56575 org.texi: Fixes missing space after dot.
* doc/org.texi (Summary):
(Weekly/daily agenda): Fixes missing space after dot.
2017-07-01 18:25:51 +02:00
Nicolas Goaziou bff7f5daad Merge branch 'maint' 2017-07-01 14:34:19 +02:00
Nicolas Goaziou 3d63899088 org.texi: Small change to Copying example in Texinfo export
* doc/org.texi (Texinfo title and copyright page): Clarify that the
  headline needs to be named Copying, as pointed out above.
2017-07-01 14:32:54 +02:00
Kyle Meyer 282abe8969 Merge branch 'maint' 2017-07-01 00:18:15 -04:00
Kyle Meyer b00705f9e3 doc/Makefile: Use printf to generate org-version.tex
* doc/Makefile (org-version.tex): Use printf instead of echo to
increase portability.

By default GNU coreutil's echo disables the interpretation of
backslash escapes (-E option), but this isn't the case for some echo
variants.

Reported-by: Dale <dale@codefu.org>
<https://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00619.html>
2017-06-30 13:27:53 -04:00
Kyle Meyer 6b65af9e10 Merge branch 'maint' 2017-06-28 01:00:26 -04:00
Kyle Meyer a8d007db15 doc/Makefile: Auto-generate org-version.tex for orgcard
* doc/Makefile: Add rule to generate org-version.tex.
* doc/orgcard.tex: Include org-version.tex rather than explicitly
setting version and year.

This removes the only instance in the repo where the Org version is
hardcoded.
2017-06-28 00:54:32 -04:00
Bastien d9344b9ad6 Merge branch 'maint' 2017-06-25 10:53:06 +02:00
Kitamoto Tsuyoshi 08334effc1 doc/org.texi (HTML doctypes): Fix formatting
* doc/org.texi (HTML doctypes): Fix formatting.

TINYCHANGE
2017-06-25 10:38:46 +02:00
Kaushal Modi d94475d63c Merge branch 'maint' 2017-06-23 06:05:10 -04:00
Kaushal Modi 3c9ec81e18 Improve Noweb documentation
* doc/org.texi (noweb, noweb-ref, Noweb reference syntax): Add
examples and improve wording.  Clarify how to use Noweb style
references with code block arguments.  Replace occurrences of
``noweb'' and ``Noweb'' with Noweb for consistency.
2017-06-23 06:03:36 -04:00
Bastien 6bbc07f916 Merge branch 'maint' 2017-06-21 15:23:55 +02:00
Tsuyoshi Kitamoto 877377ebb3 doc/org.texi (External links): Tiny formatting fix
* doc/org.texi (External links): Tiny formatting fix.

TINYCHANGE
2017-06-21 15:23:23 +02:00
Nicolas Goaziou 3aa3add326 Merge branch 'maint' 2017-06-20 09:32:48 +02:00
Nicolas Goaziou bb25a04f86 org.texi: Fix menus
* doc/org.texi (Top):
(Texinfo export): Fix menus.
2017-06-20 09:32:10 +02:00
Nicolas Goaziou 5e439d41f8 Merge branch 'maint' 2017-06-20 09:25:05 +02:00
Nicolas Goaziou fa6b7bf25c ox-texinfo: Fix location of text before first headline
* doc/org.texi (Info directory file): Fix node name.
(Headings and sectioning structure): Document location of text before
  first headline.
(A Texinfo example): Update example.

* lisp/ox-texinfo.el (org-texinfo-template): Handle contents of very
  first section.
(org-texinfo-section): Ignore very first section.

According to Texinfo specifications, Top node contents should not
appear in printed output.  Move it near "@top" command, within
"@ifnottex".
2017-06-20 09:24:34 +02:00
Kyle Meyer bed2c25fd3 Merge branch 'maint' 2017-06-19 23:37:06 -04:00
Kyle Meyer 2ab2a420a6 org.texi: Clean up spacing to pass Emacs's pre-commit check
Like c1822e556 (2017-01-25), this is in preparation for syncing with
the Emacs repo.
2017-06-19 23:23:07 -04:00
Nicolas Goaziou a615d399d9 org.texi: Update Texinfo section
* doc/org.texi (Plain lists in Texinfo export): Update according to
  latest changes.
2017-06-18 11:04:38 +02:00
Nicolas Goaziou 1a6bf9c5f9 Merge branch 'maint' 2017-06-18 11:03:43 +02:00
Nicolas Goaziou df62584820 org.texi: Small update
* doc/org.texi (A Texinfo example): Update according to latest
  ox-texinfo fixes.
2017-06-18 11:03:13 +02:00
Nicolas Goaziou 8769cfc91c Revert "ox-texinfo: Escape @ { } in index"
* lisp/ox-texinfo.el (org-texinfo-keyword): Index keywords are
  specific to Texinfo back-end, so they expect regular Texinfo code.
* doc/org.texi (Indices): Update documentation.
2017-06-18 11:00:56 +02:00
Kaushal Modi d48cfdf68b Add hold 'action' to the "n" macro and ws-trim all "n" macro args
* lisp/org-macro.el (org-macro--counter-increment): Rename the
optional arg RESET to ACTION, as now that action can mean setting,
resetting or even holding the specified counter.  ACTION set to
"-" will hold the previous value of the counter.  White-space is
now trimmed from the NAME arg too.

* doc/org.texi (Macro replacement): Document the new hold action.

* testing/lisp/test-org-macro.el (test-org-macro/n): Add new tests for
the hold action.
2017-06-17 23:46:24 -04:00
Bastien 32676822de Merge branch 'maint' 2017-06-15 16:50:16 +02:00
Tsuyoshi Kitamoto 01ba5cafa5 doc/org.texi: Fix typos
* doc/org.texi (Include files)
(Special blocks in Texinfo export, Translator functions): Fix typos.

TINYCHANGE
2017-06-15 16:48:21 +02:00
Nicolas Goaziou c7be9d9ad5 org.texi: Add missing documentation about "n" macro
* doc/org.texi (Macro replacement): Add missing documentation.
2017-06-14 21:42:27 +02:00
Nicolas Goaziou be30c8b126 ox-texinfo: Change default table markup
* lisp/ox-texinfo.el (org-texinfo-table-default-markup): Rename from
  `org-texinfo-def-table-markup'.  Set default value to the neutral
  "@asis".
(org-texinfo-plain-list): Use new name.
* lisp/org-compat.el (org-texinfo-def-table-markup): Mark as obsolete.
* doc/org.texi (Publishing options): Document change.
2017-06-14 19:11:33 +02:00
Carsten Dominik feed16e1ed Merge branch 'master' of orgmode.org:org-mode 2017-06-14 05:46:17 +02:00
Carsten Dominik daff9c93f2 Implement new `U' mode switch for table formulas to omit seconds in durations
* lisp/org-table.el (org-table-duration-custom-format): Add new
	HH:MM format.
	(org-table-duration-hour-zero-padding): New option.
	(org-table-eval-formula): Select second-less format if
	requested.
	(org-table-time-seconds-to-string): Implement formats without
	seconds and without zero-padding for hours.

	* testing/lisp/test-org-table.el (test-org-table/duration):
	New test for second-less durations.

	* doc/org.texi (Formula syntax for Calc)
	(Durations and time values): Document the U mode switch.
2017-06-14 05:43:12 +02:00
Kaushal Modi 1e92f5ed39 Allow org-file-contents to fetch file contents from a URL
* lisp/org.el (org--file-cache): New variable.
(org-reset-file-cache):
(org-file-url-p): New function.
(org-mode-restart): Use new function.

* lisp/org.el (org-file-contents): Allow the FILE argument to be a
URL.  If the URL contents are already cached, return the cache
contents, else download the file and return contents of that.  The
file is automatically cached each time it is downloaded.  Add a new
optional argument NOCACHE.  If this is non-nil, the URL is always
downloaded afresh.  Use `org--file-cache' and `org-file-url-p'.

* lisp/org.el (org-edit-special): Do not allow editing the "file" if a
URL is specified for the "#+SETUPFILE".

* lisp/ox.el (org-export--list-bound-variables)
(org-export--prepare-file-contents):
* lisp/org-macro.el (org-macro--collect-macros) : Adapt to the
possibility that the input to `org-file-contents' can be a URL too.

* doc/org.texi (Export settings, In-buffer settings)
(The very busy C-c C-c key): Mention that #+SETUPFILE keyword can now
take a URL as a value, and that C-c C-c on the #+SETUPFILE line will
clear the org file cache.

* testing/lisp/test-org.el (test-org/org-file-contents-url)
(test-org/org-file-contents-file): Add tests for org-file-contents.

* testing/lisp/test-ox.el (test-org-export/get-inbuffer-options): Add
test for reading setupfile specified via a URL.
2017-06-13 11:41:58 -04:00
Kaushal Modi a933b34992 Merge branch 'maint' 2017-06-09 16:18:24 -04:00
Kaushal Modi 7cd7b90dcb Update remote file syntax for Tramp
* testing/lisp/test-ox.el (test-org-export/file-uri):
* doc/org.texi (External links): The method part of remote file names
is mandatory now in the emacs master (26+).  A valid remote file name
starts with "/method:host:" or "/method:user@host:".  ssh is used as
an example method here.

This change in the examples is backward compatible with emacs 25, 24, ..

Suggested by: Michael Albinus <michael.albinus@gmx.de>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-06/msg00151.html>

Relevant commit in emacs master causing this change:
<http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=ed33337c3e0d0b1a8b140e23168421ea43d79324>
2017-06-09 16:15:15 -04:00
Kaushal Modi 4c24ecc073 Merge branch 'maint' 2017-06-07 18:40:56 -04:00