Commit graph

2638 commits

Author SHA1 Message Date
Carsten Dominik 0864163024 Release 6.29c 2009-08-06 06:26:23 +02:00
Carsten Dominik c069ebe327 Minor fixes
Patch by Samuel Wales.
2009-08-06 06:23:49 +02:00
Carsten Dominik c7d91cbc0e Fix parenthesis bug in org-checklist.el
Patch by Christopher Suckling.
2009-08-06 00:29:27 +02:00
Carsten Dominik 8eba33958f LaTeX export: Fix export problems when exporting a region
Dan Griswold writes:

> Hi there,
>
> Well, I think this a bug.
>
> Given this org input file:
>
> ,----
> | * Things
> | ** A Heading
> |    - some
> |    - stuff
> |    - in
> |    - a
> |    - list
> | ** Another heading
> |    - another
> |    - list
> `----
>
> then if I select the level one heading (titled "Things")
> with C-c @, and export to LaTeX using C-c C-e l, I get this
> output:
>
> ,----
> | % Created 2009-07-29 Wed 20:24
> | \documentclass[12pt]{article}
> | \usepackage[utf8]{inputenc}
> | \usepackage[T1]{fontenc}
> | \usepackage{graphicx}
> | \usepackage{longtable}
> | \usepackage{hyperref}
> |
> |
> | \title{Things}
> | \author{Daniel M. Griswold}
> | \date{July 29, 2009}
> |
> | \begin{document}
> |
> | \maketitle
> |
> | ** A Heading
> | \begin{itemize}
> | \item some
> | \item stuff
> | \item in
> | \item a
> | \item list
> | \end{itemize}
> | ** Another heading
> | \begin{itemize}
> | \item another
> | \item list
> | \end{itemize}
> |
> | \end{document}
> `----
>
> Note that the top level headings ("A Heading" and "Another
> Heading") are not exported as \section, but with the
> asterisks they have in the org file:
>
> ,----
> | ** A Heading
> | \begin{itemize}
> |
> |   ... snip ...
> |
> | \end{itemize}
> | ** Another heading
> `----
>
> Exporting the whole file does what it's supposed to do:
> export the headlines as \section and \subsection.

This commit fixes the issue.
2009-08-05 18:18:35 +02:00
Carsten Dominik 00658851ec Remove invalid -E option from dvipng call 2009-08-05 17:53:39 +02:00
Carsten Dominik b3e7b992f8 Minor changes 2009-08-05 17:02:42 +02:00
Carsten Dominik e40370e810 Make #+BIND work correctly, and ask the user to confirm using BIND. 2009-08-05 16:30:02 +02:00
Carsten Dominik 8cd94ce203 Export: Fix bug with #+BIND 2009-08-05 14:43:55 +02:00
Carsten Dominik d6b37ddbea Release 6.29b 2009-08-05 12:34:30 +02:00
Carsten Dominik e5158d35e4 Fix more refile bugs 2009-08-05 12:32:56 +02:00
Carsten Dominik 0728025585 Refile: Fix horrible bug
This bug would make refiling complain about the tree not being a tree
unless the *previous* content of the tree was a tree.  Pretty bad....
2009-08-05 12:08:42 +02:00
Carsten Dominik 386e0dcef6 Fix copyright assignment in org-protocol.el 2009-08-05 00:59:09 +02:00
Carsten Dominik 1c25048e48 Release 6.29a 2009-08-04 23:54:22 +02:00
Carsten Dominik f22be634d2 Fix table mapping 2009-08-04 23:53:41 +02:00
Carsten Dominik d67a9be8a2 Release 6.29 2009-08-04 23:06:39 +02:00
Carsten Dominik 8ab6df8742 Document changes in the 6.29 release 2009-08-04 22:46:19 +02:00
Carsten Dominik babd053bd6 Fix bulk agenda processing with parents and children in the loop
Bernt Hansen writes:

> Every so often I run into a situation where bulk refiling
> doesn't work anymore.
>
> I currently have 15 items in my refile.org file that I want
> to refile to other locations.  I marked a few of them and
> bulk refiled them just fine.  Then I marked a few more and B
> r fails with "Cannot find entry for marker #<marker at
> 297156 in norang.org>"
>
> I think this happens when I mark multiple tasks in the same
> subtree (i.e. the parent and a sibling) and refile both to
> the same location.  After that it gets confused.
>
> If I have a task like this in refile.org
>
> #+FILETAGS: REFILE
> * Test
> ** Test 2
>
> and run a tags match on REFILE I see both tasks.  Mark both
> with m in the agenda and B r to some other location.  It
> refiles the first (and this moves the sibling too) and then
> it's broken after that.
>
> I get the following backtrace
>
> Debugger entered--Lisp error: (error "Cannot find entry for
> marker #<marker at 297156 in norang.org>")

Indeed the happens because, when a parent gets refiled or
achieved, any entries corresponding to its children are
removed from the agenda.

We address this issue by

- sorting the markers, to make sure parents will be handled
  before children

- No longer throwing an error when a bulk action entry no
  longer is present in the agenda - most likely it was taken
  care of together with its parent.
2009-08-04 22:46:08 +02:00
Carsten Dominik 064c7976cf Minor refile fixes 2009-08-04 18:38:14 +02:00
Carsten Dominik 22cb84f74d Allow normal lists completion also when using ido.el
Gregory Grubbs writes:

> When exporting a table with ido-mode active, an error is
> raised in org-ido-completing-read.  I think
> ido-completing-read is being called with incorrect
> arguments, but the fix is beyond me.
>
> Steps to reproduce the error:
> Org-mode version: 6.28trans
> Emacs version: GNU Emacs 23.0.91.1 (i486-pc-linux-gnu, GTK+ Version
> 2.16.0) of 2009-04-05 on palmer, modified by Debian
>
>
> Turn on ido-mode: M-x ido-mode RET
> visit a file using C-x C-f /tmp/test.org RET
> Create a simple table:
> |column a|column b|
> |-
> |one|two|
> |three|four|
>
> Org-magic-tabelize it by hitting TAB somewhere in a column
>
> M-x org-table-export RET /tmp/test.csv
>
> Here's the backtrace I get:
>
> Debugger entered--Lisp error: (wrong-type-argument listp "orgtbl-to-tsv")

This error is due to the fact that org-ido-completing-read does
convert alists to flat lists for completion.  Now we check if the list
really is an alist before converting it.
2009-08-04 17:15:40 +02:00
Carsten Dominik f322206708 Fix parenthesis error in footnote export code 2009-08-04 16:46:34 +02:00
Carsten Dominik eef99e9abd Doc fixes for publishing to source directory 2009-08-04 16:09:03 +02:00
Carsten Dominik 73b6d73aef Minor fix 2009-08-04 13:10:36 +02:00
Carsten Dominik 0d9f114f3b Fix a bug in the advice on outline-end-of-subtree 2009-08-04 10:38:40 +02:00
Carsten Dominik 2ec01a800f Fix cycling bug. 2009-08-04 10:22:08 +02:00
Carsten Dominik a4a8bd2d07 Cycling: Fix bug
The first cycle command on a line did not work correctly, to always
switched to FOLD.  This was due to an error in new, faster code to
find the next visible line.
2009-08-04 08:27:41 +02:00
James TD Smith cd70915e26 Add an option to sort tags automatically. 2009-08-04 07:54:46 +02:00
Carsten Dominik 2eecb4c43c Fix white-space errors 2009-08-03 17:30:30 +02:00
James TD Smith c65fb88796 Bugfixes, documentation and custom options for org-checklist.
* contrib/lisp/org-checklist.el
  - Fix some problems with the print/export feature in org-checklist.
  - Add custom options for this module
  - Fix some interaction with a2ps
  - Only reset checkboxes if TODO state is done.

* lisp/org.el
  - Add org-checklist to org-modules
2009-08-03 16:45:47 +02:00
Carsten Dominik 5dbc23baed Keep compiler happy 2009-08-03 13:28:24 +02:00
Carsten Dominik ee7d1c76fd Fix parenthesis bug in org-exp.el 2009-08-03 12:18:14 +02:00
Carsten Dominik 6a722e5d2e Do not record undo information when adding/remove text properties
When this is done inside org-unmodified, undo information is not recorded.
2009-08-03 11:03:37 +02:00
Carsten Dominik 487f187c19 More minor fixes to org-indent-mode 2009-08-03 10:25:11 +02:00
Carsten Dominik 65cb546662 Minor fixes to `org-indent-mode'. 2009-08-03 10:11:38 +02:00
Carsten Dominik f3345d280e Minor fix 2009-08-03 07:51:01 +02:00
Carsten Dominik 6062cef1c6 Allow export of tables from temporary buffers without a file
Gregory Grubbs writes:

I like to make org-mode tables in arbitrary buffers, then
save them as CVS files. The export fails when done from a
buffer with no associated file.

Here's a little patch that allows exporting a table from
any buffer (org-mode version 6.28trans):
2009-08-03 07:42:40 +02:00
Carsten Dominik 31ceed47ff New minor mode org-indent-mode
This mode implements outline indentation similar to clean view, but in
a dynamic and virtual way, at display time.
2009-08-03 06:24:24 +02:00
Carsten Dominik 7cb52cfb7e Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:
	lisp/ChangeLog
	lisp/org-exp.el
	lisp/org.el
2009-08-02 23:50:13 +02:00
Bastien Guerry 47994f66d2 Fix "Not on a heading" error when setting priority inside a task
Changing the priority of a task when the point is after the heading
(anywhere inside the task) worked but aligning the tags failed with
a "not on a heading" error due to the save-excursion not including
the tag alignment.  This change moves back to the heading and
includes that during tag alignment to remove the error text.

Patch by Bernt Hansen.
2009-08-03 03:03:43 +08:00
Bastien Guerry 052f6e334d (org-occur): Sends an error when the user inputs an empty string.
Patch by Bernt Hansen.
2009-08-03 02:58:41 +08:00
Bastien Guerry e05c4511af org.el (org-adapt-indentation): Slightly improve the docstring.
Make it clear that "a line starting a column 0" means a line starting
with some text at column 0.
2009-08-03 02:38:09 +08:00
Bastien Guerry fa0ab63be6 Use file-source.org format instead of file.org-source.
This was reported by Hsiu-Khuern Tang.
2009-08-03 02:28:34 +08:00
Carsten Dominik eac9708097 Fix typo 2009-08-02 20:08:40 +02:00
Carsten Dominik a93815c686 Menu entry for `org-occur-link-in-agenda-files' 2009-08-02 15:56:58 +02:00
Carsten Dominik d8732b3938 Doc fixes 2009-08-02 15:51:59 +02:00
Carsten Dominik 98998abc0d ID links: Honor `org-link-frame-setup'. 2009-08-02 15:51:26 +02:00
Carsten Dominik 34683b03e0 Column view: Improve documentation on column view for the whole file 2009-08-02 15:25:14 +02:00
Carsten Dominik 7151414aeb Fix file name for source export
Hsiu-Khuern writes:

> Hi all,
>
> The footnote at the bottom of section 13.1.4 ("Publishing
> action") of the Org manual says that publishing org files to
> the same directory using org-publish-org-to-org results in
> files named like file-source.org.  It actually results in
> file.org-source, which is not as nice.  I believe the
> problem is in the org-export-as-org function in org-exp.el.
2009-08-01 23:44:11 +02:00
Carsten Dominik 9f9f2de7d2 Full headline matching cleanup
Write \n instead of \xa in the regexp, this is clearer.
And make the \n optional so that also lines at the end of
the buffers will still be matched as headlines.
2009-08-01 23:36:16 +02:00
Carsten Dominik 8d0acabf2d Modify Bastien's emphasis in verse fix
Instead of making the postmatch optional, we allow backslash in the
postmatch string, so that the match will work before an explicit line
break "\\".
2009-08-01 23:32:28 +02:00
Carsten Dominik 42a5312a57 Read date: Force calendar into current frame 2009-08-01 23:21:49 +02:00