Bastien Guerry
8ac18f6d22
Merge branch 'maint' of orgmode.org:org-mode into maint
2014-01-10 21:00:32 +01:00
Nicolas Goaziou
8720c49807
Speed improvement
...
* lisp/org.el (org-get-previous-line-level): Do not call
`org-current-level' twice unless necessary. Also, avoid using
`line-number-at-pos' when the information needed is to know if point
is in the first line of the visible part of the buffer.
2014-01-10 11:22:49 +01:00
Bastien Guerry
be63eb6905
Backport changes from r115955
2014-01-10 10:29:53 +01:00
Nicolas Goaziou
432decf725
org.texi: Fix some sections subtitiles
...
* doc/org.texi (Top, Exporting): Org has its own documentation and
should therefore be removed from "Other build-in back-ends".
2014-01-09 22:37:57 +01:00
Nicolas Goaziou
81ce406d8f
ob-core: Speed improvement
...
* lisp/ob-core.el (org-babel-get-inline-src-block-matches): Do not
compute line number if all is needed is to know if we're on the
first one.
2014-01-09 21:36:25 +01:00
Michael Brand
34af2fe7ff
Fix multiple TBLFM
...
Simplify commit release_8.2.4-14-geb28fe4 and commit
release_8.2.5c-8-ga2619b7.
* org-table.el (org-table-fix-formulas): Handle multiple #+TBLFM lines
with `forward-line'.
2014-01-09 20:10:19 +01:00
Bastien Guerry
a2619b7145
org-table.el (org-table-fix-formulas): Fix commit eb28fe
...
Thanks to Michael Brand for reporting this.
2014-01-09 11:03:01 +01:00
Bastien Guerry
abed7277e1
Backport typo fixes from Emacs revno r115923
2014-01-09 00:47:40 +01:00
Nicolas Goaziou
ba4852ec74
ox-md: Prevent error with empty items
...
* lisp/ox-md.el (org-md-item): Do not return an error when exporting
an empty item.
2014-01-08 22:47:10 +01:00
Bastien Guerry
884faddd57
Revert "ob-python.el (org-babel-python-var-to-python): Fix code typo"
...
This reverts commit e88d9d7caf
.
2014-01-08 18:31:50 +01:00
Bastien Guerry
e88d9d7caf
ob-python.el (org-babel-python-var-to-python): Fix code typo
...
* ob-python.el (org-babel-python-var-to-python): Fix code typo.
Thanks to Daniel Gerber for reporting this.
2014-01-08 17:29:31 +01:00
Bastien Guerry
e5b84d14cd
org-entities.el: Fix display of pretty entities
...
* org-entities.el (org-entities-help): Prevent the display of
pretty entities, as this help buffer is meant to list literal
strings, not utf-8 representations.
Thanks to Brice Waegenire for reporting this.
2014-01-08 16:12:15 +01:00
Nicolas Goaziou
fc09ad3be4
ox-beamer: Fix bug when an selecting environment
...
* lisp/ox-beamer.el (org-beamer-select-environment): Function doesn't
work if fast tag selection is disabled, so make sure it is always
on, independently on user's configuration.
Reported-by: Anders Johansson <mejlaandersj@gmail.com>
2014-01-07 21:50:44 +01:00
Achim Gratz
6dc83e651d
doc/Makefile: avoid spurious whitespace in environment variables
...
* doc/Makefile (%.pdf): Ensure that LANG and LC_ALL are set to "C",
not "C " (with trailing whitespace).
Make evaluation order produces spurious whitespace in variables when a
variable definition is followed by whitespace plus a comment.
2014-01-07 21:23:45 +01:00
Bastien Guerry
7d9a883b50
Update copyright years again.
...
Hint: copyright years are all updated in Emacs.
2014-01-07 14:18:17 +01:00
Bastien Guerry
152712a7c8
Backport change from Chong on 2013-12-23
2014-01-07 13:25:30 +01:00
Rasmus
5b7d53e713
Bug in org.texi
...
* org.texi (Global and local cycling): Fix missing '@'.
2014-01-07 13:09:45 +01:00
Bastien Guerry
beeebfb9a6
org.texi (Global and local cycling): Mention C-u C-u TAB
...
* org.texi (Global and local cycling): Mention C-u C-u TAB.
Thanks to François Pinard for suggesting this.
2014-01-07 10:15:13 +01:00
Bastien Guerry
2755f8d954
Backport spelling fixes from Emacs r115885
...
* org-clock.el (org-clock-cancel-hook)
(org-clock-leftover-time): Fix typo in docstring.
2014-01-06 11:02:18 +01:00
Bastien Guerry
9590067793
Backport change from Emacs r115884
2014-01-06 11:00:28 +01:00
Bastien Guerry
66fd521264
org.el (org-set-tags): Ignore invisible text when restoring cursor position
...
* org.el (org-set-tags): Ignore invisible text when restoring
cursor position.
2014-01-05 14:21:38 +01:00
U-usuario-PC\\usuario
65cf7047bf
ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo
...
* ob-gnuplot.el (org-babel-gnuplot-quote-tsv-field): Fix code typo.
TINYCHANGE
2014-01-05 14:14:09 +01:00
Bastien Guerry
3737676632
Update copyright year for files changed since 2013
2014-01-05 06:35:21 +01:00
Bastien Guerry
0beda99171
Revert "Update copyright years."
...
This reverts commit 21105594fc
.
2014-01-05 06:28:07 +01:00
Bastien Guerry
19b895b464
Backport changes from Emacs r115870
...
* org.texi (Include files, The Export Dispatcher)
(Advanced configuration)
(Header arguments in Org mode properties): Spelling fixes.
2014-01-05 06:24:20 +01:00
Bastien Guerry
21105594fc
Update copyright years.
2014-01-04 18:56:11 +01:00
Bastien Guerry
8044cfed1c
Revert "* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el."
...
This reverts commit fc5cf0d922
.
2014-01-04 18:15:42 +01:00
Bastien Guerry
b8a495d2ed
Fix ox-odt bugs
...
* ox-odt.el (org-odt--frame): Add a draw:name property to the
draw:frame tag.
(org-odt-format-label): Don't use short-caption at all.
See http://article.gmane.org/gmane.emacs.orgmode/79910
and http://article.gmane.org/gmane.emacs.orgmode/79892
for threads about these issues.
2014-01-04 18:09:31 +01:00
Bastien Guerry
e764dfe80b
org-rmail.el (org-rmail-follow-link): Don't raise an error when no article is matched
...
* org-rmail.el (org-rmail-follow-link): Don't raise an error
when no article is matched.
2014-01-04 15:27:53 +01:00
Bastien Guerry
45b0d23b0c
Fix creation of parent nodes when refiling.
...
* org.el (org-refile-get-location): Check for a refile
position when the position is not nil, otherwise allow to
create the parent node if the user requests it.
Thanks to Li Zhuo for reporting this bug and for providing
a preliminary patch.
2014-01-04 15:05:01 +01:00
Bastien Guerry
857cf28a90
org.el (org-refile-allow-creating-parent-nodes): Fix typo in docstring
...
* org.el (org-refile-allow-creating-parent-nodes): Fix typo in
docstring.
2014-01-04 14:53:00 +01:00
Bastien Guerry
2aeb5f0cad
Merge branch 'maint' of orgmode.org:org-mode into maint
2014-01-04 14:48:51 +01:00
Bastien Guerry
597a7e65f0
org.el (org-entry-get): Minor docstring enhancement
...
* org.el (org-entry-get): Minor docstring enhancement.
2014-01-04 14:48:39 +01:00
Nicolas Goaziou
9b0067e166
ox-icalendar: Fix BBDB anniversaries integration
...
* lisp/ox-icalendar.el (org-icalendar--combine-files): Make sure
anniversaries do not end up in *Message* buffer instead of the ICS
file.
Patch-by: Thomas Baumann <tbaumann@tum.de>
2014-01-04 14:26:19 +01:00
Bastien Guerry
44acd00049
org.el (org-set-startup-visibility): Bugfix
...
* org.el (org-set-startup-visibility): Bugfix.
See http://article.gmane.org/gmane.emacs.orgmode/79905
2014-01-04 12:22:50 +01:00
Bastien Guerry
bee871762c
org.el (org-shiftcontrolup, org-shiftcontroldown): Ignore `org-support-shift-select' when point is on a clock log
...
* org.el (org-shiftcontrolup, org-shiftcontroldown): When
`org-support-shift-select' is not `nil', let-bind it to nil
if point is on a clock log. Otherwise throw an error.
2014-01-03 17:38:02 +01:00
Bastien Guerry
6492b9cde4
ob-lob.el: Minor custom and docstring fixes
...
* ob-lob.el (org-babel-lob-files): Fix custom type.
(org-babel-lob-ingest): Small docstring fix.
Thanks to Glenn Morris for reporting them.
2014-01-03 17:15:34 +01:00
Bastien Guerry
adb6e545c7
org-agenda.el (org-cmp-ts): Fix bug
...
* org-agenda.el (org-cmp-ts): Fix bug: interpret `late' as
`later than any date' instead of `later than today'.
Thank to Michael Crouch for reporting this and to Michael Hoffman for
providing the fix.
2014-01-03 16:01:30 +01:00
Bastien Guerry
f21150f185
org.el (org-do-emphasis-faces): Fix false positives handling
...
* org.el (org-do-emphasis-faces): Handle false positives by
restarting the re-search one char after the beginning of the
match, not one char before its ending.
Before this fix, consider this buffer
** Headline
- *Bold* non-bold
- *Bold* non-bold
The first false positive is "** Headline\n - *Bold*"
Starting the search again from the last "*" will skip
the "*Bold*" string. Starting again at "* Headline" will
find it.
2014-01-03 11:16:14 +01:00
Bastien Guerry
9758f203fb
org.el (org-entry-put): Check that the value provided is a string
...
* org.el (org-entry-put): Check that the value provided is a
string. If it is nil, convert it to the empty string.
2014-01-03 10:07:09 +01:00
Bastien Guerry
03ce57e7db
Backport r115828 from Emacs trunk
2014-01-02 16:10:44 +01:00
Bastien Guerry
a66028dfc5
Revert "Backport change from r115807 in Emacs trunk"
...
This reverts commit c2ed678f20
.
2014-01-02 16:08:26 +01:00
Nicolas Goaziou
1a3591c0e7
ox-html: Clean up some comments
...
* lisp/ox-html.el: Clean up "FIXME" comments.
2014-01-01 19:05:49 +01:00
Nicolas Goaziou
22c3bb81ff
ox-publish: Fix a docstring
...
* lisp/ox-publish.el (org-publish-resolve-external-fuzzy-link): Fix
docstring.
2014-01-01 19:02:13 +01:00
Vladimir Lomov
71e2401bb5
ox-html.el: Use classes for caption instead of align
...
* ox-html.el (org-html-style-default): New classes
caption.t-above and caption.t-bottom.
(org-html-table): Use new classes.
TINYCHANGE
Signed-off-by: Vladimir Lomov <lomov.vl@gmail.com>
2013-12-30 10:44:43 +01:00
Bastien Guerry
4898be673f
Revert "ox-html.el: Use classes for caption instead of align"
...
This reverts commit 1813200fc8
.
2013-12-30 10:43:43 +01:00
Vladimir Lomov
1813200fc8
ox-html.el: Use classes for caption instead of align
...
* ox-html.el (org-html-style-default): New classes
caption.t-above and caption.t-bottom.
(org-html-table): Use new classes.
Signed-off-by: Vladimir Lomov <lomov.vl@gmail.com>
2013-12-30 10:35:13 +01:00
Bastien Guerry
8bb519d934
Fix defcustoms: don't quote const values.
...
* ob-latex.el (org-babel-latex-htlatex-packages): Use repeat
instead of list as the defcustom type.
* ox.el (org-export-with-creator):
* org.el (org-loop-over-headlines-in-active-region)
(org-mouse-1-follows-link, org-provide-todo-statistics):
* org-agenda.el (org-agenda-custom-commands-local-options)
(org-agenda-start-with-log-mode)
(org-agenda-show-inherited-tags): Don't quote const values.
Thanks to Glenn Morris for reporting this.
2013-12-30 10:30:44 +01:00
Bastien Guerry
9d3e48f629
Add missing :type to a few options.
...
* ox-texinfo.el (org-texinfo-def-table-markup):
* org-inlinetask.el (org-inlinetask-show-first-star):
* ob-maxima.el (org-babel-maxima-command): Add type.
Thanks to Glenn Morris for reporting this.
2013-12-30 10:13:57 +01:00
Bastien Guerry
c2ed678f20
Backport change from r115807 in Emacs trunk
2013-12-30 10:10:56 +01:00