Commit Graph

2445 Commits

Author SHA1 Message Date
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