Commit Graph

1765 Commits

Author SHA1 Message Date
Carsten Dominik e2371c542b Tables: Document use of C-c RET add hline and then move below it. 2009-01-21 13:14:07 +01:00
Carsten Dominik ef6e226d0f Website: Make time stamps in News section work. 2009-01-21 10:43:46 +01:00
Carsten Dominik 5f814319eb Release 6.18c 2009-01-21 10:34:03 +01:00
Carsten Dominik d164a22da6 Release 6.18a 2009-01-21 10:24:46 +01:00
Carsten Dominik c5338b69d7 LaTeX export: Properly protect entire LaTeX environments
LaTeX environments should be left as they are, fully protected.
There was a regular expression error in the code doing this.
2009-01-21 10:23:49 +01:00
Bernt Hansen f7e39a5ca7 org-remember: Ignore gnus link if not on a message
This allows you to use org-remember in any gnus buffer - even when
not on a location that will create a usable link.  Instead of
failing with the error "Not on a group" just create a remember
note with no link instead.

This makes org-remember more user-friendly - we don't have to
change buffers to a non-gnus buffer to create a remember note.
2009-01-20 11:28:45 -05:00
Carsten Dominik 92aaa90466 Website: Update the new section. 2009-01-20 13:32:44 +01:00
Carsten Dominik 5044fceb92 Credits. 2009-01-20 10:39:16 +01:00
Carsten Dominik b76b28f2a7 Release 6.18 2009-01-20 10:23:26 +01:00
Carsten Dominik 70099303bf Fixing minor issues. 2009-01-20 10:10:15 +01:00
Carsten Dominik 0e46dc3f9c LaTeX Export: Allow class definition in property
When exporting a region starting with a headline, a LaTeX_CLASS
property in that entry will be honored.

Requested by Robert Goldman.
2009-01-20 09:07:35 +01:00
Carsten Dominik 0ce821c5c4 LaTeX export: Make quotes exported right before a footnote reference.
Matt Lundin writes:

    I'm have a *minor* issue to report. It occurs when I export
    an org file with footnotes to LaTeX. Specifically, it has to
    do with the combination of American style quotation marks
    and footnotes.

    According to many American manuals of style, quotation marks
    are to be placed after a sentence ending period if the
    quoted passage is at the end of the sentence. E.g.

    ,----
    | Here is "a quote."
    |
    | not
    |
    | Here is "a quote".
    `----

    When I use American style quotation in conjuction with a
    footnote, the exporter does not convert the closing quote
    marks into a two single quotation marks (i.e., LaTeX smart
    quotes).

    Thus, the following source snippet:

    ,----
    | This is a footnote "with a quote."[fn:sample] And here
    |  is another footnote "with a quote".[fn:another]
    |
    | [fn:sample] Here is the sample footnote.
    |
    | [fn:another] Another footnote.
    `----

    Becomes

    ,----
    | This is a footnote ``with a quote."\footnote{Here is
    |    the sample footnote. } And here is another footnote ``with
    |  a quote''.\footnote{Another footnote. }
    `----

    Notice the double quotation mark (rather than two single
    apostrophes) at the end of the first sentence. Notice also
    the correct quotation mark format appears in the second
    sentence, where the period comes after the quotation mark.

This commit addresses this issue by checking of text
protection is off not after the quotation mark, but before.
2009-01-20 08:26:44 +01:00
Carsten Dominik 1097db056e Documentation: Small fixes. 2009-01-20 08:21:50 +01:00
Carsten Dominik f65165e027 Manual: Add link examples for text search and IDs.
Patch by Daniel Clemente.
2009-01-19 23:48:14 +01:00
Carsten Dominik ff85ca95db Export: Optionally use <textarea> for example export.
Examples and src block can now be exported as <textarea> elements to
HTML if this is desired.  See the documentation for more details.
2009-01-19 23:13:58 +01:00
Carsten Dominik 0405dde8ef Footnotes: Avoid matches in links.
Reported by Ian Barton.
2009-01-19 16:15:12 +01:00
Carsten Dominik bc530157aa Export: Keep relative path to image relative also after LaTeX export.
Reported by Manish.
2009-01-19 15:59:03 +01:00
Carsten Dominik e76dd96fce Bugfix: No "language" attribute in <script> tag.
Reported by Sebastian Rose.
2009-01-19 14:30:42 +01:00
Carsten Dominik ab310f9405 Website: Improve reading experience of the manual
The manual now used better the org.css file.  It also reacts to single
key presses like "n" and "p", and has a top-level table of contents
that is always active and visible.
2009-01-19 12:45:20 +01:00
Carsten Dominik 9aa72230a2 Agenda: Allow typing a question mark in an agenda query string
Reported by Paul R.
2009-01-19 10:40:38 +01:00
Carsten Dominik be6c0959bb Attachments: Allow user-chosen directory and inheritance
The directory used for attachments to an entry is by default chosen
automatically, with a name derived from the entry ID to make sure it
is unique.

However, in some cases it may be better to assign a user-chosen
directory to and entry, to be used for attachments.  This commits
implements this change.  See the documentation changes for information
on how things work.

Thanks to Jason Jackson for pushing this part.

The second change made bu this commit is that it is now possible to
inherit the attachment directory from a parent, so that an entire
project subtree can use a single directory.
2009-01-19 08:42:38 +01:00
Carsten Dominik 33897c104b Bugfix: Use `window-full-width-p' correctly. 2009-01-18 21:21:29 +01:00
Carsten Dominik 0fc00e41ea Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-01-18 19:48:56 +01:00
Carsten Dominik 03d324ac2b Export: Better detection of images that can be inlined.
Two new variables, `org-export-html-inline-image-extensions' and
`org-export-latex-inline-image-extensions' now define the file
extensions that will be considered for inlining images.  The default
for HTML is png, jpg, jpeg, and gif files.  The default for LaTeX is
png, jpg, jpeg, and pdf, assuming processing with `pdflatex'.

For LaTeX export, this can lead to conflicts for links that point
to non-image PDF files.  To avoid that such a link will be inlined by
accident, always give a description text for such a link, one that is
not equal to the path.
2009-01-18 19:14:10 +01:00
Bastien Guerry 430b29d8f5 doc/org.texi: reformulate sentence about adding a CATEGORY property. 2009-01-18 13:32:08 +01:00
Carsten Dominik eb48600495 Documentation: Reiterate that global keys must be assigned by user. 2009-01-18 08:30:12 +01:00
Carsten Dominik 19421c2513 Agenda: Make block separator configurable.
The new option `org-agenda-block-separator' can be used for this.
2009-01-18 08:22:18 +01:00
Carsten Dominik fd82530eed Include changes from downstream Emacs.
Glenn Morris and Juanma Barranquero have fixed typos and more.
2009-01-18 08:12:12 +01:00
Bastien Guerry 8afd8964f1 doc/org.texi: Fix typo. 2009-01-18 02:00:38 +01:00
Bastien Guerry 272e1754d8 doc/org.texi: Fixed typos.
This typos were reported by Peter Tury on Emacs mailing list.
Message-Id: handler.1944.B.123223681425565@emacsbugs.donarmstrong.com
2009-01-18 01:58:36 +01:00
Carsten Dominik fee4492f57 Export: Fix bug with LaTeX export of tables.
The special first column in some tables was not removed for LaTeX
export.  This bug was probably introduces recently, while trying to
fix problems with special characters in LaTeX tables.
Export is now working again properly.

Reported by Giovanni Ridolfi.
2009-01-17 15:07:10 +01:00
Carsten Dominik a4244d5783 org-depend.el: Set a tag when a state change is blocked.
So far there was no visible indication when a state change was blocked
by a dependence on another task.  Now the tag "blocked" will be set.
2009-01-17 08:58:11 +01:00
Carsten Dominik 3430fe4261 Manual: Point out that activation is needed. 2009-01-16 19:46:48 +01:00
Carsten Dominik 1edd9d0cc6 Plotting: Fix histogram plotting.
William Henney writes:

     The following table works correctly with org-plot
    #+PLOT: title:"org-plot test" ind:1 type:2d with:hist set:"style fill
    solid" set:"yrange [0:]"
     |  Year | a | b |
     |-------+---+---|
     | x2006 | 3 | 1 |
     |  2007 | 1 | 2 |
     |  2008 | 2 | 0 |

     However, if the "x" is removed from the start of all the years, it no
     longer works:

    #+PLOT: title:"org-plot bug" ind:1 type:2d with:hist set:"style fill
    solid" set:"yrange [0:]"
     | Year | a | b |
     |------+---+---|
     | 2006 | 3 | 1 |
     | 2007 | 1 | 2 |
     | 2008 | 2 | 0 |

     From glancing through org-plot.el, it seems as though the problem is
     that the text-ind parameter is false when all the values in the
     "independent variable" column are legal numbers. However, my lisp
     skills are not up to fixing this.

This patch is by Charles Sebold and Eric Schulte fixes the problem.
2009-01-16 19:43:33 +01:00
Carsten Dominik af62bbd44c Documentation: Remove incorrect description of C-c C-q in tables.
Reported by Matt Lundin.
2009-01-16 18:50:30 +01:00
Carsten Dominik b95178f38e Column View: Catch it when a date property does not have allowed values defined.
When a property for column view is supposed to contain a date, not
defining allowed values could lead to an obscure error message.  This
is now improved.

Reported by Charles Cave.
2009-01-16 12:50:09 +01:00
Carsten Dominik 8cb1d66f86 Mapping: Restore point and restriction in current buffer.
Daniel Clemente writes:

    Hi. After you eval this (for instance to count the number of
    headlines under a tree):

     (org-map-entries 'ignore t 'tree)

    you end up with a different view of the buffer
    because (org-narrow-to-subtree) was called. This seems an
    unwanted side effect since narrowing is not org-map-entries' job.

     Should (save-excursion) be used inside (org-map-entries
    ... 'tree) ?

He is right, and save-restriction is needed as well.  This is
what this commit implements.
2009-01-14 21:22:37 +01:00
Bernt Hansen d075718333 Call org-reveal after archiving
Sometimes archiving a task displays the next task heading after ... at the
end of a folded task.  This keeps the next task the cursor is on starting
in column 1 which feels more natural.
2009-01-13 19:03:08 -05:00
Bernt Hansen 6de54f877d Bugfix: Functions were renamed so rename the callers too
Rename functions missed in commit 1371205.

Changing timestamps for the currently clocked task generated the
following error:

org-clock-update-time-maybe: Symbol's function definition is void: org-update-mode-line
2009-01-13 07:41:43 -05:00
Carsten Dominik 96fc9ba4bd Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-01-13 10:35:04 +01:00
Carsten Dominik bc8a90da1d Bugfix: Make sure property time comparison works correctly.
Hsiu-Khuern Tang writes:

    I find that doing a tags search for SCHEDULED or DEADLINE turns
    up headings that do not have any schedule or deadlines.

    Using the example from
    http://article.gmane.org/gmane.emacs.orgmode/10274:

    #+SEQ_TODO: NEXT WAITING | DONE
    #+STARTUP: overview

    * DONE Test1
       CLOSED: [2009-01-07 Wed 12:26]

    * NEXT Test2
       DEADLINE: <2009-01-28 Wed>

    * Test3

    If I type

       C-c \ +DEADLINE<="<2009-01-28>" <RET>

    all three headlines are selected!  I expected to match the second
    headline only.

Indeed, this exposes an error in the time comparison functions
which would take a empty time stamp to mean 0.  This commit does
fix the bug.
2009-01-13 10:33:50 +01:00
Bastien Guerry 01c8c83a67 doc/org.texi: Fix wrong date in example. 2009-01-13 00:09:15 +01:00
Bastien Guerry 280cc41c09 doc/org.texi: Fix two other typos (lets->let's) 2009-01-13 00:07:33 +01:00
Bastien Guerry ce5b9abd87 doc/org.texi: Fix typo. 2009-01-12 23:53:50 +01:00
Carsten Dominik 74a4244db1 Archiving: Allow file name interpolation in target headline
Matt Lundin writes:

    I had one more question/request concerning archives. Would
    it perhaps be possible to enable the file name
    substitution (i.e., "%s") after the double semi-colon, so
    that the file name can be used as a headline within the
    archive file? My ideal setup would be to have a single
    archive file for each year's work, with headlines named
    according to the original files of the archived subtrees.

    E.g.,

    ,----
    | * finances.org
    | ** archived item
    | * notes.org
    | ** archived item
    | ** another archived item
    `----

This commit does implement this request.
2009-01-11 21:51:53 +01:00
Carsten Dominik 5a8f775d79 Archive: Avoid problems when multiple files use the same archive.
Matt Lundin writes:

   When I have multiple org files archive to a single file, as in

   ,----
   | (setq org-archive-location "~/2009.org_archive::")
   `----

   I find that including archive files in the agenda display (C-u v)
   results in multiple identical entries in the agenda display (in my
   case, when doing a word search).

   In fact, the number of duplicate lines exactly matches the number of
   agenda files that archive to that file (in my case 16). Is the agenda
   function perhaps searching the archive file once for each of the
   agenda files and then displaying the results as separate lines?

Indeed, when putting together the list o archive files to search,
Org did not check for duplicates.  This commit implements
uniquification of the list.
2009-01-10 21:51:08 +01:00
Carsten Dominik c833679919 Changes.org: Fix typo. 2009-01-10 18:36:23 +01:00
Carsten Dominik 4c0b787531 Website: Fix typo. 2009-01-10 00:09:19 +01:00
Carsten Dominik 3807b63071 Website: Reformulate the "contributing" paragraph. 2009-01-09 12:03:23 +01:00
Carsten Dominik 3fc0d62a65 Website: Improve some links.
Reported by DB.
2009-01-09 11:40:24 +01:00