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
Nicolas Goaziou
4ee7e60405
ox: Fix smart quote detection
...
* lisp/ox.el (org-export-smart-quotes-regexps): Fix smart quote
detection when it is followed by an open parenthesis syntax class.
2013-12-26 12:35:59 +01:00
Bastien Guerry
fc3857b310
Small rewrite of the previous commit.
...
Use `regexp-opt' instead of `regexp-quote'.
2013-12-23 06:58:26 +01:00
Ted Wiles
a7417ffcdb
org-habit.el (org-habit-parse-todo): Match all TODO keywords, not just "TODO"
...
* org-habit.el (org-habit-parse-todo): Match all TODO
keywords, not just "TODO".
TINYCHANGE
2013-12-23 00:10:44 +01:00
Bastien Guerry
6999c5cc84
doc/org.texi: Add #+BEGIN_ABSTRACT as example
...
* org.texi (Special blocks): Add #+BEGIN_ABSTRACT as another
example.
(@LaTeX{} specific attributes): New index entries. Use
#+BEGIN_ABSTRACT in the example.
2013-12-22 23:36:38 +01:00
Bastien Guerry
eb28fe41dc
org-table.el (org-table-fix-formulas): Handle multiple #+tblfm: lines
...
* org-table.el (org-table-fix-formulas): Handle multiple
#+tblfm: lines.
Thanks to Daniel Gerber for reporting this problem.
2013-12-22 10:09:53 +01:00
Bastien Guerry
fc5cf0d922
* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el.
...
* server.mk (elpaplus-dirty elpaplus-up): Include htmlize.el
in org-plus-contrib ELPA package.
Thanks to Francesco Pizzolante for reporting this.
2013-12-22 09:41:50 +01:00
Bastien Guerry
9469f366cd
* contrib/lisp/ob-oz.el (mozart): Don't throw an error
...
* contrib/lisp/ob-oz.el (mozart): Don't throw an error if the
mozart library is not present in the load-path.
2013-12-22 09:25:58 +01:00
Alex Poslavsky
22af33a015
org-as-mac-chrome-get-frontmost-url: Fix to remove unneeded double quotes.
...
* contrib/lisp/org-mac-link.el: Fix bug: remove double quotes.
TINYCHANGE
Applescript returns the link and description in quotes like this:
[["http://orgmode.org/worg/org-contribute.html#sec-4 ][How to contribute to Org?"]]
The fix changes it to this:
[[http://orgmode.org/worg/org-contribute.html#sec-4 ][How to contribute to Org?]]
2013-12-22 09:17:43 +01:00
Bastien Guerry
8e00dbb00b
ox.el (org-export-to-file): Fix typo in docstring
...
* ox.el (org-export-to-file): Fix typo in docstring.
2013-12-18 16:00:05 +01:00
Nicolas Goaziou
b22714a88d
org-element: Keep compatibility with Babel's regexps
...
* lisp/org-element.el (org-element-inline-babel-call-successor): Use
original regexp to stay up-to-date with Babel changes.
2013-12-16 21:00:57 +01:00
Nicolas Goaziou
f1b9339aa5
org-element: Fix affiliated keyword regexp
...
* lisp/org-element.el (org-element--affiliated-re): Fix affiliated
keyword regexp.
2013-12-15 16:16:20 +01:00
Nicolas Goaziou
29c02c3810
ox-org: Remove attr_backend keywords
...
* lisp/ox-org.el (org-org-identity): Since back-end specific keywords
are stripped from output, also remove attr_backend keywords.
2013-12-15 15:17:24 +01:00
Nicolas Goaziou
18d3057e62
org.texi: Document `org' back-end
...
* doc/org.texi (Org export): New section.
* lisp/ox-org.el: Remove initial code comments since this is now in
manual.
2013-12-15 14:52:46 +01:00
Nicolas Goaziou
7a80881d65
org.texi: Fix some whitespace errors
...
* doc/org.texi (HTML doctypes): Fix whitespace error.
2013-12-15 11:54:59 +01:00
Nicolas Goaziou
64d9159ad0
org.texi: Add html related publishing options
...
* doc/org.texi (HTML doctypes): Fix display.
(Publishing options): Add missing html publishing options.
2013-12-15 11:38:37 +01:00
Bastien Guerry
7fe99af695
Fix bug when using both electric-pair-mode and delete-selection-mode
...
* org.el (org-self-insert-command)
(orgtbl-self-insert-command): Change the value of the
`delete-selection' property to allow other commands like
`electric-pair-will-use-region' to be run before deletion.
Thanks to Harald Hanche-Olsen for reporting this.
2013-12-07 08:17:33 +01:00
Nicolas Goaziou
ba20e937ae
ob-exp: Fix duplicate evaluation with :wrap src
...
* lisp/ob-exp.el (org-babel-exp-process-buffer): Fix duplicate
evaluation with :wrap src.
(org-babel-exp-non-block-elements): Removed function.
* testing/lisp/test-ob-lob.el (test-ob-lob/export-lob-lines): Fix test.
2013-12-06 16:40:23 +01:00
Bastien Guerry
6a86f32c70
org-attach.el: Check whether git is installed
...
* org-attach.el (vc-git): Require.
(org-attach-commit): Check whether git is installed.
Thanks to Jonathan Leech-Pepin for reporting this.
2013-12-06 15:22:50 +01:00
Nicolas Goaziou
af6f14d907
Fix C-c C-c behaviour on some objects
...
* lisp/org.el (org-ctrl-c-ctrl-c): When point is on an unsupported
object, look for something to do at a higher level instead of
bailing out.
For example, C-c C-c should toggle checkbox in the following example
even though X point is technically on a subscript.
- [ ] a_Xb
2013-12-03 21:41:48 +01:00
Nicolas Goaziou
8953b417f2
ox-html: Fix LaTeX fragments export
...
* lisp/ox-html.el (org-html-format-latex): Add an argument. Ensure
latex header is the same as specified in the original buffer when
exporting a LaTeX fragment or environment.
(org-html-latex-environment, org-html-latex-fragment): Apply signature
change.
2013-12-03 20:57:08 +01:00
Carsten Dominik
0b3657e8d3
Fix customization types in org-drill.el
...
* contrib/lisp/org-drill.el (org-drill-leech-method):
(org-drill-scope):
(org-drill-spaced-repetition-algorithm): Fix customization types.
2013-12-03 18:05:01 +01:00
Nicolas Goaziou
c92606b326
Documentation for :export: tag usage
...
* doc/org.texi (Export settings): documentation describing how text
above the first heading is ignored when an :export: tag is in a file.
Commit 7cf4406088
introduced a feature of
the exporter that ignores text above the first headline when an :export:
tag is used anywhere in a file. This commit documents that behaviour
introduced in 7cf44060
, in doc/org.texi.
TINYCHANGE
2013-12-01 13:32:26 +01:00
Nicolas Goaziou
07cbf9aa13
ox-freemind: Fix comma error when exporting
...
* contrib/lisp/ox-freemind.el (org-freemind-export-to-freemind): Fix
code typo.
Reported-by: Jan-Mark Batke <badkey@gmx.net>
2013-11-28 11:44:44 +01:00
Nicolas Goaziou
3ead82a321
ox-publish: Error when publishing non-existent file
...
* lisp/ox-publish.el (org-publish-cache-ctime-of-src): Return an error
when publishing a non-existent file.
Suggested-by: Arne Babenhauserheide <arne_bab@web.de>
2013-11-25 23:34:20 +01:00
Nicolas Goaziou
7bee47120b
org-element: Update paragraph separate regexp
...
* lisp/org-element.el (org-element-paragraph-separate): More accurate
regexp.
2013-11-25 23:19:48 +01:00
Achim Gratz
5213e0f704
org-crypt: fix 3e87d5893d
...
* lisp/org-crypt.el: Declare `epg-context´.
(org-encrypt-string): Correct indentation.
2013-11-23 16:15:45 +01:00
Nicolas Richard
9ff70abc14
Use key-description on the keys mentionned by the functions defined by
...
`orgtbl-mode'.
2013-11-22 22:32:50 +01:00
Nicolas Richard
a598e9c163
Remove old comment
...
The comment was introduced (in git) at commit
4be4c56239
; it refers to a
FIXME located ~40 lines above it. The FIXME was removed in
dc8bc8e392
.
2013-11-22 22:32:45 +01:00