org-mode.git
4 years agoob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'
Bastien Guerry [Thu, 31 Jan 2013 10:17:18 +0000 (11:17 +0100)]
ob-lilypond.el (ly-process-basic): Bugfix, don't use `pcase'

* ob-lilypond.el (ly-process-basic): Bugfix, don't use
`pcase'.

Thanks to Achim Gratz for suggesting this.

4 years agoob-core.el (org-ts-regexp): Remove duplicate defconst'ing
Bastien Guerry [Thu, 31 Jan 2013 09:57:49 +0000 (10:57 +0100)]
ob-core.el (org-ts-regexp): Remove duplicate defconst'ing

* ob-core.el (org-ts-regexp): Remove duplicate defconst'ing.
(org-babel-result-regexp): Don't use `org-ts-regexp', use a
regexp string directly.

This is not the best solution, we should be able to use
`org-ts-regexp' here, but the dependencies makes it hard.
So let's not define org-ts-regexp twice, just use a raw
regexp instead, and add a FIXME warning about this.

4 years agoorg-e-html.el (org-e-html-link): Don't add attributes to the link when they are alrea...
Bastien Guerry [Thu, 31 Jan 2013 09:44:15 +0000 (10:44 +0100)]
org-e-html.el (org-e-html-link): Don't add attributes to the link when they are already part of the link description

* org-e-html.el (org-e-html-link): Don't add attributes to the
link when they are already part of the link description.

4 years agoorg-e-latex: Allow to provide a format string for date keyword
Nicolas Goaziou [Wed, 30 Jan 2013 21:41:38 +0000 (22:41 +0100)]
org-e-latex: Allow to provide a format string for date keyword

* contrib/lisp/org-e-latex.el (org-e-latex-date-timestamp-format): New
  variable.
(org-e-latex-date-format): Removed variable.
(org-e-latex-template): Allow to provide a format string iff date
consists in a single timestamp.

4 years agofix bug introduced in c1226e8
Eric Schulte [Wed, 30 Jan 2013 20:53:50 +0000 (13:53 -0700)]
fix bug introduced in c1226e8

* lisp/ob-core.el (org-ts-regexp): Declare this here as well.

4 years agoorg-export: Fix failing test
Nicolas Goaziou [Wed, 30 Jan 2013 20:32:50 +0000 (21:32 +0100)]
org-export: Fix failing test

* testing/lisp/test-org-export.el: Fix failing test.

4 years agooption to show time stamps over result hashes
Eric Schulte [Wed, 30 Jan 2013 17:05:51 +0000 (10:05 -0700)]
option to show time stamps over result hashes

  suggested by Thomas Alexander Gerds

* lisp/ob-core.el (org-babel-result-regexp): Now matching time stamp as
  well.
  (org-babel-hash-show-time): Variable controlling the display of time
  stamps.
  (org-babel-current-result-hash): With hash time stamps.
  (org-babel-hide-all-hashes): With hash time stamps.
  (org-babel-where-is-src-block-result): With hash time stamps.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 16:53:30 +0000 (17:53 +0100)]
Merge branch 'maint'

4 years agoorg-macs.el (org-unmodified): Inhibit modification hooks
Francesco Pizzolante [Wed, 30 Jan 2013 15:09:22 +0000 (16:09 +0100)]
org-macs.el (org-unmodified): Inhibit modification hooks

* org-macs.el (org-unmodified): Inhibit modification hooks.

TINYCHANGE

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 16:46:54 +0000 (17:46 +0100)]
Merge branch 'maint'

4 years agoorg.texi (References): Clarify an example
Bastien Guerry [Wed, 30 Jan 2013 16:46:35 +0000 (17:46 +0100)]
org.texi (References): Clarify an example

* org.texi (References): Clarify an example.

Thanks to Xue Fuqiao, Eric S Fraga and H. Dieter Wilhelm
for sorting this out.

4 years agotesting/README: Fix instructions
Yasushi SHOJI [Wed, 30 Jan 2013 16:35:09 +0000 (17:35 +0100)]
testing/README: Fix instructions

TINYCHANGE

4 years agoorg-element: Cosmetic change to `org-element-map' indentation
Nicolas Goaziou [Wed, 30 Jan 2013 13:42:24 +0000 (14:42 +0100)]
org-element: Cosmetic change to `org-element-map' indentation

* lisp/org-element.el (org-element-map): Change to function
  indentation.  Also complete docstring.

4 years agoorg-export: Generalize fallback footnote definition to all exporters
Nicolas Goaziou [Wed, 30 Jan 2013 13:17:30 +0000 (14:17 +0100)]
org-export: Generalize fallback footnote definition to all exporters

* contrib/lisp/org-export.el (org-export-get-footnote-definition):
  Provide a fallback definition when none can be found.
* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference): Revert
  change made in 30ef385ee03ea1f92e07f368413c065630bc01b8 since it is
  now handled at the export framework level.
* testing/lisp/test-org-export.el: Add test.

4 years agoorg-e-odt: Fix code typo
Nicolas Goaziou [Wed, 30 Jan 2013 13:16:00 +0000 (14:16 +0100)]
org-e-odt: Fix code typo

* contrib/lisp/org-e-odt.el (org-e-odt--export-wrap): Fix parenthesis
  mismatch.

4 years agoob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'
Bastien Guerry [Wed, 30 Jan 2013 11:20:32 +0000 (12:20 +0100)]
ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'

* ob-lilypond.el (ly-process-basic): Don't use `ly-gen-png'
and friends, rely on the extension of the output file.

Thanks to Florian Beck for suggesting this.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 30 Jan 2013 11:11:10 +0000 (12:11 +0100)]
Merge branch 'maint'

Conflicts:
contrib/lisp/org-e-odt.el

4 years agoorg-archive.el (org-archive-file-header-format): New option
Bastien Guerry [Wed, 30 Jan 2013 10:50:14 +0000 (11:50 +0100)]
org-archive.el (org-archive-file-header-format): New option

* org-archive.el (org-archive-file-header-format): New option.
(org-archive-subtree): Use it.

Thanks to Christopher Schmidt for suggesting something close.

4 years agoorg-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix'...
racin [Wed, 30 Jan 2013 10:42:17 +0000 (11:42 +0100)]
org-bibtex.el (org-bibtex-search): Don't throw an error when `org-bibtex-prefix' is nil

* org-bibtex.el (org-bibtex-search): Don't throw an error when
`org-bibtex-prefix' is nil.

TINYCHANGE

4 years agoorg.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil
Bastien Guerry [Wed, 30 Jan 2013 10:18:24 +0000 (11:18 +0100)]
org.el: Always honor `org-startup-indented', even when `org-inhibit-startup' is non-nil

* org.el (org-mode): Always honor `org-startup-indented', even
when `org-inhibit-startup' is non-nil.

* org-indent.el (org-indent-mode): Don't check
`org-inhibit-startup'.

Thanks to Carsten for suggesting this.

4 years agoorg-e-odt.el (org-e-odt--export-wrap): Use `condition-case'
Bastien Guerry [Wed, 30 Jan 2013 09:46:43 +0000 (10:46 +0100)]
org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'

* org-e-odt.el (org-e-odt--export-wrap): Use `condition-case'.

4 years agoorg-e-latex: Fix error in documents with empty footnote definitions
Nicolas Goaziou [Tue, 29 Jan 2013 22:19:58 +0000 (23:19 +0100)]
org-e-latex: Fix error in documents with empty footnote definitions

* contrib/lisp/org-e-latex.el (org-e-latex-footnote-reference):
  Provide a fallback definition when none is available.

4 years agoorg-md: Also translate fixed-width areas
Nicolas Goaziou [Mon, 28 Jan 2013 17:47:43 +0000 (18:47 +0100)]
org-md: Also translate fixed-width areas

4 years agoorg-export: Fix code typo
Nicolas Goaziou [Mon, 28 Jan 2013 12:53:37 +0000 (13:53 +0100)]
org-export: Fix code typo

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

4 years agoorg-export: Add a filter for export options
Nicolas Goaziou [Sun, 27 Jan 2013 20:41:21 +0000 (21:41 +0100)]
org-export: Add a filter for export options

* contrib/lisp/org-export.el (org-export-filters-alist): Install a new
  filter to modify export options.
(org-export-filter-options-functions): New variable.
(org-export-as): Call new filter.

4 years agoFix commit eab0cd
Bastien Guerry [Sun, 27 Jan 2013 14:21:29 +0000 (15:21 +0100)]
Fix commit eab0cd

Thanks to Florian for spotting this...

4 years agoFix commit de3380
Bastien Guerry [Sun, 27 Jan 2013 09:05:54 +0000 (10:05 +0100)]
Fix commit de3380

Thanks to Leo Liu for providing a patch.

4 years agoMerge branch 'maint'
Bastien Guerry [Sun, 27 Jan 2013 08:21:47 +0000 (09:21 +0100)]
Merge branch 'maint'

4 years agoorg.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outsid...
Bastien Guerry [Sun, 27 Jan 2013 08:21:35 +0000 (09:21 +0100)]
org.el (org-fontify-meta-lines-and-blocks-1): Don't try to add text properties outside of the buffer

* org.el (org-fontify-meta-lines-and-blocks-1): Don't try to
add text properties outside of the buffer.

Thanks to Leo Liu for reporting this.

4 years agofix bug: tangling #+headers: lines w/prefix arg
Eric Schulte [Sat, 26 Jan 2013 20:58:15 +0000 (13:58 -0700)]
fix bug: tangling #+headers: lines w/prefix arg

4 years agoorg-export: Fix subtree export when parent section is empty
Nicolas Goaziou [Sat, 26 Jan 2013 17:05:56 +0000 (18:05 +0100)]
org-export: Fix subtree export when parent section is empty

* contrib/lisp/org-export.el (org-export--get-subtree-options): When
  point is at an headline and subtree export is called, make sure
  export properties are extracted from parent headline.
* testing/lisp/test-org-export.el: Add test.

4 years agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 14:11:21 +0000 (15:11 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org.el

4 years agoorg.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibili...
Bastien Guerry [Sat, 26 Jan 2013 14:10:43 +0000 (15:10 +0100)]
org.el (org-agenda-inhibit-startup): Rename from `org-agenda-inhibit-startup-visibility-cycling'

* org.el (org-agenda-inhibit-startup): Rename from
`org-agenda-inhibit-startup-visibility-cycling'.
(org-agenda-prepare-buffers): Bind `org-inhibit-startup' to
`org-agenda-inhibit-startup'.

4 years agoorg.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup'...
Bastien Guerry [Sat, 26 Jan 2013 14:03:21 +0000 (15:03 +0100)]
org.el (org-mode): Don't initialize `org-beamer-mode' when `org-inhibit-startup' is non-nil

* org.el (org-mode): Don't initialize `org-beamer-mode' when
`org-inhibit-startup' is non-nil.

4 years agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 12:40:26 +0000 (13:40 +0100)]
Merge branch 'maint'

4 years agoorg-footnote.el: Fix bug when using `electric-indent-mode'
Bastien Guerry [Sat, 26 Jan 2013 12:40:18 +0000 (13:40 +0100)]
org-footnote.el: Fix bug when using `electric-indent-mode'

* org-footnote.el (org-footnote-create-definition): Prevent
`electric-indent-mode' from inserting the definition at the
wrong place.

Thanks to Xue Fuqiao for reporting this bug.

4 years agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 12:29:49 +0000 (13:29 +0100)]
Merge branch 'maint'

4 years agoorg-agenda.el: Delete `org-agenda-no-heading-message'
Bastien Guerry [Sat, 26 Jan 2013 12:29:44 +0000 (13:29 +0100)]
org-agenda.el: Delete `org-agenda-no-heading-message'

* org-agenda.el (org-agenda-no-heading-message): Delete.
(org-agenda-get-timestamps, org-agenda-get-progress)
(org-agenda-get-deadlines, org-agenda-get-scheduled)
(org-agenda-get-blocks): Don't use
`org-agenda-no-heading-message', skip the entry.

4 years agoob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type
Bastien Guerry [Sat, 26 Jan 2013 11:00:37 +0000 (12:00 +0100)]
ob-lilypond.el (ly-process-basic): Rely on ly-gen-png/pdf/eps to set the output type

* ob-lilypond.el (ly-process-basic): Rely on
ly-gen-png/pdf/eps to set the output type.

Thanks to Florian Beck for reporting this.

4 years agoorg.texi (Column width and alignment): Make the example visually more clear
Bastien Guerry [Sat, 26 Jan 2013 10:47:14 +0000 (11:47 +0100)]
org.texi (Column width and alignment): Make the example visually more clear

* org.texi (Column width and alignment): Make the example
visually more clear.

Thanks to Joost Helberg for suggesting this.

4 years agoorg.el (org-read-date-minibuffer-local-map): New variable (Incompatible change)
Bastien Guerry [Sat, 26 Jan 2013 10:31:38 +0000 (11:31 +0100)]
org.el (org-read-date-minibuffer-local-map): New variable (Incompatible change)

* org.el (org-read-date-minibuffer-local-map): New variable.
(org-read-date): Use it.
(org-read-date-minibuffer-setup-hook): Mark as obsolete.

Thanks to Mark Edgington for suggesting this.

This is an incompatible change: if you use
`org-read-date-minibuffer-setup-hook' to set up commands for the
`org-read-date' minibuffer, you need to update your configuration
and use `org-read-date-minibuffer-local-map' instead.

4 years agoSilent compiler warning
Bastien Guerry [Sat, 26 Jan 2013 10:23:08 +0000 (11:23 +0100)]
Silent compiler warning

4 years agoMerge branch 'maint'
Bastien Guerry [Sat, 26 Jan 2013 09:59:12 +0000 (10:59 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org.el

4 years agoorg.el (org-agenda-inhibit-startup-visibility-cycling): New option
Bastien Guerry [Sat, 26 Jan 2013 09:57:47 +0000 (10:57 +0100)]
org.el (org-agenda-inhibit-startup-visibility-cycling): New option

* org.el (org-agenda-inhibit-startup-visibility-cycling): New
option.
(org-agenda-prepare-buffers): Use it to speed up the agenda
generation.

This change will boost agenda creation *a lot*, especially for
people using many agenda files.  See the docstring of the new
option for details.

4 years agoorg-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled...
Bastien Guerry [Sat, 26 Jan 2013 09:55:35 +0000 (10:55 +0100)]
org-agenda.el (org-agenda-skip): Fix bug by correctly skipping commented scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Fix bug by correctly
skipping commented scheduled/deadline lines.

This fixes a bug introduced in
http://orgmode.org/cgit.cgi/org-mode.git/commit/?id=211b13

4 years agoFix C-c C-c at a footnote definition
Nicolas Goaziou [Sat, 26 Jan 2013 09:34:57 +0000 (10:34 +0100)]
Fix C-c C-c at a footnote definition

* lisp/org.el (org-ctrl-c-ctrl-c): `save-excursion' prevents
  `org-footnote-action' to put point back onto the definition.

4 years agoMerge branch 'maint'
Bastien Guerry [Thu, 24 Jan 2013 15:36:36 +0000 (16:36 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org.el

4 years agoFix compiler warning.
Bastien Guerry [Thu, 24 Jan 2013 15:31:08 +0000 (16:31 +0100)]
Fix compiler warning.

4 years agoorg-docview.el (org-docview-export): New function to export docview links
Дядов Васил Стоянов [Thu, 24 Jan 2013 15:10:56 +0000 (16:10 +0100)]
org-docview.el (org-docview-export): New function to export docview links

* org-docview.el (org-docview-export): New function to export
docview links.

TINYCHANGE

Patch slightly modified by Bastien.

4 years agoorg-man.el (org-man-export): New function to export links of type "man"
Bastien Guerry [Thu, 24 Jan 2013 15:09:12 +0000 (16:09 +0100)]
org-man.el (org-man-export): New function to export links of type "man"

* org-man.el (org-man-export): New function to export links of
type "man".

4 years agoorg.el (org-read-date): Bind `!' to `diary-view-entries'
Bastien Guerry [Thu, 24 Jan 2013 14:31:54 +0000 (15:31 +0100)]
org.el (org-read-date): Bind `!' to `diary-view-entries'

* org.el (org-read-date): Bind `!' to `diary-view-entries' in
order to check diary entries while setting an Org date.

4 years agoFix last commit.
Bastien Guerry [Thu, 24 Jan 2013 14:05:41 +0000 (15:05 +0100)]
Fix last commit.

4 years agoorg-agenda.el (org-diary): Only keep the descriptions of the links
Bastien Guerry [Thu, 24 Jan 2013 14:03:22 +0000 (15:03 +0100)]
org-agenda.el (org-diary): Only keep the descriptions of the links

* org-agenda.el (org-diary): Only keep the descriptions of the
links since Org links are not active in the diary buffer.

4 years agoNew face `org-priority'. Enhance fontification of priority cookies in agenda.
Bastien Guerry [Thu, 24 Jan 2013 13:16:11 +0000 (14:16 +0100)]
New face `org-priority'.  Enhance fontification of priority cookies in agenda.

* org-faces.el (org-priority): New face.

* org.el (org-font-lock-add-priority-faces): Use the new face.

* org-agenda.el (org-agenda-fontify-priorities): Use the
org-priority face and add specific agenda face on top of it.

4 years agoMerge branch 'maint'
Bastien Guerry [Thu, 24 Jan 2013 11:27:59 +0000 (12:27 +0100)]
Merge branch 'maint'

4 years agoorg.texi (Installation): Enhance instructions again
Bastien Guerry [Thu, 24 Jan 2013 11:27:55 +0000 (12:27 +0100)]
org.texi (Installation): Enhance instructions again

* org.texi (Installation): Enhance instructions again.

4 years agoSilence byte-compiler
Nicolas Goaziou [Wed, 23 Jan 2013 16:38:17 +0000 (17:38 +0100)]
Silence byte-compiler

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:58:33 +0000 (14:58 +0100)]
Merge branch 'maint'

4 years agoorg.texi (Org-Plot): Update link
Bastien Guerry [Wed, 23 Jan 2013 13:58:29 +0000 (14:58 +0100)]
org.texi (Org-Plot): Update link

* org.texi (Org-Plot): Update link.

Thanks to Xue Fuqiao for reporting this.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:49:02 +0000 (14:49 +0100)]
Merge branch 'maint'

4 years agoorg-clock.el (org-clock-in): Fix bug when fetching the effort value
Bastien Guerry [Wed, 23 Jan 2013 13:48:52 +0000 (14:48 +0100)]
org-clock.el (org-clock-in): Fix bug when fetching the effort value

* org-clock.el (org-clock-in): Fix bug when fetching the effort
value.

Thanks to Vasil S. Diadov for reporting this bug and proposing a patch.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 13:00:03 +0000 (14:00 +0100)]
Merge branch 'maint'

4 years agoob-python.el: Fix compatibility bug.
Bastien Guerry [Wed, 23 Jan 2013 12:58:20 +0000 (13:58 +0100)]
ob-python.el: Fix compatibility bug.

* ob-python.el (org-babel-python-command): Fix docstring.
(org-babel-python-initiate-session-by-key): Fix bug: `run-python'
from Emacs >24.1 requires a python command as an argument.

Thanks to Myles English for raising this issue.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 23 Jan 2013 11:58:15 +0000 (12:58 +0100)]
Merge branch 'maint'

4 years agoorg-element.el (org-element-at-point): Fix typo in docstring
Bastien Guerry [Wed, 23 Jan 2013 11:58:09 +0000 (12:58 +0100)]
org-element.el (org-element-at-point): Fix typo in docstring

* org-element.el (org-element-at-point): Fix typo in docstring.

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 21:28:47 +0000 (22:28 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org-agenda.el

4 years agoorg-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited...
Bastien Guerry [Tue, 22 Jan 2013 21:27:56 +0000 (22:27 +0100)]
org-agenda.el (org-agenda-get-deadlines): Fix bug: use `org-agenda-show-inherited-tags'

* org-agenda.el (org-agenda-get-deadlines): Fix bug: use
`org-agenda-show-inherited-tags'.

Thanks to Kiwon Um for reporting this.

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 15:39:28 +0000 (16:39 +0100)]
Merge branch 'maint'

4 years agoorg-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline...
Bastien Guerry [Tue, 22 Jan 2013 15:39:23 +0000 (16:39 +0100)]
org-agenda.el (org-agenda-skip): Correctly handle commented out scheduled/deadline lines

* org-agenda.el (org-agenda-skip): Correctly handle commented
out scheduled/deadline lines.  Refactor.

Thanks to Rainer Stengele for reporting this and to Nick Dokos for
investigating further.  This fix will not slow down the agenda as checking
for a text property seems equally fast (and perhaps even slightly faster)
than checking the character after.

4 years agoorg.texi (Built-in table editor): Tiny enhancement
Bastien Guerry [Tue, 22 Jan 2013 15:03:19 +0000 (16:03 +0100)]
org.texi (Built-in table editor): Tiny enhancement

* org.texi (Checkboxes, Radio lists): Fix typos.

Thanks to Xue Fuqiao for pointing this.

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 15:01:01 +0000 (16:01 +0100)]
Merge branch 'maint'

4 years agoorg.texi (Checkboxes, Radio lists): Fix typos
Bastien Guerry [Tue, 22 Jan 2013 15:00:56 +0000 (16:00 +0100)]
org.texi (Checkboxes, Radio lists): Fix typos

* org.texi (Checkboxes, Radio lists): Fix typos.

4 years agoSmall typo correction
Samuel Loury [Mon, 14 Jan 2013 14:25:16 +0000 (15:25 +0100)]
Small typo correction

TINYCHANGE

4 years agoorg-agenda.el: Let-bind `org-time-clocksum-use-effort-durations' when checking clocks...
Bastien Guerry [Tue, 22 Jan 2013 14:53:14 +0000 (15:53 +0100)]
org-agenda.el: Let-bind `org-time-clocksum-use-effort-durations' when checking clocks and formatting items

* org-agenda.el (org-agenda-show-clocking-issues)
(org-agenda-format-item): Let-bind
`org-time-clocksum-use-effort-durations' to nil.

Thanks to Vincent Beffara for reporting this.

4 years agoorg.el: fix error message when C-u C-u C-c C-c on a list.
Bastien Guerry [Tue, 22 Jan 2013 14:22:17 +0000 (15:22 +0100)]
org.el: fix error message when C-u C-u C-c C-c on a list.

* org.el (org-ctrl-c-ctrl-c): Only throw a message when using
two universal prefix arguments on a list where all items are
already in a transitory state.  Refine the error when the
checkbox cannot be toggled.

Thanks to Robert Horn for reporting this.

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 13:25:56 +0000 (14:25 +0100)]
Merge branch 'maint'

4 years agoorg-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists
Muchenxuan Tong [Tue, 22 Jan 2013 13:14:08 +0000 (14:14 +0100)]
org-agenda.el (org-agenda-quit): Delete indirect buffer's window only when it exists

* org-agenda.el (org-agenda-quit): Delete indirect buffer's window
only when it exists.

When indirect buffer's window doesn't exist, the original logic will
delete the current window.

TINYCHANGE

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 13:08:44 +0000 (14:08 +0100)]
Merge branch 'maint'

4 years agoorg-install.el: Do not warn users.
Bastien Guerry [Tue, 22 Jan 2013 13:08:39 +0000 (14:08 +0100)]
org-install.el: Do not warn users.

* org-install.el: Do not warn users.

4 years agoMerge branch 'maint'
Bastien Guerry [Tue, 22 Jan 2013 12:57:57 +0000 (13:57 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org.el

4 years agoorg.el (org-adaptive-fill-function): Fix various bugs when filling in message-mode
Bastien Guerry [Tue, 22 Jan 2013 12:55:57 +0000 (13:55 +0100)]
org.el (org-adaptive-fill-function): Fix various bugs when filling in message-mode

* org.el (org-adaptive-fill-function): In message-mode, don't
lines in the message header, nor table lines in the body.
Correctly fill lines starting with `org-outline-regexp' in the
body.

4 years agoFix C-c C-c error when called on attributes attached to a plain list
Nicolas Goaziou [Mon, 21 Jan 2013 20:59:03 +0000 (21:59 +0100)]
Fix C-c C-c error when called on attributes attached to a plain list

* lisp/org.el (org-ctrl-c-ctrl-c): Fix error when called on attributes
  attached to a plain list.

4 years agoRevert "org-element: Change return value for element at point in some corner cases"
Nicolas Goaziou [Mon, 21 Jan 2013 20:06:34 +0000 (21:06 +0100)]
Revert "org-element: Change return value for element at point in some corner cases"

This reverts commit 13e49a63853b95e6033e3e3230dda0b824bc350a.

Conflicts:
lisp/org-element.el

4 years agoAllow C-c C-c to act on item anywhere on its first line
Nicolas Goaziou [Sun, 20 Jan 2013 22:44:10 +0000 (23:44 +0100)]
Allow C-c C-c to act on item anywhere on its first line

* lisp/org.el (org-ctrl-c-ctrl-c): Anywhere on the first line of an
  item, act on that item, provided no other object is found under the
  point.  Fix bug when function is called on a footnote definition
  attribute.

This is a convenience feature mimicing old behaviour, but it is an
aberration from the structure POV.

4 years agoMerge branch 'maint'
Nicolas Goaziou [Sun, 20 Jan 2013 08:50:32 +0000 (09:50 +0100)]
Merge branch 'maint'

Conflicts:
lisp/org-element.el

4 years agoorg-element: Improve some docstrings
Nicolas Goaziou [Sun, 20 Jan 2013 08:43:58 +0000 (09:43 +0100)]
org-element: Improve some docstrings

* lisp/org-element.el (org-element-parse-buffer, org-element-map,
  org-element-at-point, org-element-context): Be more verbose in
  docstrings.  Also fix typos.

4 years agoRewrite C-c C-c using Elements
Nicolas Goaziou [Wed, 16 Jan 2013 16:39:48 +0000 (17:39 +0100)]
Rewrite C-c C-c using Elements

* lisp/org.el (org-ctrl-c-ctrl-c): Rewrite function using Elements.

4 years agoorg-element: Change return value for element at point in some corner cases
Nicolas Goaziou [Sat, 19 Jan 2013 14:29:39 +0000 (15:29 +0100)]
org-element: Change return value for element at point in some corner cases

* lisp/org-element.el (org-element-at-point): When point is before any
  element, in the first blank lines of the buffer, return nil.  When
  point is within blank lines just after a headline, return that
  headline.
(org-element-context): Return nil when point is within the blank at
the beginning of the buffer.
* testing/lisp/test-org-element.el: Add tests.

4 years agoMerge branch 'maint'
Nicolas Goaziou [Sat, 19 Jan 2013 14:40:39 +0000 (15:40 +0100)]
Merge branch 'maint'

4 years agoorg-list: Fix bug when repairing checkbox with an ORDERED property
Nicolas Goaziou [Sat, 19 Jan 2013 14:37:16 +0000 (15:37 +0100)]
org-list: Fix bug when repairing checkbox with an ORDERED property

* lisp/org-list.el (org-list-struct-fix-box): When a checkbox has to
  be resetted because of a non-nil ORDERED property value, make sure
  it had a checkbox already.

4 years agoAllow special editing of SETUPFILE keywords again
Nicolas Goaziou [Wed, 16 Jan 2013 17:13:23 +0000 (18:13 +0100)]
Allow special editing of SETUPFILE keywords again

* lisp/org.el (org-edit-special): Fix regression.

4 years agoorg-export: Fix compilation for Emacsen <= 23
Nicolas Goaziou [Wed, 16 Jan 2013 16:42:36 +0000 (17:42 +0100)]
org-export: Fix compilation for Emacsen <= 23

* contrib/lisp/org-export.el (org-export-async-start): Fix compilation
  for Emacsen <= 23.

4 years agoMerge branch 'maint'
Bastien Guerry [Wed, 16 Jan 2013 17:36:33 +0000 (18:36 +0100)]
Merge branch 'maint'

4 years agoorg-agenda.el (org-agenda-open-link): Fix bug with opening all links
Bastien Guerry [Wed, 16 Jan 2013 17:36:29 +0000 (18:36 +0100)]
org-agenda.el (org-agenda-open-link): Fix bug with opening all links

* org-agenda.el (org-agenda-open-link): Fix bug with opening
all links.

Thanks to Ingo Lohmar for pointing this.

4 years agoorg-e-odt: Silence byte-compiler
Nicolas Goaziou [Mon, 14 Jan 2013 19:52:21 +0000 (20:52 +0100)]
org-e-odt: Silence byte-compiler

* contrib/lisp/org-e-odt.el (org-e-odt--export-wrap):
  `org-conditon-case-unless-debug' has been removed since
  e8f5b0ad72da990ed7d409c06dbe0bcadeb226dd.

4 years agoMerge branch 'maint'
Bastien Guerry [Mon, 14 Jan 2013 17:05:15 +0000 (18:05 +0100)]
Merge branch 'maint'

4 years agoorg-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'
Tokuya Kameshima [Mon, 14 Jan 2013 17:04:31 +0000 (18:04 +0100)]
org-agenda.el (org-search-view): Fix checking `org-agenda-show-inherited-tags'

* org-agenda.el (org-search-view): Fix checking
`org-agenda-show-inherited-tags'.

TINYCHANGE

4 years agoMerge branch 'master' of orgmode.org:org-mode
Bastien Guerry [Mon, 14 Jan 2013 08:36:00 +0000 (09:36 +0100)]
Merge branch 'master' of orgmode.org:org-mode

4 years agoRevert "Compatibility: Use org-define-obsolete-{function,variable}-alias"
Bastien Guerry [Mon, 14 Jan 2013 08:34:07 +0000 (09:34 +0100)]
Revert "Compatibility: Use org-define-obsolete-{function,variable}-alias"

This reverts commit 8fcdb5179bbe172b52dd80101efe247de9fe1ac2.

4 years agoorg-export: Change dispatcher keys and improve UI
Jambunathan K [Sun, 13 Jan 2013 18:53:22 +0000 (00:23 +0530)]
org-export: Change dispatcher keys and improve UI

* contrib/lisp/org-export.el (org-export-dispatch-ui,
org-export-dispatch-action): Set export options via control keys.  UI
changes.