org-mode.git
17 months agoREADME_maintainer: fix "git tag" instructions release_8.0.2
Bastien Guerry [Sat, 27 Apr 2013 02:05:06 +0000]
README_maintainer: fix "git tag" instructions

17 months agoAllow also "#+NAME: table" for remote references
Michael Brand [Fri, 26 Apr 2013 15:07:55 +0000]
Allow also "#+NAME: table" for remote references

* lisp/org-table.el (org-table-get-remote-range): Extend regexp to
match "#+NAME: table" additionally to "#+TBLNAME: table".
* testing/lisp/test-org-table.el: Add test.
* testing/org-test.el (org-test-table-target-expect): Allow several
tables to support testing remote references in the last table.

17 months agoUse @var{} only for metasyntactical meanings in the manual.
Carsten Dominik [Fri, 26 Apr 2013 10:33:55 +0000]
Use @var{} only for metasyntactical meanings in the manual.

Thanks to Suvayu Ali for the patch

17 months agoox-org: Preserve affiliated keywords
Nicolas Goaziou [Fri, 26 Apr 2013 13:47:34 +0000]
ox-org: Preserve affiliated keywords

* lisp/ox.el (org-export-expand): Optionally add affiliated keywords
  to results.
* lisp/ox-org.el (org-org-identity): Use new argument for
  `org-export-expand'.

17 months agoFix error when filling a table from an affiliated keyword
Nicolas Goaziou [Fri, 26 Apr 2013 12:27:38 +0000]
Fix error when filling a table from an affiliated keyword

* lisp/org.el (org-fill-paragraph): Move to table beginning before
  aligning the table when M-q is called from an affiliated keyword.
* testing/lisp/test-org.el: Add test.

17 months agoorg-list: Properly update `org-list-allow-alphabetical'
Nicolas Goaziou [Fri, 26 Apr 2013 12:13:24 +0000]
org-list: Properly update `org-list-allow-alphabetical'

* lisp/org-list.el (org-list-allow-alphabetical): Properly update
  `org-list-allow-alphabetical' when changed after org.el has been
  loaded.

17 months agoorg-element: Fix interpretation of empty fixed-width elements
Nicolas Goaziou [Fri, 26 Apr 2013 08:38:05 +0000]
org-element: Fix interpretation of empty fixed-width elements

* lisp/org-element.el (org-element-fixed-width-interpreter): Fix
  interpretation of fixed-width elements with a nil or empty string
  value.
* testing/lisp/test-org-element.el: Add tests.

17 months agoorg.el (org-insert-heading): Fix case when there the first heading starts at the...
Bastien Guerry [Fri, 26 Apr 2013 06:52:43 +0000]
org.el (org-insert-heading): Fix case when there the first heading starts at the beginning of the buffer

* org.el (org-insert-heading): Fix case when there the first
heading starts at the beginning of the buffer.

In this case, `org-backward-heading-same-level' will throw an error in
the let form, and the error would fall back on "*" instead of falling
back on the correct number of stars to add.

Thanks to Jisang Yoo and John Hendy who reported this bug.

17 months agoUse `org-called-interactively-p' instead of `called-interactively-p'
Bastien Guerry [Thu, 25 Apr 2013 05:30:04 +0000]
Use `org-called-interactively-p' instead of `called-interactively-p'

* org-agenda.el (org-agenda-write):
* ob-core.el (org-babel-expand-src-block): Use
`org-called-interactively-p'.

Thanks to Jason L Wright for reporting this.

17 months agoorg.el: Delete trailing whitespaces
Bastien Guerry [Wed, 24 Apr 2013 14:22:13 +0000]
org.el: Delete trailing whitespaces

17 months agoorg.el: Filter agenda by persistent tags
Viktor Rosenfeld [Wed, 24 Apr 2013 13:54:14 +0000]
org.el: Filter agenda by persistent tags

* org.el (org-agenda-prepare-buffers): Add tags defined in
org-tag-persistent-alist to org-tag-alist-for-agenda.

This makes tag hotkeys defined in `org-tag-persistent-alist' appear when
the user invokes `org-agenda-filter-by-tag-refine'.

TINYCHANGE

17 months agoorg.el (org-agenda-prepare-buffers): Avoid duplicates in `org-tag-alist-for-agenda...
Bastien Guerry [Wed, 24 Apr 2013 13:43:33 +0000]
org.el (org-agenda-prepare-buffers): Avoid duplicates in `org-tag-alist-for-agenda' correctly

* org.el (org-agenda-prepare-buffers): Avoid duplicates in
`org-tag-alist-for-agenda' correctly.

Thanks to Viktor Rosenfeld for debugging this.

17 months agoorg.el (org-read-date-minibuffer-local-map): Check if we are at the beginning of...
Bastien Guerry [Wed, 24 Apr 2013 09:36:22 +0000]
org.el (org-read-date-minibuffer-local-map): Check if we are at the beginning of the prompt, not if we are after a whitespace

* org.el (org-read-date-minibuffer-local-map): Check if we are
at the beginning of the prompt, not if we are after a whitespace.
Bind C-. to `calendar-goto-today'.

17 months agoorg-clock.el (org-clock-in): Don't forward by one character when setting the marker...
Bastien Guerry [Wed, 24 Apr 2013 08:47:16 +0000]
org-clock.el (org-clock-in): Don't forward by one character when setting the marker in the clock history

* org-clock.el (org-clock-in): Don't forward by one character
when setting the marker in the clock history.

This was done to prevent the marker from being broken when a user
manually insert some text right one it.  I cannot reproduce this
manual marker modification problem, so let's remove this ugly
exception, as it is not consistent with other clock markers.

Thanks to Bernt Hansen for pointing this out.

17 months agoorg.el (org-read-date-minibuffer-local-map): Call `calendar-goto-today' only if there...
Bastien Guerry [Wed, 24 Apr 2013 08:05:36 +0000]
org.el (org-read-date-minibuffer-local-map): Call `calendar-goto-today' only if there is a space before point in the minibuffer prompt

* org.el (org-read-date-minibuffer-local-map): Call
`calendar-goto-today' only if there is a space before point in
the minibuffer prompt.

Thanks to Michael Brand and others who asked for this regression to be fixed.

17 months agoMerge branch 'maint' of orgmode.org:org-mode into maint
Bastien Guerry [Wed, 24 Apr 2013 07:55:27 +0000]
Merge branch 'maint' of orgmode.org:org-mode into maint

17 months agoorg.el (org-insert-heading): Fix bug about wrong conversion of lines with :END: or...
Bastien Guerry [Wed, 24 Apr 2013 07:55:15 +0000]
org.el (org-insert-heading): Fix bug about wrong conversion of lines with :END: or #+end_ into headlines

* org.el (org-insert-heading): Reveal context when called
interactively.  Fix bug about wrong conversion of lines with
:END: or #+end_ into headlines.
(org-in-drawer-p): New function.
(org-meta-return): Use `org-catch-invisible-edits' and the
`org-in-drawer-p' to check whether we are within a drawer.

Thanks to Muchenxuan Tong and John Hendy who reported these errors.

17 months agoox-html: Always use provided description in internal links
Nicolas Goaziou [Wed, 24 Apr 2013 07:52:20 +0000]
ox-html: Always use provided description in internal links

* lisp/ox-html.el (org-html-link): Don't skip the link description
  when it matches the name of the headline it targets.

17 months agodoc/orgcard.tex: Update version number
Bastien Guerry [Mon, 22 Apr 2013 06:27:40 +0000]
doc/orgcard.tex: Update version number

Also update etc/ORG-NEWS.

17 months agoorg-list.el (org-sort-list): Fix infloop
Bastien Guerry [Sun, 21 Apr 2013 22:24:39 +0000]
org-list.el (org-sort-list): Fix infloop

* org-list.el (org-sort-list): Fix infloop.

Thanks to Samuel Wales for reporting this.

17 months agoox-ascii: Minor fixes
Nicolas Goaziou [Sun, 21 Apr 2013 21:51:54 +0000]
ox-ascii: Minor fixes

* lisp/ox-ascii.el (ascii): Remove inexistant function.

17 months agoox-icalendar: Ignore footnotes
Nicolas Goaziou [Sun, 21 Apr 2013 21:41:49 +0000]
ox-icalendar: Ignore footnotes

* lisp/ox-icalendar.el (icalendar): Ignore footnotes.

17 months agoox-icalendar: Small refactoring
Nicolas Goaziou [Sun, 21 Apr 2013 08:05:39 +0000]
ox-icalendar: Small refactoring

* lisp/ox-icalendar.el (org-icalendar--combine-files): Small refactoring.

17 months agoox: Fix `org-export-with-footnotes' behaviour
Nicolas Goaziou [Sun, 21 Apr 2013 07:58:40 +0000]
ox: Fix `org-export-with-footnotes' behaviour

* lisp/ox.el (org-export--skip-p, org-export--interpret-p): When
  `org-export-with-footnotes' is nil, ignore completely footnotes
  references and definitions instead of exporting them verbatim.
* testing/lisp/test-ox.el: Add tests.

17 months agoorg.el: New maintainer
Bastien Guerry [Sun, 21 Apr 2013 14:58:01 +0000]
org.el: New maintainer

* doc/orgguide.texi:
* doc/org.texi:
* org.el: New maintainer.

18 months agoox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo release_8.0.1
Baptiste [Sat, 20 Apr 2013 07:19:21 +0000]
ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo

* ox-taskjuggler.el (org-taskjuggler--build-task): Fix code typo.

TINYCHANGE

18 months agoorg-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil
Richard Lawrence [Sat, 20 Apr 2013 06:58:29 +0000]
org-agenda.el (org-cmp-ts): Avoid error when trying to string-match against nil

* org-agenda.el (org-cmp-ts): Avoid error when trying to
string-match against nil.

TINYCHANGE

18 months agoorg.el (org-clone-subtree-with-time-shift): Update behavior
Bastien Guerry [Sat, 20 Apr 2013 06:51:37 +0000]
org.el (org-clone-subtree-with-time-shift): Update behavior

* org.el (org-clone-subtree-with-time-shift): Unconditionally
ask for a time shift if there is a time-stamp.  Don't ask for
a time shift when called with a universal prefix argument.

Thanks to Ingmar Meissner for raising this issue again.

18 months agoox-beamer: Do not ignore uppercase environements
Nicolas Goaziou [Sat, 20 Apr 2013 06:32:10 +0000]
ox-beamer: Do not ignore uppercase environements

* lisp/ox-beamer.el (org-beamer--frame-level): Small refactoring.
(org-beamer--format-block, org-beamer-headline): Do not systematically
downcase environment names as some require upper case in their
names (e.g. noteNH and CJK).

Thanks to James Harkins for reporting the bug.

18 months agoob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensur...
Bastien Guerry [Fri, 19 Apr 2013 17:44:40 +0000]
ob-core.el (org-babel-insert-result): Fix bug when inserting results as a list: ensure we split a string containing "\n"

* ob-core.el (org-babel-insert-result): Fix bug when inserting
results as a list: ensure we split a string containing "\n".

Thanks to Sébastien Vauban for reporting this.

18 months agoox-taskjuggler.el: Fix dependencies string
Nicolas Goaziou [Fri, 19 Apr 2013 09:30:49 +0000]
ox-taskjuggler.el: Fix dependencies string

* contrib/lisp/ox-taskjuggler.el (org-taskjuggler-format-dependencies):
  Fix dependencies string.

18 months agoox-html.el: Fix copyright header
Bastien Guerry [Thu, 18 Apr 2013 17:32:07 +0000]
ox-html.el: Fix copyright header

* ox-html.el: Fix copyright header.

18 months agodoc/orgguide.texi: Fix menus release_8.0
Bastien Guerry [Thu, 18 Apr 2013 16:21:13 +0000]
doc/orgguide.texi: Fix menus

18 months agodoc/orgguide.texi: Fix wrong node ref
Bastien Guerry [Thu, 18 Apr 2013 16:17:52 +0000]
doc/orgguide.texi: Fix wrong node ref

18 months agomk/server.mk: Don't use non-existent file AUTHORS
Bastien Guerry [Thu, 18 Apr 2013 16:08:13 +0000]
mk/server.mk: Don't use non-existent file AUTHORS

18 months agoMerge 8.0
Bastien Guerry [Thu, 18 Apr 2013 16:00:30 +0000]
Merge 8.0

18 months agoorg.el (org-store-link): Don't add a search string when storing a link from a radio...
Bastien Guerry [Thu, 18 Apr 2013 15:27:17 +0000]
org.el (org-store-link): Don't add a search string when storing a link from a radio target

* org.el (org-store-link): Don't add a search string when
storing a link from a radio target.
(org-open-at-point): Jump to the radio link (<<<radio>>>), not
to the simple target (<<target>>).

18 months agoox: Change scope for `org-export-with-timestamps'
Nicolas Goaziou [Sun, 14 Apr 2013 20:20:16 +0000]
ox: Change scope for `org-export-with-timestamps'

* lisp/ox.el (org-export-with-timestamps): Only applies to isolated
  timestamps, i.e. timestamps in a paragraph containing only
  timestamps and empty strings.
(org-export--skip-p): Skip timestamps according to new behaviour.
* testing/lisp/test-ox.el: Update tests.

18 months agoorg-table.el (org-table-get-remote-range): Fix typo
Bastien Guerry [Thu, 18 Apr 2013 13:42:31 +0000]
org-table.el (org-table-get-remote-range): Fix typo

* org-table.el (org-table-get-remote-range): Fix typo.

18 months agoMakefile (clean-install): Also remove ox*.el* files
Bastien Guerry [Thu, 18 Apr 2013 12:43:45 +0000]
Makefile (clean-install): Also remove ox*.el* files

* Makefile (clean-install): Also remove ox*.el* files.

18 months agoorg.texi (History and Acknowledgments): Small rephrasing
Bastien Guerry [Thu, 18 Apr 2013 11:04:29 +0000]
org.texi (History and Acknowledgments): Small rephrasing

* org.texi (History and Acknowledgments): Small rephrasing.

18 months agoorg.texi (Template elements): Add a footnote about tags accepted in a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:45:07 +0000]
org.texi (Template elements): Add a footnote about tags accepted in a year datetree

* org.texi (Template elements): Add a footnote about tags
accepted in a year datetree.

18 months agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 18 Apr 2013 10:31:05 +0000]
Merge branch 'master' of orgmode.org:org-mode

18 months agoMerge branch 'master-apply-aaron-patch2'
Bastien Guerry [Thu, 18 Apr 2013 10:28:03 +0000]
Merge branch 'master-apply-aaron-patch2'

Conflicts:
lisp/ob-core.el

18 months agoClean up various org-babel-*-maybe commands
Aaron Ecay [Thu, 18 Apr 2013 08:06:55 +0000]
Clean up various org-babel-*-maybe commands

* lisp/ob-core.el (org-babel-when-in-src-block): New macro.
  (org-babel-execute-src-block-maybe)
  (org-babel-expand-src-block-maybe)
  (org-babel-load-in-session-maybe, org-babel-pop-to-session-maybe):
  Use it.

org-babel-get-src-block-info is a potentially expensive operation, which
is why its ‘light’ argument exists.  But in any case, it is overkill to
query the whole info, if all that is needed is whether point is in a
block or not.  Factor the simplified common code out into a macro.

18 months agoMerge branch 'master' of orgmode.org:org-mode
Christian Egli [Thu, 18 Apr 2013 10:24:32 +0000]
Merge branch 'master' of orgmode.org:org-mode

# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.

18 months agoox-taskjuggler: Set the default reports to work out-of-the-box with tj3
Christian Egli [Thu, 18 Apr 2013 10:23:08 +0000]
ox-taskjuggler: Set the default reports to work out-of-the-box with tj3

* ox-taskjuggler.el (org-taskjuggler-default-reports): Set the default
reports so that the user gets a good out-of-the-box experience with
tj3.

The defaults in the defcustom now out-of-the-box support tj3. If you
really want to export to taskjuggler 2.x the documentation explains
how you can do that.

18 months agoorg-datetree.el: Be more restrictive when finding a year datetree
Bastien Guerry [Thu, 18 Apr 2013 10:20:08 +0000]
org-datetree.el: Be more restrictive when finding a year datetree

* org-datetree.el (org-datetree-find-month-create)
(org-datetree-find-day-create): Add a docstring.
(org-datetree-find-year-create): Only match headlines with a
year or a year and one or more tags.

Thanks to Suvayu Ali for reporting this.

18 months agoorg.texi: Enhance style.
Bastien Guerry [Thu, 18 Apr 2013 10:04:48 +0000]
org.texi: Enhance style.

* org.texi (Beamer export, @LaTeX{} and PDF export)
(Header and sectioning, @LaTeX{} specific attributes): Enhance
style.

Thanks to Thomas Dye for these suggestions.

18 months agoFix bug in org-babel-execute-src-block
Aaron Ecay [Thu, 18 Apr 2013 08:02:47 +0000]
Fix bug in org-babel-execute-src-block

* lisp/ob-core.el (org-babel-execute-src-block): Use `copy-tree'
to prevent setf from modifying users variables withing let-bound
`info' variable.

Otherwise, the setf calls in this function can reach into and change
other configuration variables, such as the library of babel.

18 months agoAdd 'inline-only option to org-export-babel-evaluate
Aaron Ecay [Sun, 31 Mar 2013 22:47:44 +0000]
Add 'inline-only option to org-export-babel-evaluate

* lisp/ob-exp.el (org-export-babel-evaluate): Add a 'inline-only option.
  (org-babel-exp-results): Implement 'inline-only for
  `org-export-babel-evaluate'.
* doc/org.texi (Exporting code blocks): Document the 'inline-only setting
  for `org-export-babel-evaluate'.

This is useful because there is no way for inline results to be stored.
The imagined usecase is that all non-inline source blocks will be
evaluated manually by the user.  Inline blocks, however, must be
evaluated during export, or they will be simply deleted by the exporter.

18 months agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Thu, 18 Apr 2013 08:29:12 +0000]
Merge branch 'master' of orgmode.org:org-mode

18 months agoUse `org-add-hook' in some places and merge Emacs revno r112320
Bastien Guerry [Thu, 18 Apr 2013 08:29:00 +0000]
Use `org-add-hook' in some places and merge Emacs revno r112320

* ox.el (org-export-stack-mode)
* org-crypt.el (org-crypt-check-auto-save)
(org-crypt-use-before-save-magic): Use `org-add-hook' when the
hooks are local hooks.

* org-indent.el (org-indent-mode)
* org-agenda.el (org-agenda-mode): Use `org-add-hook' and
merge upstream change from Emacs revno r112320.

18 months agoob-core.el (org-babel-pop-to-session-maybe): Fix docstring
Bastien Guerry [Thu, 18 Apr 2013 08:22:34 +0000]
ob-core.el (org-babel-pop-to-session-maybe): Fix docstring

* ob-core.el (org-babel-pop-to-session-maybe): Fix docstring.
(org-babel-pop-to-session-maybe): Use true function's name,
not its alias.

18 months agoox-latex: Handle consecutive alterning sub and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 22:06:06 +0000]
ox-latex: Handle consecutive alterning sub and superscript

* lisp/ox-latex.el (org-latex--script-size): Handle consecutive
  alterning sub and superscript.

This patch fixes export of "a^b_c" constructs.

18 months agoox-org.el: Fix some docstrings
Nicolas Goaziou [Wed, 17 Apr 2013 20:44:28 +0000]
ox-org.el: Fix some docstrings

* lisp/ox-org.el (org-org-identity): Fix docstring.  Tiny refactoring.
(org-org-headline, org-org-keyword): Fix docstring.

18 months agoorg.texi: Improve documentation for export settings
Nicolas Goaziou [Wed, 17 Apr 2013 19:53:22 +0000]
org.texi: Improve documentation for export settings

* doc/org.texi (Export settings): Improve documentation.

18 months agoorg.texi: Small fixes to HTML documentation
Nicolas Goaziou [Wed, 17 Apr 2013 19:33:34 +0000]
org.texi: Small fixes to HTML documentation

* doc/org.texi (Math formatting in HTML export): Fix OPTIONS item's name.
(Text areas in HTML export): Update text areas.
(HTML Export commands): Update export commands.

18 months agoob-perl: fix result handling
Achim Gratz [Wed, 17 Apr 2013 19:38:21 +0000]
ob-perl: fix result handling

* lisp/ob-perl.el (org-babel-perl-wrapper-method): Select output
  handle only after evaluation so that output is not mixed into
  results eavaluation.
  (org-babel-perl-evaluate): Fix the handling of results for ":results
  output" to also parse tables.  Use the same lambda construction as
  in ob-sh.el to avoid code duplication.

18 months agoox-latex: Use \text command for subscript and superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:56:32 +0000]
ox-latex: Use \text command for subscript and superscript

* lisp/ox-latex.el (org-latex--script-size): Use \text command for
  subscript and superscript.  This is far superior to \mathrm, but it
  requires "amstext" package.  In particular, accented characters are
  now allowed within sub/superscript.
* lisp/org.el (org-latex-default-packages-alist): Add "amstext"
  package.

18 months agoox-latex: Better handling of sub/superscript within sub/superscript
Nicolas Goaziou [Wed, 17 Apr 2013 18:57:21 +0000]
ox-latex: Better handling of sub/superscript within sub/superscript

* lisp/ox-latex.el (org-latex--script-size): Fix error when using
  sub/superscript within sub/superscript.

18 months agoorg.texi (Agenda commands): Add a footnote
Bastien Guerry [Wed, 17 Apr 2013 18:34:28 +0000]
org.texi (Agenda commands): Add a footnote

* org.texi (Agenda commands): Add a footnote about dragging
agenda lines: it does not persist and it does not change the
.org files.

18 months agoorg-agenda.el: New commands for dragging a line forward/backward
Bastien Guerry [Wed, 17 Apr 2013 18:25:02 +0000]
org-agenda.el: New commands for dragging a line forward/backward

* org-agenda.el (org-agenda-drag-line-forward)
(org-agenda-drag-line-backward): New commands.
(org-agenda-mode-map): Bind the new commands to M-<down> and
M-<up> respectively.

* org.texi (Agenda commands): Add a table heading for dragging
agenda lines forward/backward.

18 months agoox-latex: Improve subscript/superscript export
Nicolas Goaziou [Wed, 17 Apr 2013 16:43:01 +0000]
ox-latex: Improve subscript/superscript export

* lisp/ox-latex.el (org-latex--script-size): New function.
(org-latex-subscript, org-latex-superscript): Use new function.

18 months agoox-taskjuggler: Fix checkdoc warnings
Christian Egli [Wed, 17 Apr 2013 15:43:46 +0000]
ox-taskjuggler: Fix checkdoc warnings

* ox-taskjuggler.el (org-taskjuggler-assign-task-ids,
org-taskjuggler-assign-resource-ids, org-taskjuggler-get-id,
org-taskjuggler-project-plan):  Fix checkdoc warnings.

18 months agoox-taskjuggler: Fix compilation warnings
Christian Egli [Wed, 17 Apr 2013 14:01:07 +0000]
ox-taskjuggler: Fix compilation warnings

* ox-taskjuggler.el (org-taskjuggler--build-task,
org-taskjuggler--build-project): Fix compilation warnings.

18 months agoorg.el (org-insert-heading): Fix insertion of items
Bastien Guerry [Wed, 17 Apr 2013 08:10:34 +0000]
org.el (org-insert-heading): Fix insertion of items

* org.el (org-insert-heading): Fix insertion of items.

18 months agoorg-capture.el (org-capture-use-agenda-date): Fix docstring
Bastien Guerry [Wed, 17 Apr 2013 05:00:59 +0000]
org-capture.el (org-capture-use-agenda-date): Fix docstring

* org-capture.el (org-capture-use-agenda-date): Fix docstring.

18 months agoorg.texi (Agenda commands): Add documentation for bulk marking commands
Bastien Guerry [Wed, 17 Apr 2013 05:00:35 +0000]
org.texi (Agenda commands): Add documentation for bulk marking commands

* org.texi (Agenda commands): Add documentation for
`org-agenda-bulk-toggle' and `org-agenda-bulk-toggle-all'.

18 months agoorg-agenda.el: (org-agenda-bulk-toggle-all): New command
Bastien Guerry [Tue, 16 Apr 2013 20:02:07 +0000]
org-agenda.el: (org-agenda-bulk-toggle-all): New command

* org-agenda.el (org-agenda-bulk-toggle): Fix docstring.
(org-agenda-bulk-toggle-all): New command.
(org-agenda-mode-map): Bind `org-agenda-bulk-toggle' to `M-m'
and `org-agenda-bulk-toggle-all' to `M-*'.
(org-agenda-menu): Add `org-agenda-bulk-toggle' and
`org-agenda-bulk-toggle-all'.
(org-agenda-bulk-mark, org-agenda-bulk-unmark): Jump to the
next headline, not the next line.

18 months agoorg.texi (Publishing options): Update the list of options
Bastien Guerry [Tue, 16 Apr 2013 16:55:10 +0000]
org.texi (Publishing options): Update the list of options

* org.texi (Publishing options): Update the list of options.
(Simple example, Complex example): Fix the examples.

18 months agoorg-capture.el (org-mks): Fix bug.
Bastien Guerry [Tue, 16 Apr 2013 16:27:11 +0000]
org-capture.el (org-mks): Fix bug.

* org-capture.el (org-mks): Fix bug: let-bind
`case-fold-search' to nil while matching the first letter of a
multi-letters template.

Thanks to Robert Goldman for reporting this bug and providing the fix.

18 months agoorg.texi (Formula syntax for Calc): Don't use a bold font the warning
Bastien Guerry [Tue, 16 Apr 2013 14:40:35 +0000]
org.texi (Formula syntax for Calc): Don't use a bold font the warning

* org.texi (Formula syntax for Calc): Don't use a bold font
the warning.

18 months agoorg.el (org-store-link): When a bracket link is found in a headline, use the link...
Bastien Guerry [Tue, 16 Apr 2013 14:05:55 +0000]
org.el (org-store-link): When a bracket link is found in a headline, use the link description or the link path

* org.el (org-store-link): When a bracket link is found in a
headline, use the link description or the link path.

18 months agoox/ox-latex: Fix docstrings
Nicolas Goaziou [Tue, 16 Apr 2013 10:54:05 +0000]
ox/ox-latex: Fix docstrings

* lisp/ox-latex.el: Remove instructions since everything is documented
  in Org manual.
* lisp/ox.el (org-export-with-smart-quotes): Use LATEX instead of
  LaTeX for keywords, the latter being hard to type, somewhat
  difficult to read, and overall just pedantic.

18 months agoorg-man.el: Fix code typo
Nicolas Goaziou [Tue, 16 Apr 2013 10:51:08 +0000]
org-man.el: Fix code typo

* contrib/lisp/org-man.el (org-man-export): Fix code typo.

18 months agoorg.el: Use `user-error' instead of `error'
Bastien Guerry [Tue, 16 Apr 2013 10:02:35 +0000]
org.el: Use `user-error' instead of `error'

* org.el (org-flag-drawer, org-hide-block-toggle)
(org-goto-left, org-goto-right, org-promote)
(org-paste-subtree, org-narrow-to-block, org-sort-entries)
(org-insert-link, org-offer-links-in-entry, org-open-file)
(org-refile, org-refile-get-location)
(org-refile-check-position, org-prepare-dblock, org-todo)
(org-auto-repeat-maybe, org-show-todo-tree, org-sparse-tree)
(org-occur, org-priority, org-scan-tags)
(org-get-tags-string, org-property-action, org-set-effort)
(org-entry-put, org-insert-drawer)
(org-compute-property-at-point)
(org-property-next-allowed-value, org-evaluate-time-range)
(org-closest-date, org-timestamp-change)
(org-revert-all-org-buffers, org-cycle-agenda-files)
(org-agenda-file-to-front, org-remove-file)
(org-preview-latex-fragment, org-format-latex)
(org-create-math-formula, org-create-formula-image)
(org-speed-command-help, org-check-before-invisible-edit)
(org-modifier-cursor-error, org-hidden-tree-error)
(org-mark-subtree, org-kill-line, org-first-sibling-p)
(org-up-element, org-down-element)
(org-drag-element-backward, org-drag-element-forward)
(org-unindent-buffer, org-speedbar-set-agenda-restriction):
Use `user-error' instead of `error'.

18 months agoox-latex.el (latex): Don't force exporting with smart quotes
Bastien Guerry [Tue, 16 Apr 2013 09:39:41 +0000]
ox-latex.el (latex): Don't force exporting with smart quotes

* ox-latex.el (latex): Don't force exporting with smart
quotes.

* ox.el (org-export-with-smart-quotes): Mention the need to
use the relevant Babel package when setting this option to
non-nil.

Before the fix, if the user used #+LANGUAGE: fr with no other
customization, the quotes would disappear from the PDF output.
That's because smart quotes were enforced, while the .tex file
needs \usepackage[french]{babel} to display the quotes.

We now don't force the smart quotes and give more explanations
in `org-export-with-smart-quotes'.

18 months agoorg.texi (Other built-in back-ends): New section
Bastien Guerry [Tue, 16 Apr 2013 09:17:05 +0000]
org.texi (Other built-in back-ends): New section

* org.texi (Other built-in back-ends): New section.

18 months agoorg-src.el (org-edit-src-turn-on-auto-save): New option
Bastien Guerry [Tue, 16 Apr 2013 08:38:01 +0000]
org-src.el (org-edit-src-turn-on-auto-save): New option

* org-src.el (org-edit-src-turn-on-auto-save): New option.
(org-edit-src-code): Use it.
(org-edit-src-auto-save-idle-delay): Enhance docstring.

* doc/org.texi (Editing source code): Document
`org-edit-src-auto-save-idle-delay' and
`org-edit-src-turn-on-auto-save'.

Thanks to Charles C. Berry for bringing this up again.

18 months agoorg.texi (External links): Document contributed link types separately
Bastien Guerry [Tue, 16 Apr 2013 08:06:41 +0000]
org.texi (External links): Document contributed link types separately

* org.texi (External links): Document contributed link types
separately.

18 months agoorg.texi (Closing items): Document `org-closed-keep-when-no-todo'
Bastien Guerry [Tue, 16 Apr 2013 07:59:21 +0000]
org.texi (Closing items): Document `org-closed-keep-when-no-todo'

* org.texi (Closing items): Document
`org-closed-keep-when-no-todo'.

18 months agoorg-capture.el (org-mks): Make cursor invisible
Bastien Guerry [Tue, 16 Apr 2013 07:23:45 +0000]
org-capture.el (org-mks): Make cursor invisible

* org-capture.el (org-mks): Make cursor invisible.

18 months agoorg.el (org-link-expand-abbrev): Save match data before before calling the replacemen...
Bastien Guerry [Tue, 16 Apr 2013 07:15:45 +0000]
org.el (org-link-expand-abbrev): Save match data before before calling the replacement function

* org.el (org-link-expand-abbrev): Save match data before
before calling the replacement function.

18 months agoorg-list.el (org-sort-list): Don't move point when matching time values
Bastien Guerry [Tue, 16 Apr 2013 06:23:52 +0000]
org-list.el (org-sort-list): Don't move point when matching time values

* org-list.el (org-sort-list): Don't move point when matching
time values.

Thanks to Samuel Wales for reporting this bug.

18 months agoFix typo in docstring of `org-small-year-to-year'
Carsten Dominik [Tue, 16 Apr 2013 03:59:27 +0000]
Fix typo in docstring of `org-small-year-to-year'

* lisp/org.el (org-small-year-to-year): Fix typo in docstring

18 months agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Mon, 15 Apr 2013 21:38:47 +0000]
Merge branch 'master' of orgmode.org:org-mode

18 months agoorg-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo
Bastien Guerry [Mon, 15 Apr 2013 21:38:39 +0000]
org-man.el (org-man-export): Fix export to LaTeX and add export to Texinfo

* org-man.el (org-man-export): Fix export to LaTeX and add
export to Texinfo.

18 months agoorg.texi (Advanced configuration): Use @lisp and @smalllisp
Bastien Guerry [Mon, 15 Apr 2013 21:38:00 +0000]
org.texi (Advanced configuration): Use @lisp and @smalllisp

* org.texi (Advanced configuration): Use @lisp and @smalllisp.

18 months agoBetter document LATEX_HEADER_EXTRA keywords
Nicolas Goaziou [Mon, 15 Apr 2013 21:24:53 +0000]
Better document LATEX_HEADER_EXTRA keywords

* doc/org.texi (Header and sectioning): Add a footnote about the
  different between LATEX_HEADER_EXTRA and LATEX_HEADER.
* lisp/ox-latex.el (org-latex-classes): Be more explicit about
  LATEX_HEADER_EXTRA.

18 months agoorg.texi: Small update
Nicolas Goaziou [Mon, 15 Apr 2013 21:12:56 +0000]
org.texi: Small update

18 months agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Mon, 15 Apr 2013 20:57:33 +0000]
Merge branch 'master' of orgmode.org:org-mode

18 months agoorg-bibtex.el: Fix email address
Bastien Guerry [Mon, 15 Apr 2013 20:57:26 +0000]
org-bibtex.el: Fix email address

18 months agoorg.texi: Fix typos.
Bastien Guerry [Mon, 15 Apr 2013 20:26:45 +0000]
org.texi: Fix typos.

18 months agoorg.texi: Tiny rephrasing
Bastien Guerry [Mon, 15 Apr 2013 20:06:20 +0000]
org.texi: Tiny rephrasing

18 months agoorg.texi: More rewriting
Bastien Guerry [Mon, 15 Apr 2013 20:01:03 +0000]
org.texi: More rewriting

* org.texi (Export back-ends): Rename from "Export formats".
(The Export Dispatcher, Export settings): Minor rewrites.
(ASCII/Latin-1/UTF-8 export): Update variable's name.
(In-buffer settings): Add #+HTML_HEAD_EXTRA.

Thanks to Thomas Dye for these suggestions.

18 months agoorg.texi (Export in foreign buffers): New section
Bastien Guerry [Mon, 15 Apr 2013 19:17:54 +0000]
org.texi (Export in foreign buffers): New section

* org.texi (Export in foreign buffers): New section.
(Exporting): Remove documentation about converting the
selected region.

18 months agoAllow setting :HTML_CONTAINER as a per-headline property.
Rick Frankel [Mon, 15 Apr 2013 17:59:16 +0000]
Allow setting :HTML_CONTAINER as a per-headline property.

* lisp/ox-html.el (org-html-headline): Use (new) org-html--container
  function to set container element.
(org-html--container): Returns appropriate element for headline
container:
        1. The element set on the headline :HTML_CONTAINER property.
        2. the :html-container element (if the relative headline level
        is 1.)
        3. The default ("div").

18 months agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Mon, 15 Apr 2013 16:34:14 +0000]
Merge branch 'master' of orgmode.org:org-mode

18 months agoorg.el (org-shifttab): Show the correct number of empty headlines
Bastien Guerry [Mon, 15 Apr 2013 16:32:30 +0000]
org.el (org-shifttab): Show the correct number of empty headlines

* org.el (org-shifttab): Show the correct number of empty
headlines when called with a numeric prefix argument.  Enhance
docstring.

Thanks to Michael Crouch for reporting this bug and providing the fix.