Juanma Barranquero
97feee0469
Backport commit 114323226 from Emacs
...
* lisp/ob-C.el (org-babel-prep-session:C)
(org-babel-load-session:C):
* lisp/ob-J.el (org-babel-execute:J):
* lisp/ob-asymptote.el (org-babel-prep-session:asymptote):
* lisp/ob-awk.el (org-babel-execute:awk):
* lisp/ob-core.el (org-babel-process-file-name):
* lisp/ob-ebnf.el (org-babel-execute:ebnf):
* lisp/ob-forth.el (org-babel-execute:forth):
* lisp/ob-fortran.el (org-babel-execute:fortran)
(org-babel-prep-session:fortran, org-babel-load-session:fortran):
* lisp/ob-groovy.el (org-babel-execute:groovy):
* lisp/ob-io.el (org-babel-execute:io):
* lisp/ob-js.el (org-babel-execute:js):
* lisp/ob-lilypond.el (org-babel-default-header-args:lilypond)
(org-babel-lilypond-compile-post-tangle)
(org-babel-lilypond-display-pdf-post-tangle)
(org-babel-lilypond-tangle)
(org-babel-lilypond-execute-tangled-ly)
(org-babel-lilypond-compile-lilyfile)
(org-babel-lilypond-check-for-compile-error)
(org-babel-lilypond-process-compile-error)
(org-babel-lilypond-mark-error-line)
(org-babel-lilypond-parse-error-line)
(org-babel-lilypond-attempt-to-open-pdf)
(org-babel-lilypond-attempt-to-play-midi)
(org-babel-lilypond-switch-extension)
(org-babel-lilypond-set-header-args):
* lisp/ob-lua.el (org-babel-prep-session:lua):
* lisp/ob-picolisp.el (org-babel-execute:picolisp):
* lisp/ob-processing.el (org-babel-prep-session:processing):
* lisp/ob-python.el (org-babel-prep-session:python):
* lisp/ob-scheme.el (org-babel-scheme-capture-current-message)
(org-babel-scheme-execute-with-geiser, org-babel-execute:scheme):
* lisp/ob-shen.el (org-babel-execute:shen):
* lisp/org-agenda.el (org-agenda-entry-types)
(org-agenda-move-date-from-past-immediately-to-today)
(org-agenda-time-grid, org-agenda-sorting-strategy)
(org-agenda-filter-by-category, org-agenda-forward-block):
* lisp/org-faces.el (org-verbatim, org-cycle-level-faces):
* lisp/org-indent.el (org-indent-set-line-properties):
* lisp/org-macs.el (org-get-limited-outline-regexp):
* lisp/org-mobile.el (org-mobile-files):
* lisp/org.el (org-use-fast-todo-selection)
(org-extend-today-until, org-use-property-inheritance)
(org-refresh-effort-properties)
(org-track-ordered-property-with-tag, org-shiftright):
* lisp/ox-html.el (org-html-checkbox-type):
* lisp/ox-man.el (org-man-source-highlight)
(org-man-verse-block):
* lisp/ox-publish.el (org-publish-sitemap-default): Assorted
docfixes.
lisp/*.el: Fix typos and other trivial doc fixes
11432322650830fe9ae365f4113733a79226056d
Juanma Barranquero
Sat Sep 21 00:27:53 2019 +0200
2019-09-29 15:47:58 -04:00
Juanma Barranquero
001306c1c0
Backport commit 79a01866a from Emacs
...
* lisp/org-agenda.el (org-agenda-change-all-lines)
(org-agenda-today-p):
* lisp/org-id.el (org-id-get):
* lisp/org.el (org-highlight-latex-and-related)
(org--valid-property-p):
* lisp/ox-beamer.el (org-beamer--get-label):
* lisp/ox-latex.el (org-latex--caption-above-p):
* lisp/ox-odt.el (org-odt--copy-image-file)
(org-odt--copy-formula-file):
* lisp/ox.el (org-export-with-timestamps): Fix typos in docstrings.
lisp/*.el, src/*.c: Fix typos in docstrings
79a01866a01754b9f566af76ef96e80cd90d094b
Juanma Barranquero
Thu Sep 19 04:32:25 2019 +0200
2019-09-29 15:47:57 -04:00
Gustav Wikström
6175593530
Fix predicate comment string
...
Ref. (info "(elisp) Documentation Tips")
* lisp/org.el (org-at-comment-p, org-at-drawer-p)
(org-at-block-p): Fix documentation.
2019-09-29 09:02:17 +02:00
Marco Wahl
1fd07c1eeb
Fix org-activate-links
...
* lisp/org.el (org-activate-links): Set the match group number
back. See commit d07d8ff4
for the number switch.
2019-09-18 10:45:21 +02:00
Mario Schlegel
23113feb9a
ox-latex: Extend :placement attribute to source blocks
...
* lisp/ox-latex.el (org-latex-src-block): Extend :placement attribute
to source blocks when the minted package is used.
TINYCHANGE
2019-09-16 18:59:43 +02:00
Max Mouratov
d07d8ff416
Prevent loss of `re-search-forward' results
...
* org.el (org-activate-links): `match-beginning' and `match-end` should
be called shortly after `re-search-forward'. Otherwise, they may return
values corresponding to a different invocation of `re-search-forward'.
TINYCHANGE
2019-09-16 18:55:04 +02:00
Nicolas Goaziou
55d3dfaaf8
org-macs: Fix indentation for full-width characters
...
* lisp/org-macs.el (org-do-remove-indentation): Handle full-width characters.
When the least indented line in buffer begins from fullwidth character
like 'あ', a Japanese character, `org-do-remove-indentation' doesn't
remove indentation at all or removes improperly.
e.g. 'あ' with 2 spaces indent
-----[buffer begin]-----
あ
-----[buffer end]-----
`org-do-remove-indentation' does nothing in this buffer.
Expected result is:
-----[buffer begin]-----
あ
-----[buffer end]-----
Reported-by: Yuichiro Hakozaki <sankaku.git@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-09/msg00075.html >
2019-09-16 18:42:59 +02:00
Mike Ivanov
02f506baf8
ob-lisp: Strip quotes from result value
...
* lisp/ob-lisp.el (org-babel-execute:lisp): Make sure that when
a singular string value is returned, it has no quotation marks around
it.
Before this change, the code below would produce an incorrect result:
#+BEGIN_SRC lisp :results file
"plot.png"
#+END_SRC
#+RESULTS:
[[file:"plot.png"]]
After the change:
#+BEGIN_SRC lisp :results file
"plot.png"
#+END_SRC
#+RESULTS:
[[file:plot.png]]
TINYCHANGE
2019-09-16 18:38:16 +02:00
Carsten Dominik
6f32e7af88
Merge branch 'improve-consistency-in-filter-commands'
2019-09-09 07:36:06 +02:00
Carsten Dominik
7ac2707658
Small adaptions in the manual on filters
2019-09-09 07:34:23 +02:00
Kyle Meyer
8919181c12
org-attach-git: Silence byte-compiler
...
* lisp/org-attach-git.el (org-attach-git-commit): Rename argument to
silence byte-compiler.
2019-09-08 11:41:53 -04:00
Gustav Wikström
930a1bcfc5
Fix problems with org-attach-git, failed tests
...
Ref. mail "[O] git-annex-related org-attach tests failing on
master"
https://lists.gnu.org/archive/html/emacs-orgmode/2019-09/msg00030.html
* lisp/org-attach-git.el (org-attach-git-commit): Add optional
argument to function contract to make it work with
`org-attach-after-change-hook'. Even though that argument is
not used in the actual code (due to legacy functionality).
* testing/lisp/test-org-attach.el
(test-org-attach/dired-attach-to-next-best-subtree/1)
(test-org-attach/dired-attach-to-next-best-subtree/2):
Modify tests to also work if user has git-annex installed
* testing/lisp/test-org-attach-git.el
(test-org-attach-git/use-annex): Correct errors from previous
commit, where git-annex was refactored out from org-attach
into it's separate module.
2019-09-08 14:43:46 +02:00
Carsten Dominik
711852ec67
Bug fix in tags filter: Treat SPC selection correctly.
...
* lisp/org-agenda.el (org-agenda-filter-make-matcher-tag-exp): Fix
filtering for any tag at all.
2019-09-07 15:04:03 +02:00
Carsten Dominik
5bd71d3052
Manual typo fixes
2019-09-07 14:12:37 +02:00
Carsten Dominik
c79f5398cc
Rename filter prefix argument to STRIP-OR-ACCUMULATE for clarity
...
* lisp/org-agenda.el (org-agenda-filter-by-regexp)
(org-agenda-filter-by-effort, org-agenda-filter)
(org-agenda-filter-by-tag): Rename prefix argument for code readability.
2019-09-07 13:15:55 +02:00
Carsten Dominik
20519fde4e
Document the new meaning of prefix arguments in filtering commands
...
* doc/org-manual.org (Filtering in the agenda): Document how prefix
arguments change the bahavior of filtering commands.
2019-09-07 07:54:07 +02:00
Carsten Dominik
9e09c8d267
Improve docstring of `org-agenda-filter-by-category'
2019-09-06 15:58:17 +02:00
Carsten Dominik
c47a7394a0
Improve documentation string of `org-agenda-filter-by-regexp'
...
* lisp/org-agenda.el (org-agenda-filter-by-regexp): Improve docstring.
2019-09-06 15:49:04 +02:00
Carsten Dominik
c580a290ac
Normalize the use of C-u' for
org-agenda-filter-by-effort'
2019-09-06 15:48:44 +02:00
Carsten Dominik
124017b6d3
Normalize the use of C-u' in
org-agenda-filter-by-tag'
2019-09-06 10:47:21 +02:00
Carsten Dominik
697358605a
Normalize the use of C-u' in
org-agenda-filter'
...
* lisp/org-agenda.el (org-agenda-filter): Make the applications of
single and double prefix arguments consistent with other filtering commands.
2019-09-06 10:17:35 +02:00
Nicolas Goaziou
f2f646b6c9
ox-icalendar: Allow ignoring done scheduled or deadlines tasks
...
* lisp/ox-icalendar.el (org-icalendar-use-deadline):
(org-icalendar-use-scheduled): Add a value to ignore done tasks.
2019-09-05 21:54:50 +02:00
Michaël Cadilhac
85c65b12ec
Document :hidefiles in clocktable
...
* doc/org-manual.org (The clock table): Do it.
2019-09-05 18:56:32 +02:00
Michaël Cadilhac
5cb360c7d0
Add test for the hidefiles parameter in clocktables.
...
* testing/lisp/test-org-clock.el (test-org-clock/clocktable/hidefiles):
Add test.
2019-09-05 18:56:32 +02:00
Michaël Cadilhac
9586db1248
org-clock: Add an option to not show the file column in clock report
...
* lisp/org-clock.el (org-clocktable-defaults): Add `hidefiles'.
(org-dblock-write:clocktable): Implement not showing files when
`hidefiles' is true.
* lisp/org-pcomplete.el: Add `hidefiles'.
2019-09-05 18:56:28 +02:00
Michaël Cadilhac
876a4419dd
Fontify drawers correctly.
...
* lisp/org.el (org-fontify-drawers): Fix face used, fix range of text
properties.
(org-set-font-lock-defaults): Fontify drawers after keywords.
2019-09-05 18:53:26 +02:00
Nicolas Goaziou
893866f86b
Merge branch 'maint'
2019-09-05 15:06:08 +02:00
Nicolas Goaziou
97c14ca8cd
ox-latex: Fix Brazilian entry in Polyglossia languages
...
* lisp/ox-latex.el (org-latex-polyglossia-language-alist): Fix
Brazilian entry. Sort lines.
2019-09-05 15:05:06 +02:00
Carsten Dominik
d1bdf6c789
Small fix in manual
2019-09-04 10:10:45 +02:00
Carsten Dominik
18c69675ae
Document `org-agenda-auto-exclude-function' can select positively
...
* lisp/org-agneda.el: (org-agenda-auto-exclude-function): Update
documentation.
2019-09-04 09:50:56 +02:00
Carsten Dominik
05cb7cb4ad
Fix bugs in filtering
2019-09-04 09:41:29 +02:00
Carsten Dominik
6413bc75a0
Fix bug in tag filter
...
* lisp/org-agenda.el (org-agenda-filter-by-tag): Use the correct
character to clearing the filter.
2019-09-04 08:20:29 +02:00
Bastien
3cb33ac4fc
Merge branch 'maint'
2019-09-04 06:55:46 +02:00
Bastien
cff97c361a
Bump Version keyword
2019-09-04 06:53:49 +02:00
Carsten Dominik
0dd77866cc
Remove double function definition introduced by accident in 7ee4cb0245
2019-09-03 16:05:40 +02:00
Carsten Dominik
9962df2b48
Merge branch 'make-new-filter-interface-the-default'
2019-09-03 15:50:34 +02:00
Carsten Dominik
7ee4cb0245
Revert `org-agenda-filter-by-category' to non-prompting state
2019-09-03 15:47:39 +02:00
Gustav Wikström
4b7eda1a2f
org-attach, test-org-attach: Restore fs check in org-attach-dir
...
In commit ae9cd4370
the filsystem check for org-attach-dir was
removed. Adding it back here, together with an optional flag to
override the check.
To satisfy compatabilty issues with org-brain. Ref. thread here:
- https://github.com/Kungsgeten/org-brain/pull/203
2019-09-02 23:15:13 +02:00
Gustav Wikström
dea0c70c7b
org-id: Add decimals to ISO 8601 timestamp when used as ID
...
With nanoseconds precision in the timestamp risk for duplicates shall
be ... near 0 ... even in heavy teamwork-environments or heavily
scripted setups.
2019-09-01 14:48:16 +02:00
Gustav Wikström
032148b8d3
org-attach: Reword dispatcher and make f/F create if not exist
...
Change from "task" to "node" in `org-attach-commands'. More general
that way.
Also change default behaviour for f and F commands when an attachment
is declared by ID or DIR property but not yet created in the
filesystem.
2019-09-01 14:43:54 +02:00
Carsten Dominik
f230b730c5
Make the new filter interface the default, and improve the manual
...
* lisp/org-agenda.el: Bind `org-agenda-filter' to `/` and move
`org-agenda-filter-by-tag' to `\`.
* doc/org-manual (Filtering/limiting agenda items): Improve the entire
section.
2019-09-01 09:12:47 +02:00
Carsten Dominik
ef5863b311
Improve the text describing the tags/property matche
...
* lisp/org-agenda.el (org-agenda-custom-commands): Improve the text
describing the tags/property matches
2019-08-31 13:47:25 +02:00
Nicolas Goaziou
df30a056b2
Fix tangling bug when major mode for LANGUAGE is not `LANGUAGE-mode'
...
* lisp/ob-core.el (org-babel-expand-noweb-references):
* lisp/ob-tangle.el (org-babel-tangle): Use `org-src-get-lang-mode' so
as to use proper major mode.
Reported-by: immanuel <immanuel.litzroth@gmail.com>
<http://lists.gnu.org/r/emacs-orgmode/2019-08/msg00272.html >
2019-08-30 23:36:00 +02:00
Carsten Dominik
fcc0d8f509
Clarify the reach of top-level headline filtering.
...
* doc/org-manual.org (Filtering in the agenda): Clarify the reach of
top-level headline filtering.
2019-08-30 08:51:02 +02:00
Carsten Dominik
713a414713
Small improvements to filtering
...
* lisp/org-agenda.el (org-agenda-filter): Append new filter elements
instead of prepending them. And allow an additional leading `+' to
signal that the new elements should be added to the current filter
instad of replacing them.
2019-08-30 08:35:27 +02:00
Carsten Dominik
3ac2fb6c5f
Merge branch 'improvements-to-agenda-filters'
2019-08-29 22:04:15 +02:00
Carsten Dominik
4edf93a6de
Fix compiler warnings in the new filter code
2019-08-29 22:02:31 +02:00
Carsten Dominik
26cde0972d
Document the new additional filter interface
...
* doc/org-manual.org (Filtering in the agenda): Document new filter
function.
2019-08-29 21:33:11 +02:00
Carsten Dominik
69bf64419b
Add new generic filter interface
...
* lisp/org-agenda.el (org-agenda-filter): New function.
(org-agenda-filter-completion-function): New function.
2019-08-29 18:06:10 +02:00
Marco Wahl
48da60f47a
org: Relax dependance on imagemagick for image width setting
...
* lisp/org.el (org-display-inline-images): Don't depend on image type
imagemagick for rescaling. When imagemagick is available use that
type at image creation.
Reported by Terje Larsen.
https://lists.gnu.org/archive/html/emacs-orgmode/2019-08/msg00303.html
2019-08-29 17:28:58 +02:00