1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-29 07:58:21 +00:00
Commit Graph

9012 Commits

Author SHA1 Message Date
Michael Brand
68cc108759 Completion of remapping for Outline functions
* lisp/org.el Key bindings: remap the Outline functions from
`outline-mode-prefix-map' where possible.
2011-12-11 19:43:53 +01:00
Christian Moe
ce8227e295 Correct html export of todo keywords
* org-html.el (org-export-as-html): Apply
  `org-export-html-get-todo-kwd-class-name' to the class
  attribute of the todo-keyword span tag, not to its text content.

The problem was that special characters in todo keywords were being
replaced by underscore. This was meant to happen to the class
attributes set around them.

TINYCHANGE

This only swaps two arguments to a concat.
2011-12-11 18:56:27 +01:00
Sebastien Vauban
bfe779fe67 Add faces for "calendar events" (active timestamps, or S-expressions).
* org-agenda.el (org-agenda-get-timestamps)
	(org-agenda-get-sexps): Use face for highlighting "calendar"
	events.

	* org-faces.el: Add faces `org-agenda-calendar-event' and
	`org-agenda-calendar-sexp'.
2011-12-11 18:46:28 +01:00
Peter Münster
0472ccdc99 Timestamps: Fix org-schedule and org-deadline with absolute time arguments
* lisp/org.el (org-add-planning-info): Treat absolute time too.

TINYCHANGE
2011-12-11 18:44:00 +01:00
Bastien Guerry
283fa3e38d * org-table.el (org-table-transpose-table-at-point): Don't use ̀remove-if-not'.
* org-table.el (org-table-transpose-table-at-point): Don't use
̀remove-if-not'.

Thanks to Achim Gratz for spotting this.
2011-12-11 18:38:45 +01:00
Dave Abrahams
4a8be63ac6 org-clock.el: Check the clock buffer is existing when clocking out.
* org-clock.el (org-clock-out-if-current): Check the clock
buffer is existing.

TINYCHANGE
2011-12-11 18:25:58 +01:00
Bernt Hansen
0151120b1b Fix marker in no buffer error for task state change in an indirect buffer
* lisp/org-clock.el (org-clock-out-if-current): Fix marker in no buffer error
  for task state change in an indirect buffer

org-clock-out-when-current was enhanced in 098cf35 (Clock: Clock out
when done also in indirect buffers, 2009-03-23) to handle indirect
buffers.

This enhancement uses (buffer-base-buffer (org-clocking-buffer)) but
when not clocking (org-clocking-buffer) returns nil - so
buffer-base-buffer returns the base buffer of the current buffer which
is never nil.  This leads to marker in no buffer errors trying to stop
the clock when it is not running.

Now we explicitly check up front that the clock is running before
any other conditions that lead to stopping the clock.
2011-12-11 18:22:06 +01:00
Michael Brand
2091083323 Bugfix open 1 link from list; doc more link types
* doc/org.texi (External links): Document the link types file+sys and
file+emacs, slightly narrow used page width.
* lisp/org.el (org-offer-links-in-entry): Make list when assigning a
single link.

"M-1 C-c C-o" or (org-open-at-point 1) or (org-offer-links-in-entry 1)
on a headline followed by two links enters Lisp error.  Both changes
are remainders of the commit release_6.33f-189-g3e0c61d.
2011-12-11 18:18:40 +01:00
Eric Schulte
8a8a56c277 remove #+name and #+result hiding
Given that arbitrary regions may already be hidden using a drawer the
ability to hide any named entity is redundant.  In addition the name
based hiding does not mix well with other keywords.

Thanks to Nicolas Goaziou for raising this issue and suggesting the
removal of #+name based hiding.
2011-12-11 09:51:28 -07:00
Eric Schulte
1b58f780cf faster method of collecting continuing code blocks
* lisp/ob.el (org-babel-expand-noweb-references): Rather than collect
  the info from *every* block in the current buffer, simply regexp
  search for those blocks which appear to match the continued source
  name.
2011-12-11 09:51:28 -07:00
Eric Schulte
a706d16127 wrap code block results in drawers rather than blocks
* lisp/ob.el (org-babel-insert-result): Do not examplize wrapped
  scalar results, simply wrap them.
  (org-babel-result-end): Find the end of results wrapped in a RESULTS
  drawer.
2011-12-11 09:51:27 -07:00
Bastien Guerry
cd447fa11d Make org-todo-yesterday' call org-agenda-todo-yesterday' if necessary.
* org.el (org-todo-yesterday): When called from the agenda,
use `org-agenda-todo-yesterday' instead.
2011-12-11 17:52:10 +01:00
Bastien Guerry
b67b6b7844 New command: `org-table-transpose-table-at-point'.
* org-table.el (org-table-transpose-table-at-point): New
command.

Thanks to Juan Pechiar for this function.
2011-12-11 17:34:37 +01:00
Paul M. Rodriguez
bf25b68915 Rewrite of contrib/lisp/org-velocity.el.
From the author: "This is a rewrite of Org-Velocity for speed. Delays due
to file size should no longer be perceptible. I have also added in-line
previews of entry contents and dropped support for Org-Remember."
2011-12-11 17:14:09 +01:00
Bastien Guerry
b7f5efdc4e New option `org-export-html-headline-anchor-format'.
* org-html.el (org-export-html-headline-anchor-format): New
option.
(org-html-level-start): Use the new option.

This was requested by Alan L Tyree.
2011-12-11 16:50:05 +01:00
Bastien Guerry
8af710c41c Add a commentary: how to test org-e-latex.el. 2011-12-11 16:33:34 +01:00
Bastien Guerry
df6b7be939 Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-e-latex.el.
This prevents a namespace conflict with lisp/org-latex.el.  By
convention, new exporters in EXPERIMENTAL/ will share the org-e-*
prefix.
2011-12-11 16:23:09 +01:00
Rob Giardina
a42be4b0c0 Fix quoting in org-agenda-with-point-at-orig-entry.
* org-agenda.el (org-agenda-with-point-at-orig-entry): Small
bugfix.

TINYCHANGE
2011-12-11 14:47:25 +01:00
Bastien Guerry
58d5fb1d5d Minor example fix.
Thanks to Dov Grobgeld for spotting this.
2011-12-11 14:25:16 +01:00
Christian Moe
78ad6961ae Special blocks: Make well-formed HTML
* org-special-blocks.el
(org-special-blocks-convert-html-special-cookies): Close paragraph
before opening or closing the <div>, and open paragraph after. Also
changed newline placement to be the same as for other blocks.

The problem was that special blocks did not produce well-formed HTML
because they  wrapped the opening and closing
<div> tags in <p> tags.

TINYCHANGE

This patch only borrows a few lines from the handling of `CENTER'
blocks in org-export-as-html.
2011-12-11 14:11:05 +01:00
Bastien Guerry
7a513b2c00 New option `org-table-formula-field-format'.
Format for fields which contain the result of a formula.
For example, using \"~%s~\" will display the result within tilde
characters.  Beware that modifying the display can prevent the
field from being used in another formula.

Based on an idea of Dov Grobgeld.
2011-12-11 14:05:13 +01:00
Bastien Guerry
c09b919630 Merge branch 'master' of orgmode.org:org-mode 2011-12-11 13:53:23 +01:00
Roberto Huelga
a39328cddf Make the function `org-program-exists' work on osx.
* org-clock.el (org-program-exists): Make the function
compatible with darwin systems.
2011-12-11 13:50:36 +01:00
Nicolas Goaziou
4e36b533e0 Code indentation fix (tabify) 2011-12-11 11:20:11 +01:00
David Maus
bc607a9af4 Avoid erroneous normalization of bracket link parts
* org-exp.el (org-export-normalize-links): Mark bracket links before
normalization to avoid erroneous normalization of bracket link parts.

This fixes a bug reported by M. Bauer at
<http://thread.gmane.org/gmane.emacs.orgmode/49756> and allows proper
normalization of bracket links with a link in the query part, e.g.

[[http://example.tld?q=http://example.tld][Example]]
2011-12-11 10:53:14 +01:00
Jambunathan K
ebd450a170 org.texi (Custom Table Styles - An Illustration): New node
Also improve various menus.
2011-12-11 14:08:28 +05:30
Jambunathan K
cbd4bd7bdb org.texi (Validating OpenDocument XML): New node 2011-12-11 04:34:29 +05:30
Jambunathan K
baae11d38c org-odt.el (org-export-odt-schema-dir): Modified 2011-12-11 02:04:28 +05:30
Jambunathan K
ff99056baf Makefile (PKG_FILES) : Include etc/
Also fix all byte-compiler warnings in org-lparse.el and org-odt.el.
2011-12-11 02:02:33 +05:30
Litvinov Sergey
e6377a8295 Add string input variables to ob-octave.el. Add tests for ob-octave.el 2011-12-10 06:12:29 -07:00
Jambunathan K
69aa8884ed org.texi: Improve ODT section 2011-12-10 18:13:30 +01:00
Jambunathan K
dc9e33b0a5 org.texi: Improve ODT section 2011-12-10 18:13:26 +01:00
Jambunathan K
57185cc6d9 org.texi: Improve ODT section 2011-12-10 18:13:23 +01:00
Jambunathan K
11af1b1678 org.texi: Refine ODT section 2011-12-10 18:13:20 +01:00
Jambunathan K
4ab52c962f doc/org.texi: Update ODT section 2011-12-10 18:13:17 +01:00
Jambunathan K
23358285a4 Add copyright and license info for files in etc/styles/ 2011-12-10 18:13:14 +01:00
Jambunathan K
aed0b90ce7 org-odt.el: Misc changes to reflect change in dir layout
* lisp/org-odt.el (org-odt-data-dir): Removed.
(org-odt-styles-dir, org-export-odt-schema-dir): New
variables.
2011-12-10 18:13:10 +01:00
Jambunathan K
9ed283b15a Makefile (LISPF): Add org-lparse.el and org-odt.el
Also update dependencies.
2011-12-10 18:13:06 +01:00
Jambunathan K
f9da5ca54a org-exp.el: s/OpenDocumentText/OpenDocument Text/ 2011-12-10 18:13:03 +01:00
Jambunathan K
0e859c62b5 org.el (org-modules): odt is no longer a contrib module 2011-12-10 18:12:58 +01:00
Jambunathan K
6aef72be12 Move org-lparse.el and org-odt.el to the main lisp dir 2011-12-10 18:12:53 +01:00
Jambunathan K
9c14e3d95e Move contrib/odt/styles/*.xml to etc/styles 2011-12-10 18:12:48 +01:00
Bastien Guerry
b5e15d6fbc Delete org-export.el, org-mw.el and org-mm.el.
org-export.el conflicts with contrib/lisp/org-export.el and the
two org-mw.el org-mm.el don't work without it.  A rewrite of these
experimental exporters using Nicolas' org-export.el is necessary.
2011-12-10 17:58:20 +01:00
Bastien Guerry
03066dab8b Revert "Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el"
This reverts commit a75e29ca5b.
2011-12-10 17:38:36 +01:00
Bastien Guerry
4dfc520711 UTILITIES/man*: Fix bug: don't insert </style> 2011-12-10 13:46:50 +01:00
Bastien Guerry
a75e29ca5b Rename EXPERIMENTAL/org-latex.el to EXPERIMENTAL/org-latex-old.el
This is necessary to prepare release 7.8.
2011-12-10 12:49:54 +01:00
Carsten Dominik
4a48a04905 Merge branch 'master' of orgmode.org:org-mode 2011-12-09 23:23:07 +01:00
Carsten Dominik
8b7f27959c Add the binding for org-table-wrap-region to orgtbl-mode 2011-12-09 23:22:56 +01:00
Nicolas Goaziou
da566e9fe2 EXPERIMENTAL/org-latex: Fix bug in table transcoding
* EXPERIMENTAL/org-latex.el (org-latex-table): Fix confusion between
  communication channel and table information plists.
2011-12-07 21:03:05 +01:00
Nicolas Goaziou
b377e54c6a contrib/lisp/org-export: Extract more properties from tables
* contrib/lisp/org-export.el (org-export-table-format-info): Extract
column width and and row groups.
2011-12-07 20:49:10 +01:00