Nicolas Goaziou
ea4e3dac6d
Use `split-string' instead of `org-split-string'
...
* contrib/lisp/org-depend.el (org-depend-trigger-todo):
(org-depend-block-todo):
* contrib/lisp/ox-bibtex.el (org-bibtex-get-arguments):
* contrib/lisp/ox-koma-letter.el (org-koma-letter-template):
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-unique-id):
(org-taskjuggler-resolve-dependencies):
* lisp/ob-core.el (org-babel-insert-result):
* lisp/org-agenda.el (org-search-view):
* lisp/org-lint.el (org-lint-duplicate-target):
(org-lint-wrong-header-value):
* lisp/org.el (org--setup-collect-keywords):
(org-make-org-heading-search-string):
(org-search-radio-target):
(org-local-logging):
(org-entry-add-to-multivalued-property):
(org-entry-remove-from-multivalued-property):
(org-entry-member-in-multivalued-property):
(org-entry-get-multivalued-property):
(org-entry-put-multivalued-property):
(org-wrap):
* lisp/ox-beamer.el (org-beamer-allowed-property-values):
* lisp/ox.el (org-export--get-subtree-options):
(org-export--get-inbuffer-options): Use `split-string' instead of
`org-split-string'.
2017-09-07 14:36:50 +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
d1e03f59b8
org-agenda: Silence byte-compiler
2017-09-06 15:39:32 +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
8374e6f438
org-table: Implement org-table-expand
...
* lisp/org-table.el (org-table-expand): New function.
(org-table--expand-all-columns): Remove function.
(org-table-with-shrunk-columns):
(org-table-insert-column):
(org-table-delete-column):
(org-table-move-column):
(org-table-toggle-column-width): Use new function.
2017-09-06 15:18:37 +02:00
Nicolas Goaziou
882f3f3fc0
org-table: Change behavior of `org-table-toggle-column-width'
...
* lisp/org-table.el (org-table-toggle-column-width): Change behavior
of `org-table-toggle-column-width'.
(org-table-shrink): Allow optional arguments.
* testing/lisp/test-org-table.el (test-org-table/toggle-column-width):
Update tests.
2017-09-06 15:18:37 +02:00
Nicolas Goaziou
73bf9b8887
org-table: Allow to shrink tables upon opening a document
...
* lisp/org-table.el (org-table-shrink): New function.
* lisp/org.el (org-startup-align-all-tables): Update docstring.
(org-startup-shrink-all-tables): New variable.
(org-mode): Use new function and new variable.
2017-09-06 15:18:37 +02:00
Nicolas Goaziou
23a2fde6fe
Remove visual effect of width cookies in tables
...
* lisp/org-colview.el (org-dblock-write:columnview): Remove :width
parameter.
* lisp/org-table.el (org-narrow-column-arrow): Remove variable.
(org-table-cleanup-narrow-column-properties): Remove function.
(org-table-align): Ignore width cookies when aligning table.
(org-table-justify-field-maybe):
(org-table-finish-edit-field):
(org-table-follow-fields-with-editor):
(orgtbl-setup): Remove reference to `org-cwidth' property.
* lisp/org.el (org-mode):
(org-hide-wide-columns): Remove function.
(org-set-font-lock-defaults): Apply previous removal.
(org-shorten-string): Ignore `org-cwidth' property.
* testing/lisp/test-org-colview.el (test-org-colview/dblock): Remove
a test.
Export back-ends may still use width cookie to alter table's output.
2017-09-06 15:18:37 +02:00
Nicolas Goaziou
6d6a30d4cd
org-table: Implement shrunk columns
...
* lisp/org-table.el (org-table-shrunk-column-indicator): New variable.
(org-table-with-shrunk-columns): New macro.
(org-table--shrunk-field):
(org-table--list-shrunk-columns):
(org-table--shrink-field):
(org-table--read-column-selection):
(org-table--expand-all-columns):
(org-table-toggle-column-width): New functions.
(org-table-align):
(org-table-get-field):
(org-table-insert-column):
(org-table-delete-column):
(org-table-move-column):
(org-table-move-row):
(org-table-insert-row):
(org-table-insert-hline):
(org-table-kill-row):
(org-table-sort-lines): Use new functions.
(org-table-overlay-coordinates):
(org-table-toggle-coordinate-overlays): Tiny refactoring.
* testing/lisp/test-org-table.el (test-org-table/toggle-column-width):
(test-org-table/shrunk-columns): New tests.
2017-09-06 15:18:37 +02:00
Jay Kamat
331ba68495
org-archive.el: Update statistic cookies when archiving
...
* lisp/org-archive.el (org-archive-subtree): Update todo statistics
when calling `org-archive-subtree'.
(org-archive-to-archive-sibling): Update cookie statistics when
calling `org-archive-to-archive-sibling'.
* testing/lisp/test-org-archive.el: New file.
This can be disabled by setting `org-provide-todo-statistics' to nil.
2017-09-06 14:31:01 +02:00
Nicolas Goaziou
6dfcb98f13
Fix ORG-NEWS
2017-09-06 13:22:13 +02:00
Nicolas Goaziou
7d08ff06bd
Merge branch 'maint'
2017-09-06 13:19:37 +02:00
Eduardo Bellani
6edec1bef5
Fix table variable with commas in ob-sqlite
...
* lisp/ob-sqlite.el (org-babel-sqlite-expand-vars): Stop interfering
with the 'orgtbl-to-csv' default formatting.
* testing/lisp/test-ob-sqlite.el: New file.
The problem here was that ob-sqlite was providing a format to the
`orgtbl-to-csv' that actually overwrote the default format in that
function, and in the case where there were commas in the content of
the table, broke the table as argument mechanism.
TINYCHANGE
2017-09-06 13:18:30 +02:00
Adam Porter
fccfe56659
org-agenda: Minor refactoring and tiny bug fix
...
* lisp/org-agenda.el (org-agenda--insert-overriding-header): Use
propertize instead of org-add-props.
(org-agenda-list): Replace nested if with cond.
(org-todo-list): Replace mapc-lambda with dolist.
(org-todo-list): Fix bug by using window-width instead of frame-width.
2017-09-06 13:14:03 +02:00
Adam Porter
b6c5a174da
org-agenda: Refactor org-agenda-overriding-header code
...
* lisp/org-agenda.el (org-agenda--insert-overriding-header): Add macro.
(org-agenda-list)
(org-search-view)
(org-todo-list)
(org-tags-view): Use macro.
(org-agenda-overriding-header): Update docstring.
* etc/ORG-NEWS: Explain that header can be disabled with empty string.
Replace org-agenda-overriding-header tests in these four functions with
calls to a macro, eliminating the duplicate code. Also, disable the
header when the variable is set to the empty string.
2017-09-06 13:13:59 +02:00
Nicolas Goaziou
601b8e1d52
Fix org-duration-to-minutes call on ox-taskjuggler
...
* contrib/lisp/ox-taskjuggler.el (org-taskjuggler--build-task): Fix
typo.
TINYCHANGE
2017-09-05 23:54:29 +02:00
Nicolas Goaziou
845138473e
Merge branch 'maint'
2017-09-05 22:34:38 +02:00
Nicolas Goaziou
0a77f042ea
ox-odt: Small fix
...
* lisp/ox-odt.el (org-odt--translate-latex-fragments): Ignore blank
lines before link to parse.
Reported-by: Alastair Burt <alastair.burt@gmail.com>
2017-09-05 22:33:29 +02:00
U-IHM-NOTEBOOK\Olli
dd490b431b
updated org-index to version 5.5
2017-09-04 21:02:31 +02:00
Nicolas Goaziou
b792e28168
org-agenda: Fix `org-agenda-custom-command' customization
...
* lisp/org-agenda.el (org-agenda-custom-commands-local-options): Quote
symbols.
Reported-by: Niall Dooley <dooleyn@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00659.html >
2017-09-03 14:19:05 +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
8a0c89244d
Merge branch 'maint'
2017-08-31 23:15:56 +02:00
Nicolas Goaziou
1654a5a98a
Fix `:jump-to-captured' when refiling a capture target
...
* lisp/org-capture.el (org-capture-refile): Call
`org-capture-goto-last-stored' at the appropriate time.
* testing/lisp/test-org-capture.el (test-org-capture/refile): Add
test.
Reported-by: "Raymond Zeitler" <zeitra@yahoo.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00704.html >
2017-08-31 23:14:04 +02:00
Nicolas Goaziou
ab6f43fcac
ox-icalendar: release buffers less aggressively
...
* lisp/ox-icalendar.el (org-icalendar--combine-files): Release only
newly created buffers.
Reported-by: Michaël Cadilhac <michael@cadilhac.name>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00691.html >
2017-08-31 15:58:51 +02:00
Nicolas Goaziou
23eba90e26
org-agenda: Remove unnecessary sentence
...
* lisp/org-agenda.el (org-agenda-entry-types): Remove a sentence.
2017-08-30 14:52:28 +02:00
Nicolas Goaziou
213c011505
org-agenda: Tiny clean-up
...
* lisp/org-agenda.el (org-agenda-to-appt): Remove obsolete code.
2017-08-30 14:30:30 +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
c01b62305e
Merge branch 'maint'
2017-08-30 08:12:29 +02:00
Nicolas Goaziou
18a48b5861
Fix ODT priority styling
...
* lisp/ox-odt.el (org-odt-format-headline-default-function): Fix style
name for priority cookie.
Reported-by: Henry Todd <hjst@me.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00648.html >
2017-08-30 08:04:25 +02:00
Nicolas Goaziou
7d18632a73
Fix "Symbol’s function definition is void: org-clocking-buffer"
...
* lisp/org.el (org-sort-entries): Fix "Symbol’s function definition is
void: org-clocking-buffer".
Reported-by: Ian Garmaise <ian.g@phorixsol.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00647.html >
Reported-by: Allen Choong <allencch@hotmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00649.html >
2017-08-30 00:14:42 +02:00
Rasmus
daf30f180c
README_maintainer: Fix typo
2017-08-29 10:35:10 +02:00
Rasmus
0ff973c447
Update README_maintainer not to mention library-of-babel.org
...
* README_maintainer: No longer mention library-of-babel.org as it is
now distributed via Worg.
2017-08-29 09:57:59 +02:00
Nicolas Goaziou
8b5b2cf49e
Merge branch 'maint'
2017-08-28 09:15:54 +02:00
Nicolas Goaziou
ab65bc13d6
Fix deleting a region in a table (part 2)
...
* lisp/org.el (org-delete-backward-char): Fix deleting a region in
a table.
2017-08-28 09:14:57 +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
750071accd
Tiny refactoring
...
* lisp/ox.el (org-export-with-drawers): Tiny refactoring.
2017-08-26 11:27:51 +02: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
Nicolas Goaziou
e0682619dd
Merge branch 'maint'
2017-08-26 00:12:46 +02:00
Nicolas Goaziou
a6840598ed
Fix `org-copy-visible'
...
* lisp/org.el (org-copy-visible): Rewrite function. Do not use
dubious `org-find-visible' and `org-find-invisible'.
* testing/lisp/test-org.el (test-org/copy-visible): New test.
Reported-by: Gary Cheng <garycheng12@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00568.html >
2017-08-26 00:09:51 +02:00
Nicolas Goaziou
dd4a3d3b11
Merge branch 'maint'
2017-08-25 22:00:38 +02:00
Nicolas Goaziou
21a8ec1c0f
ob-core: Fix going to a named block.
...
* lisp/ob-core.el (org-babel-find-named-block): Add missing argument.
Reported-by: Eric S Fraga <ucecesf@ucl.ac.uk>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00576.html >
2017-08-25 21:59:28 +02:00
Nicolas Goaziou
489346c1d5
Merge branch 'maint'
2017-08-25 21:51:56 +02:00
Nicolas Goaziou
51b431d013
org-capture: Fix "org-capture: Fix %^T and %^U placeholders"
...
* lisp/org-capture.el (org-capture-fill-template): Fix
2ff3101c0e
.
2017-08-25 21:51:04 +02:00
Nicolas Goaziou
a68d117459
Merge branch 'maint'
2017-08-25 15:25:02 +02:00
Nicolas Goaziou
c1b9d38c89
org-lint: Fix wrong warning with inline footnotes
...
* lisp/org-lint.el (org-lint-undefined-footnote-reference): Do not
warn when definition is inline.
* testing/lisp/test-org-lint.el (test-org-lint/undefined-footnote-reference):
Add tests.
Reported-by: Eric S Fraga <esflists@gmail.com>
<http://lists.gnu.org/archive/html/emacs-orgmode/2017-08/msg00577.html >
2017-08-25 15:24:07 +02:00
Nicolas Goaziou
bae41a277e
org-table: Fix sorting with times > 100 hours
...
* lisp/org-table.el (org-table-sort-lines): Fix regexp. Also test
durations.
* testing/lisp/test-org-table.el (test-org-table/sort-lines): Update
tests. Add a new one.
2017-08-25 00:06:27 +02:00