Commit Graph

21772 Commits

Author SHA1 Message Date
Nicolas Goaziou bfd481be42 ob-core: Remove `org-babel-set-current-result-hash'
* lisp/ob-core.el (org-babel-set-current-result-hash): Remove
  function, unused through the code base.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 144c27e39d org-keys: Extract key bindings into their own library
* lisp/org.el (org-replace-disputed):
(org-use-extra-keys):
(org-disputed-keys):
(org-key):
(org-defkey):
(org-use-speed-commands):
(org-speed-commands-user):
(org-follow-link-hook):
(org-tab-follows-link):
(org-return-follows-link):
(org-return-follows-link):
(org-mouse-1-follows-link):
(org-mouse-map):
(org-read-date-minibuffer-local-map):
(org-remap):
(org-speed-commands-default):
(org-print-speed-command):
(org-speed-command-help):
(org-speed-move-safe):
(org-speed-command-activate):
(org-babel-speed-command-activate):
(org-speed-command-hook): Move to "org-keys.el".
* lisp/org-keys.el: New file.
* lisp/ob-keys.el: Remove file.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 72cadea3c0 ORG-NEWS: Document "CLASS" property
* etc/ORG-NEWS (iCalendar export respects a =CLASS= property): New
  section.
2018-10-03 18:44:34 +02:00
Tobias Schlemmer 3b0c5f911a org-manual: Add support for the iCalendar CLASS property
* doc/org-manual.org (iCalendar export): Document the CLASS tag

    TINYCHANGE
2018-10-03 18:44:34 +02:00
Tobias Schlemmer 3fddb59ddc ox-icalendar: Add support for the iCalendar CLASS property
* ox-icalendar.el (org-icalendar-entry): Pick the CLASS
property and pass it to `org-icalendar--vevent' and
`org-icalendar--vtodo'.
(org-icalendar--vevent,org-icalendar--vtodo): Add a new parameter
`class' and use it to generate a `CLASS' field in the `VEVENT'
entry.

TINYCHANGE
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 0266c36645 Do not use `org-refresh-effort-properties' when initializing Org
* lisp/org.el (org-mode): Do not call `org-refresh-effort-properties'.
(org-set-effort): Avoid using `effort' text property.
* lisp/org-timer.el (org-timer-set-timer): Avoid using
  `effort-minutes' text property.

Limit use of `effort' and `effort-minutes' properties to "org-agenda".
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 6995f206ad org-colview: Fix failing test
* testing/lisp/test-org-colview.el (test-org-colview/columns-summary):
  Fix failing test.

Since 3367ac945796d7b65feb3c2d0ceb9734a6bbd19c, plain numbers in
properties are minutes instead of hours.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 19d545a0a8 ORG-NEWS: Document last change
* etc/ORG-NEWS (Plain numbers are hours in Column View mode): New
  section.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou fc5ee0f87b org-colview: Plain numbers are minutes instead of hours
* lisp/org-colview.el (org-columns--summary-apply-times): Use the same
  rule as everywhere else in Org.
* doc/org-manual.org (Column attributes): Document change.

Reported-by: Bernt Hansen <bernt@norang.ca>
<http://lists.gnu.org/r/emacs-orgmode/2018-05/msg00294.html>
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 0dd2985509 `org-fill-paragraph' leaves buffer unmodified when doing nothing
* lisp/org.el (org-fill-paragraph): Leave buffer unmodified when
  nothing was filled.
* lisp/org-compat.el: Add forward compatibility with `buffer-hash'
  function.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 0ff4076cb4 ob-eshell: Silence byte-compiler
* lisp/ob-eshell.el (org-babel-eshell-initiate-session): Remove
  unnecessary code.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou db56e096e8 ORG-NEWS: Document :coding parameter for INCLUDE keywords 2018-10-03 18:44:34 +02:00
Nicolas Goaziou 37f3fbf3c6 ORG-NEWS: Document cell movement in tables 2018-10-03 18:44:34 +02:00
Chris Kauffman 3109e2e02e orgguide.texi: Document single cell movement functions
* doc/orgguide.texi (Tables): Add keybindings for since cell movement.
2018-10-03 18:44:34 +02:00
Chris Kauffman 09f9507238 Added keybindings for `org-table-move-cell-*' functions
* lisp/org.el (org-shiftup):
(org-shiftdown):
(org-shiftright):
(org-shiftleft): Dispatch `org-table-move-cell-*' commands.
2018-10-03 18:44:34 +02:00
Chris Kauffman d0a5308435 org-table: Adding single cell movement functions
* lisp/org-table.el (org-table--swap-cells):
(org-table--move-cell):
(org-table-move-cell-up):
(org-table-move-cell-down):
(org-table-move-cell-left):
(org-table-move-cell-right): New functions.

* testing/lisp/test-org-table.el (test-org-table/move-cell-down):
(test-org-table/move-cell-up):
(test-org-table/move-cell-right):
(test-org-table/move-cell-left): New tests.

* doc/org-manual.org (Column and row editing): Document functions and
  keybindings for single cell movement.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 74f769f850 ob-shell: Silence byte-compilation
* lisp/ob-eshell.el (org-babel-eshell-initiate-session): Silence
  byte-compilation.
2018-10-03 18:44:34 +02:00
Pierre Téchoueyres d956ae0431 Add new :coding parameter to #+include keyword
* lisp/ox.el (org-export-expand-include-keyword): Add new parameter
  `:coding' for specify the file encoding whith the `#+include:'
  keyword.

This allow to use something like:

  #+include: "./myfile" :coding cp850-dos

when your Org file is encoded in utf-8 for example.
2018-10-03 18:44:34 +02:00
stardiviner 1b81d6e07b ob-eshell.el: Add Eshell support for Babel
* lisp/ob-eshell.el (org-babel-execute:eshell): Execute Eshell code in Babel.
(org-babel-prep-session:eshell):
(ob-eshell-session-live-p):
(org-babel-eshell-initiate-session):
(org-babel-variable-assignments:eshell):
(org-babel-load-session:eshell):

* testing/test-ob-eshell.el: Write test for ob-eshell.

* doc/org-manual.org (Languages): Add Babel language eshell identity.
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 537748b7b7 ORG-NEWS: Update 2018-10-03 18:44:34 +02:00
rjhwelsh 7809484fe1 ob-plantupml: Added LaTeX output support
* lisp/ob-plantuml.el (org-babel-execute:plantuml): Added LaTeX output
 support.

TINYCHANGE
2018-10-03 18:44:34 +02:00
Nicolas Goaziou 524be7cdb1 ox-html: Fix consistency between footnote definitions
* lisp/ox-html.el (org-html-footnote-section): Wrap inline inline
  footnote definitions within a paragraph.

Reported-by: Matthias Paulmier <matthias.paulmier@etu.u-bordeaux.fr>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00006.html>
2018-10-03 15:26:14 +02:00
Nicolas Goaziou 0122746f5b ox: Fix a docstring
* lisp/ox.el (org-export-get-node-property): Fix docstring.
2018-10-03 13:10:35 +02:00
Marcin Borkowski d229dd9662 Lift the artificial limit on the clock history length.
The default limit of 35 was hard-coded, and was especially annoying
when using an alternative way of selecting from history,
e.g. https://github.com/unhammer/org-mru-clock.
2018-10-03 12:50:05 +02:00
Nicolas Goaziou 77aadd569c Improve a docstring
* lisp/org.el (org-complete-tags-always-offer-all-agenda-tags):
  Improve docstring.

Reported-by: No Wayman <iarchivedmywholelife@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2018-10/msg00027.html>
2018-10-03 12:40:58 +02:00
Marco Wahl d3e286257b org: Fix dangling parens in org-info-find-node 2018-10-03 09:21:58 +02:00
Marco Wahl 4ec502fc98 Merge branch 'master' into contextual-docu 2018-10-02 16:34:58 +02:00
Marco Wahl 3be61dff2f org: Unify a few settings in the org-mode-map 2018-10-02 15:05:59 +02:00
Marco Wahl 9968e66b64 org: Dropped one non-functional keybinding 2018-10-01 23:40:27 +02:00
Marco Wahl b19e7737dd org,org-agenda: New: open info depending on context
* lisp/org.el (org-info-find-node): Function to jump to info depending
  on context.  For an org file the context is the element type at point.
2018-10-01 22:47:33 +02:00
Nicolas Goaziou 3be2260806 Silence byte-compiler
* lisp/ob-emacs-lisp.el:
* lisp/org-macro.el: Silence byte-compiler.
2018-10-01 21:33:49 +02:00
Nicolas Goaziou 0b98efdcd9 org-manual: Fix suggested bindings
* doc/org-manual.org (Activation): Fix and clarify bindings, using
  `kbd' macro.
2018-10-01 18:16:46 +02:00
Kyle Meyer 22538490d3 Merge branch 'maint' 2018-09-29 22:22:13 -04:00
Eli Zaretskii 85e215b6de Backport commit d309994af from Emacs
* doc/org.texi (Cooperation, Conflicts): Fix typos.  Reported by Mak
Kolybabi <mak@kolybabi.com> (Bug#32853)

Fix typos in documentation
d309994aff03200ed8ef9fadd98f69d6d3166701
Eli Zaretskii
Thu Sep 27 18:48:06 2018 +0300
2018-09-29 22:21:37 -04:00
Nicolas Goaziou 8ef876053c org-manual: Fix typo
* doc/org-manual.org (Pulling from the mobile application): Fix typo.
2018-09-29 16:43:55 +02:00
Nicolas Goaziou 3f826b9f74 org-manual: Remove a reference to "MobileOrg"
* doc/org-manual.org (Footnotes): Remove a reference to "MobileOrg".
2018-09-29 16:40:42 +02:00
Nicolas Goaziou 46b49ab57d org-manual: Move "Org Mobile" into "Miscellaneous"
* doc/org-manual.org (Org Mobile): Moved into "Miscellaneous", much
  like Org Crypt library. No longer an appendix.
2018-09-29 16:38:50 +02:00
Nicolas Goaziou b929e5d774 org-manual: Rewrite Org Mobile section
* doc/org-manual.org (Org Mobile): Rewritten from "MobileOrg" section.
  Remove all references to non-free software.
2018-09-29 16:38:42 +02:00
Nicolas Goaziou 591c63dd57 org-mobile: Fix a docstring
* lisp/org-mobile.el (org-mobile-inbox-for-pull): Fix a docstring.
2018-09-29 16:14:30 +02:00
Nicolas Goaziou a841aec7ed org-manual: Use "ID" instead of "id"
* doc/org-manual.org (CSS support): Use "ID" instead of "id".
2018-09-29 14:30:04 +02:00
Nicolas Goaziou 89f8cdedad org-manual: Add missing "Include Files" documentation
* doc/org-manual.org (Include Files): Add missing documentation.
2018-09-29 14:23:57 +02:00
Nicolas Goaziou d99cc7fb4d org-mobile: Remove references to "MobileOrg" specific application
* lisp/org-mobile.el (org-mobile-files):
(org-mobile-use-encryption):
(org-mobile-encryption-password):
(org-mobile-capture-file):
(org-mobile-index-file):
(org-mobile-agendas):
(org-mobile-action-alist):
(org-mobile-edit): Remove reference to "MobileOrg" since the protocol
is not tied to a specific implementation.
2018-09-29 13:43:32 +02:00
Nicolas Goaziou 241eb8ea7a org-manual: Add URL for "listings" LaTeX package
* doc/org-manual.org (Footnotes): Add URL for "listings" LaTeX
  package.
2018-09-29 09:02:24 +02:00
Sigmund Tzeng 0d0cd9694f ob-dot: Fix error with utf-8 encoded dot files
* lisp/ob-dot.el (org-babel-execute:dot): Add utf-8 support.

When trying to render a dot file with utf-8 encoded characters, Org
Babel complains about the encodings.  This patch makes utf-8 dot files
work.

TINYCHANGE
2018-09-29 08:44:39 +02:00
Marco Wahl e22d32b023 org-agenda: Reveal bulk mark pesistent feature for user
* lisp/org-agenda.el (org-agenda-bulk-action): Added a hint to "p"
  for toggling the persitent mark state for bulk action.
2018-09-27 16:28:51 +02:00
Marco Wahl 3f8b1b0265 org: Enable planning lines for special edit
* lisp/org.el (org-edit-special): Add a case for element type
  'planning.
2018-09-27 13:46:19 +02:00
Marco Wahl 7ae1230816 Merge remote-tracking branch 'origin/master' 2018-09-26 22:22:46 +02:00
Marco Wahl 6e584d06fd org: Show planning type in prompt when editing
* lisp/org.el (org-add-planning-info): Call `org-read-date' with either
  DEADLINE or SCHEDULED as value for the prompt.
2018-09-26 22:20:15 +02:00
Marco Wahl fe72a05ba5 org: Show planning type in prompt when editing
* lisp/org.el (org-add-planning-info): Call `org-read-date' with either
  DEADLINE or SCHEDULED as value for the prompt.
2018-09-26 14:15:34 +02:00
Marco Wahl f82a3051a9 test-org-bbdb.el: new tests
* testing/lisp/test-org-bbdb.el (test-org-bbdb-anniv-extract-date):
  Test function `org-bbdb-anniv-extract-date'.
2018-09-23 17:03:00 +02:00