Commit Graph

2198 Commits

Author SHA1 Message Date
Stephen Mackenzie 166364bc96 ox-confluence.el: Blank table cells produce required whitespace
* contrib/lisp/ox-confluence.el (org-confluence-table-cell): Add blank
space in an empty table cell such that Confluence tables do not skip
empty entries and produce erroneous table headers.

Confluence tables are formatted incorrectly when empty cells
cause `||' to generate the next cell as a table header, skipping
the empty cell.  Empty cells must be formatted as `| |'.

TINYCHANGE
2017-04-17 11:29:10 +02:00
Kyle Meyer 7fb6ab52c4 Don't call kill-this-buffer outside of menus
* contrib/lisp/org-toc.el (org-toc-quit):
* lisp/org-mhe.el (org-mhe-follow-link): Use kill-buffer rather than
  menu-bar.el's kill-this-buffer.

See Emacs bug#26466 and discussion on emacs.devel:
https://lists.gnu.org/archive/html/emacs-devel/2017-04/msg00346.html.

This is in favor of backporting Emacs's 2e4f4c9d48 (Don't call
'kill-this-buffer' outside of menus, 2017-04-12), which introduces a
new function kill-current-buffer that provides special handling of
minibuffers.
2017-04-16 17:07:44 -04:00
Kyle Meyer 08674eae54 org-link-edit.el: Sync with upstream
Update to version 1.1.0 (af79eebdb).
2017-04-09 20:48:07 -04:00
Robert Klein 175543e5ef Fix custom timestamps during export (ox-groff)
* contrib/lisp/ox-groff.el (org-groff-clock, org-groff-planning): Use
  org-translate-time'.

(propagate changes introduced to other export backends in commit
e1adb17ba509a43e9a03a5b367a98b8bc8de8b02.)
2017-03-16 13:08:00 +01:00
Marc Ihm 1a70061e3f ox-confluence: Handle checkboxes and inactive timestamps correctly
* contrib/lisp/ox-confluence.el (org-confluence-timestamp): New
  function.
(org-confluence-headline): Use new function.
(org-confluence-table-cell): Add missing space.

Fix handling of square brackets from timestamps and checkboxes; avoid
invalid confluence markup for empty table headers.
2017-03-05 18:37:48 +01:00
Sebastien Le Maguer 3dc4fa9d9d ox-bibtex: Take key with spaces or non-alphabetic characters into account
* ox-bibtex.el (org-bibtex-process-bib-files): Solve a bug in which
ox-bibtex was not considering enterily keys like "Author et&bsp; al.,
1999" as valid.

TINYCHANGE
2017-02-05 09:21:55 +01:00
Nicolas Goaziou 76c08ea77b Replace org-set-local by setq-local in the documentation
* contrib/orgmanual.org (Conflicts): Update yasnippet instructions.

* doc/org.texi (Packages that conflict with Org mode): Update
  yasnippet instructions

TINYCHANGE
2017-02-01 15:42:04 +01:00
Nicolas Goaziou 53bc58c433 Rename `org-latex--make-preamble' into `org-latex-make-preamble'
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template):
* lisp/org.el (org-create-formula-image):
* lisp/ox-beamer.el (org-beamer-template):
* lisp/ox-latex.el (org-latex-make-preamble): Renamed from
  `org-latex--make-preamble'.  Add an optional argument.  Autoload
  function.
(org-latex-template): Use new function name.
2017-01-21 11:31:25 +01:00
Kyle Meyer 713f785017 Update copyright years 2017-01-05 20:19:37 -05:00
Bastien 82c98e3caf Delete contrib/lisp/ox-gfm.el
See https://github.com/larstvei/ox-gfm/issues/14.
2016-10-31 12:46:15 +01:00
Oleh Krehel 1399f58049 contrib/lisp/org-download.el: Remove
Fixes https://github.com/abo-abo/org-download/issues/38

The package remains available at the above address and MELPA.
2016-10-30 09:10:23 +02:00
Konubinix 8d672a2f7d org-expiry: Call `org-expiry-expired-p' correctly
* contrib/lisp/org-expiry.el (org-expiry-process-entry): Call
  `org-expiry-expired-p' with the correct number of arguments.  It does
  not accept argument anymore.
2016-10-04 12:04:02 +02:00
Bastien c0fb62dc68 Merge branch 'maint' 2016-09-30 10:00:57 +02:00
Bastien cd5e2d94d8 Fix link (un)escaping.
Thanks for David Bremner <bremner@debian.org> for reporting this
and proposing this fix.
2016-09-30 10:00:18 +02:00
Aaron Ecay 67129acdfe contrib: Use assq instead of assoc with quoted symbols 2016-09-23 11:20:55 +01:00
Aaron Ecay 407b0d41a2 contrib, test suite: use assq instead of assoc for :keywords 2016-09-23 11:20:55 +01:00
Nicolas Goaziou fd5323ccee Merge branch 'maint' 2016-09-22 21:57:17 +02:00
Konubinix 4835befde2 org-expiry: Fix the call to `org-expiry-handler-function'
* contrib/lisp/org-expiry.el (org-expiry-process-entry): Fix the call to
`org-expiry-handler-function'.

`org-expiry-handler-function' is meant to be a variable containing the symbol of
a function to be called. Therefore, calling
(funcall 'org-expiry-handler-function) results in a void function error while
(funcall org-expiry-handler-function) correctly calls the contained function.
2016-09-22 21:56:55 +02:00
U-IHM-NOTEBOOK\Olli 7eecb214c7 short help fits to window 2016-09-05 19:02:19 +02:00
Aaron Ecay 2510f6ec47 contrib: adapt to deprecation of org-remove-(angle-brackets,double-quotes) 2016-09-03 02:27:17 +01:00
Nicolas Goaziou 9873e59913 contrib/README: Remove "org-eww.el" from the list
* contrib/README: Remove "org-eww.el", which has been moved to core.
2016-08-23 22:17:49 +02:00
Nicolas Goaziou 71a3331aaf Move org-eww to core
* lisp/org-eww.el: Move file from contrib/lisp/ to lisp/.
* lisp/org.el (org-modules): Apply change.
* lisp/org-capture.el (org-capture-templates):
* doc/org.texi: Document changes.
2016-08-20 02:59:56 +02:00
U-IHM-NOTEBOOK\Olli ab92c2b39c improved prompt 2016-08-16 22:41:21 +02:00
U-IHM-NOTEBOOK\Olli 0fa7f96b50 org-index v5.1 with enhanced dispatch 2016-08-12 22:51:20 +02:00
Nicolas Goaziou 5e224bb2ef org-eww: Small refactoring
* contrib/lisp/org-eww.el (org-eww-store-link):
(org-eww-copy-for-org-mode):
(eww-mode-hook): Small refactoring.
2016-08-08 11:28:12 +02:00
Nicolas Goaziou 0abf6ee28b org-eww: Fix docstrings
* contrib/lisp/org-eww.el (org-eww-store-link):
(org-eww-goto-next-url-property-change):
(org-eww-has-further-url-property-change-p):
(org-eww-copy-for-org-mode): Fix docstrings.
2016-08-08 11:23:24 +02:00
Robert Klein 8d64b518db Update wl link definition
* contrib/lisp/org-wl.el ("wl"):

Update to use org-link-set-parameters.
2016-08-08 11:20:41 +02:00
Robert Klein 02a51cfed3 Update vm link definition
* contrib/lisp/org-vm.el ("vm"):

Update to use org-link-set-parameters.
2016-08-08 11:20:40 +02:00
Robert Klein 3f2a03dad6 Update notmuch and notmuch-search link definitions
* contrib/lisp/org-notmuch.el ("notmuch"):

Update to use org-link-set-parameters.
2016-08-08 11:20:37 +02:00
Robert Klein 94dd0b8f4f Update mew link definition
* contrib/lisp/org-mew.el ("mew"):

Update to use org-link-set-parameters.
2016-08-08 11:20:35 +02:00
Robert Klein f2bfa80c4c Update man link definition
* contrib/lisp/org-man.el ("man"):

Update to use org-link-set-parameters.
2016-08-08 11:20:33 +02:00
Robert Klein 040315cad8 Update mairix link definition
* contrib/lisp/org-mairix.el ("mairix"):

Update to use org-link-set-parameters.
2016-08-08 11:20:32 +02:00
Robert Klein 1cd676169d Update misc mac link definitions
* contrib/lisp/org-mac-link.el ("mac-link"):

Update to use org-link-set-parameters.
2016-08-08 11:20:30 +02:00
Robert Klein 690f92f685 Update git, gitbare link definitions
* contrib/lisp/org-git-link.el ("git-link"):

Update to use org-link-set-parameters.
2016-08-08 11:20:28 +02:00
Robert Klein be2c32c43c org-eww: Add follow function for eww links
* contrib/lisp/org-eww.el ("eww"): Add :follow property.
2016-08-08 11:20:14 +02:00
Robert Klein c74e89e40b Update elisp-symbol link definition
* contrib/lisp/org-elisp-symbol.el ("elisp-symbol"):

Update to use org-link-set-parameters.
2016-08-08 11:10:10 +02:00
Robert Klein a4abc56db4 Update ebib link definition
* contrib/lisp/org-ebib.el ("ebib"):

Update to use org-link-set-parameters.
2016-08-08 11:10:06 +02:00
Robert Klein d738c6849b Update tel link definition
* contrib/lisp/org-contacts.el ("contacts"):

Update to use org-link-set-parameters.
2016-08-08 11:10:04 +02:00
Robert Klein 2a274f0da5 Update bookmark link definition
* contrib/lisp/org-bookmark.el ("bookmark"):

Update to use org-link-set-parameters.
2016-08-08 11:10:01 +02:00
Matt Lundin 4bddff606b Update org-eww to use new link api
* contrib/lisp/org-eww.el: org-store-link-functions: Remove obsolete
  hook.
  (org-link-set-parameters) Use new api for links.
2016-08-08 11:07:43 +02:00
Nicolas Goaziou 72461eaeaf Use `string-match-p' instead of `org-string-match-p'
* contrib/lisp/org-contacts.el (org-contacts-filter):
(org-contacts-complete-group):
(org-contacts-complete-tags-props):
* contrib/lisp/org-wl.el (org-wl-open):
* contrib/lisp/ox-bibtex.el (org-bibtex-merge-contiguous-citations):
* lisp/ob-core.el (org-babel-demarcate-block):
* lisp/ob-processing.el (org-babel-processing-view-sketch):
* lisp/ob-stan.el (org-babel-execute:stan):
* lisp/org-agenda.el (org-agenda-get-category-icon):
* lisp/org-clock.el (org-clock-into-drawer):
* lisp/org-element.el (org-element-link-parser):
* lisp/org-lint.el (org-lint-orphaned-affiliated-keywords):
(org-lint-invalid-babel-call-block):
(org-lint-colon-in-name):
* lisp/org-list.el (org-list-item-body-column):
* lisp/org-macro.el (org-macro-replace-all):
* lisp/org-plot.el (org-plot/gnuplot-script):
* lisp/org-table.el (org-table-export):
(org-table-align):
(org-table-get-range):
(org-table-recalculate):
(org-table-expand-lhs-ranges):
(org-table-formula-substitute-names):
(org-table-show-reference):
(orgtbl-to-texinfo):
(org-table-remote-reference-indirection):
* lisp/org.el (org-make-link-string):
(org--open-elisp-link):
(org-open-at-point):
(org-store-log-note):
(org-cached-entry-get):
(org--valid-property-p):
(org-entry-properties):
(org-buffer-property-keys):
(org-insert-drawer):
(org-display-inline-images):
(org-in-commented-heading-p):
* lisp/ox-ascii.el (org-ascii-keyword):
* lisp/ox-beamer.el (org-beamer--format-frame):
* lisp/ox-html.el (org-html-keyword):
* lisp/ox-latex.el (org-latex--label):
(org-latex-headline):
(org-latex-item):
(org-latex-keyword):
(org-latex--inline-image):
(org-latex-src-block):
* lisp/ox-odt.el (org-odt-styles-dir):
(org-odt-keyword):
(org-odt--translate-latex-fragments):
* lisp/ox-texinfo.el (org-texinfo-template):
(org-texinfo-keyword):
(org-texinfo-src-block):
* lisp/ox.el (org-export-inline-image-p):
(org-export-file-uri):
* testing/lisp/test-org-table.el (test-org-table/to-generic):
(test-org-table/to-latex):
(test-org-table/to-html):
(test-org-table/named-field):
(test-org-table/named-column):
(test-org-table/tab-indent):
(test-org-table/first-rc):
(test-org-table/last-rc): Use `string-match-p' instead of
`org-string-match-p'.
2016-07-25 15:21:12 +02:00
John Kitchin 1c01b74301 Update the contrib manual 2016-07-18 22:47:51 +02:00
thomas 63f7f6cd22 * ob-vbnet.el: Org-babel functions for VB.Net evaluation
* contrib/lisp/ob-vbnet.el: Add org-babel functions for VB.Net evaluation.
(org-babel-vbnet-command): Name of the VB command (mono)
(org-babel-vbnet-compiler): Name of the VB compiler (vbnc)
(org-babel-execute:vbnet): Execute VB.Net code
(org-babel-prep-session:vbnet): Throw error (sessions are not supported)
2016-07-08 12:27:33 +02:00
Nicolas Goaziou 482db1551d Merge branch 'maint' 2016-07-07 12:21:21 +02:00
Fabrice Popineau ebe7aa6692 org-eldoc: Handle source blocks with empty language
* contrib/lisp/org-eldoc.el (org-eldoc-get-src-header): When inserting
  a new src block, the language may not yet be chosen when this is
  called.
2016-07-07 12:17:49 +02:00
Fabrice Popineau e31587fa13 org-eldoc: Fix "wrong-type-argument symbolp" error
* contrib/lisp/org-eldoc.el (org-eldoc-documentation-function): The
  doc-fun object may be a function object and not a symbol.
2016-07-07 12:15:03 +02:00
thomas 9494706b86 ob-csharp.el: Org-babel functions for C# evaluation
* contrib/lisp/ob-csharp.el: Add org-babel functions for C# evaluation.
(org-babel-csharp-command): Name of the C# command (mono)
(org-babel-csharp-compiler): Name of the C# compiler (mcs)
(org-babelexecute:csharp): Execute C# code.
(org-babel-prep-session:csharp): Throw error (sessions are not supported).
2016-07-04 15:25:21 +02:00
Nicolas Goaziou 2f90a60bd8 Remove Emacs 22 related code
* contrib/lisp/htmlize.el (htmlize-face-color-internal):
(htmlize-face-to-fstruct):
* lisp/org-agenda.el (org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-compat.el (org-region-active-p):
* lisp/org.el (org-use-extra-keys):
(occur-mode-find-occurrence-hook): Remove Emacs 22 related code and
comments.

(org-diary-class): Remove function.
2016-06-26 14:35:22 +02:00
Nicolas Goaziou ee7aa9878f Deprecate `org-no-warnings' in favor of `with-no-warnings'
* lisp/org-macs.el (org-no-warnings): Rewove macro.
* lisp/org-compat.el (org-no-warnings): Mark `org-no-warnings' as
  obsolete.
* contrib/lisp/org-contacts.el (defvar):
* contrib/lisp/org-wl.el (org-wl-open):
* lisp/org-agenda.el (defvar):
(org-anniversary):
(org-cyclic):
(org-block):
(org-date):
* lisp/org-bbdb.el (defvar):
* lisp/org-clock.el (org-clock-out):
(org-clock-cancel):
* lisp/org-mouse.el (org-mouse-show-context-menu):
* lisp/org.el (org-modify-ts-extra):
(org-order-calendar-date-args): Small refactoring.
* lisp/ox-odt.el (org-odt-htmlfontify-string):
2016-06-23 15:20:32 +02:00
Nicolas Goaziou 999f224299 Deprecate `org-called-interactively-p' in favor of `called-interactively-p'
* lisp/org-compat.el (org-called-interactively-p): Make it an obsolete
  alias for `called-interactively-p'.
* lisp/org-macs.el (org-called-interactively-p): Remove function.
* contrib/lisp/org-expiry.el (org-expiry-insinuate):
(org-expiry-deinsinuate):
(org-expiry-process-entry):
(org-expiry-process-entries):
(org-expiry-archive-subtree):
(org-expiry-add-keyword):
* lisp/ob-core.el (org-babel-expand-src-block):
(org-babel-sha1-hash):
* lisp/org-agenda.el (org-toggle-sticky-agenda):
(org-agenda-write):
(org-agenda-dim-blocked-tasks):
(org-agenda-redo):
(org-agenda-show-1):
(org-agenda-set-tags):
* lisp/org-lint.el (org-lint):
* lisp/org-table.el (org-table-blank-field):
(org-table-current-column):
(org-table-current-dline):
(org-table-sort-lines):
(org-table-sum):
(org-table-rotate-recalc-marks):
(org-table-eval-formula):
(orgtbl-send-table):
* lisp/org.el (org-mode):
(org-copy-subtree):
(org-paste-subtree):
(org-store-link):
(org-todo):
(org-occur):
(org-create-math-formula):
(org-toggle-inline-images):
(org-mark-subtree):
(org-mark-element): Apply removal.
2016-06-23 15:08:03 +02:00