Commit Graph

2552 Commits

Author SHA1 Message Date
Carsten Dominik 6355334c4b org-plot.el: fix bug 2009-07-08 07:50:48 +02:00
Carsten Dominik 9ec9d79adc org-plot: Allow prepending a user script 2009-07-08 07:01:00 +02:00
Bernt Hansen 3e24ccf646 Archive subtree and move to next visible task
This skips over blank lines preceeding the next task when archiving a task or
subtree.  This allows us to use a keyboard macro to remember the archive key
sequence incantation and skips to the next heading so we don't accidentally
archive the wrong task.

This fixes an issue with blank line handling.  Tasks which have blank lines
following them do not include the blank lines -- they are part of the following
task.  This moves the point forward to the next visible headline so that if we
repeat the archive operation it affects the following task and not the previous
one by mistake.
2009-07-08 06:51:20 +02:00
Carsten Dominik 79b70a7e66 Don't use next-line in lisp code if possible 2009-07-07 15:14:05 +02:00
Carsten Dominik 84c3b6f19b Make Org work better with visual line mode
Patch by Rudi Schlatte
2009-07-07 15:12:49 +02:00
Carsten Dominik 7b27bfdcee Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode
Conflicts:
	lisp/org-publish.el
2009-07-07 15:05:42 +02:00
Carsten Dominik 67d2a22fb9 Publishing: Clean out timestamp directory with `C-u C-c C-e E'
When changing the publishing setup, old timestamp files can be left
behind.  Forcing publishing of all projects with `C-u C-c C-e E'
will remove all existing timestamp files.
2009-07-07 15:04:37 +02:00
Carsten Dominik a05628debc Publishing: Clean out timestamp directory with `C-u C-c C-e E'
When changing the publishing setup, old timestamp files can be left
behind.  Forcing publishing of all projects with `C-u C-c C-e E'
will remove all existing timestamp files.
2009-07-07 15:04:15 +02:00
Carsten Dominik 1768f325df Make bullet modification work for ordered lists as well 2009-07-07 13:52:17 +02:00
Carsten Dominik e5c2547bbe Fix typo in plain list demotion code
Reported by Rainer Stengele.
2009-07-07 13:31:55 +02:00
Carsten Dominik ac425d8bd2 Fix problem with GNUS mail header.
Patch by Andreas Rottmann and Tassilo Horn
2009-07-07 13:26:32 +02:00
Carsten Dominik 636c524df3 HTML export: Show UP and HOME links if defined
org-export-html-link-up and org-export-html-link-home are now also
inserted into normal HTML export, above the page title.
2009-07-07 13:20:25 +02:00
Carsten Dominik 697c1c3903 New org.css with better support for printing
Made by - of course - Sebastian Rose
2009-07-07 06:13:09 +02:00
Carsten Dominik a5491ec852 Fix typo 2009-07-07 06:08:36 +02:00
Carsten Dominik e16c5b7b64 Fix typos 2009-07-06 22:30:39 +02:00
Carsten Dominik 30d448b2e1 HTML export: More flexibility for preamble and postamble
Andreas Rottmann writes:

> Well, the subject says it all -- attached is a rough patch to
> allow more flexibility with the HTML export; I use it like this:
>
>    (defun rotty/homepage-preamble (opt-plist)
>      (insert "<div id=\"header\">")
>      (insert
>       "
>    <div id=\"navbar\">
>    <a class=\"menu\" href=\"/\">Home</a>
>    | <a class=\"menu\" href=\"/Writings.html\">Writings</a>
>    | <a class=\"menu\" href=\"/Software.html\">Software</a>
>    | <a class=\"menu\" href=\"/blog/\">Blog</a>
>    </div>
>    ")
>      (insert (format
>               "<h1 class=\"title\"><a href=\"/\">rotty</a> &gt; %s</h1>\n"
>               (plist-get opt-plist :title)))
>      (insert "</div>\n")
>      (insert "<div id=\"inner\">\n"))
2009-07-06 18:10:26 +02:00
Carsten Dominik c1d00fa463 Export: General mechanism for local settings
Many different people want to set many different variables in a
buffer-local way for export.  This cannot be done with file variables,
because the Org buffer is not current while the exporter is running.

Lots of variables can be set with the #+OPTIONS lines, but finding
abbreviations goes only so far.

Therefore we have now a general mechanism that can be used to bind
variables during export operations.

a line like:   #+BIND: variable value

will bind the variable to value.  For example,
the line

>>      #+OPTIONS: toc:nil

can now equivalently be written as

>>      #+BIND: org-export-with-toc nil
2009-07-06 17:00:03 +02:00
Carsten Dominik aa6654c9ce Examples: Untabify before re-inserting into Org
Leaving tabs in the code will mess up indentation in Org.
2009-07-06 16:08:49 +02:00
Carsten Dominik 280f8495ed Plain lists: Allow to force bullet type changes during demotion
Rainer Stengele writes:

> using org-mode for quite some time now I always look at
> operations (key sequences) I repeat a lot of times.
>
> A lot of times I start a list with an item and immediately
> indent the next item as subitem.
>
> From
>
> - item 1
> - subitem 11
>
> I go to
>
> - item 1
>  - subitem 11
>
> via "M-right". Then I always want to change the style of the
> subitem list to "*". I do this via "S-right-right".
>
> I wonder how others work. I would like to automatically have
> changed the subitem list type to "*" as soon as I indent via
> "Alt-right". Next indentation should go back to "-". etc.
>
> Maybe we could introduce a variable that sets the order of
> standard list item types, in my case: "- * - * - * - *" as
> in
>
>
> - item 1
>  * subitem 11
>    - subitem 111
>      * subitem 111
> ...
>
> very special I know but I try to reduce the keypressings as
> much as possible. Any other suggestions?

This commits adds the variable
`org-list-demote-modify-bullet' for this purpose.
2009-07-06 15:38:23 +02:00
Carsten Dominik 7d4db79e2e Fix documentation of using <link> for style 2009-07-05 22:17:16 +02:00
Carsten Dominik e7ceeb3a49 Bug fix: Hide drawers after showing entry content
Bernt Hansen writes:

> I recently noticed that using SPACE or TAB in the agenda displays
> the task in the other window but all of the drawers are exposed.
> If you fold the org file with S-TAB to Overview or Contents
> display and then switch to the agenda and SPACE or TAB on a
> folded task it unfolds the entire thing including the drawers.
>
> Expanding the file to SHOW ALL and then using follow mode from
> the agenda shows me the view I'm really looking for so that's
> what I'm doing as a workaround right now.
>
> While doing my weekly review of tasks I use follow mode to view
> task detail and the expanded :LOGBOOK: and :PROPERTIES: drawers
> hide detail scrolled off the bottom of the window.  My :LOGBOOK:
> drawer for repeated tasks tends to be l-o-n-g and shoves detail
> way down the file (such as my weekly review checklist :) ).
>
> Is it possible to control expansion of the drawers when
> displaying a task from the agenda?  The view I'm looking for is
> the same as SHOW ALL from S-TAB.  It seems that if the task is
> expanded from the agenda it expands everything including the
> drawers.
2009-07-05 16:30:02 +02:00
Carsten Dominik 0795e42daf Footnotes: Allow automatic sorting and renumbering
Customize the new variable org-footnote-auto-adjust or use the STARTUP
option fnadjust to get automatic renumbering and sorting of footnotes
after each insertion/deletion.
2009-07-03 17:56:47 +02:00
Carsten Dominik 5eb2c3bf36 Minor doc fix 2009-07-03 06:27:03 +02:00
Carsten Dominik d27f15e6bb Publishing: Remember how and where a file was published.
This commit implements better support for publishing the same file in
multiple ways.  For example when publishing a Org file both as HTML
and as a plain text or htmlized source file.

It does this by including information about the target directory and
about the publishing function used into the hash that is used as a
file name to keep a time stamp.
2009-07-03 05:46:57 +02:00
Carsten Dominik 7a73b81208 Fix parenthesis in org-latex.el 2009-07-02 23:09:34 +02:00
Carsten Dominik d19ebd84c3 Agenda bulk commands: Add Schedule and Deadline
Agenda bulk commands on marked entries now can also set the scheduling
date or a deadline.  Normally, all entries will be set to the
specified date.  However, when writing the change as "++5d" or "++2w",
then each time stamp will independently be shifted by that amount.
2009-07-02 17:10:03 +02:00
Carsten Dominik 956c2cc87a Publishing: Fix publishing of attachments 2009-07-02 14:00:37 +02:00
Carsten Dominik b85b2e1f19 LaTeX export: Avoid infinite loop when environment is not closed 2009-07-02 13:31:28 +02:00
Carsten Dominik de00dfb952 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-07-02 09:55:12 +02:00
Carsten Dominik ddf013644a LaTeX export: Fix problem with internal links 2009-07-02 09:54:33 +02:00
Carsten Dominik 483463d18f LaTeX export: Fix problem with quotation marks 2009-07-02 09:53:25 +02:00
Carsten Dominik 9a6261df78 Tables: Allow #+TABNAME to be indented 2009-07-02 09:10:20 +02:00
Bastien Guerry 03d147455a Let `org-export-html-xml-declaration' use only double quote char.
Mixing single and double quotes after the "echo" instruction seems
to result in weird display.  Using only double quote char fixes this.
2009-07-02 07:44:01 +02:00
Carsten Dominik 840c74162c Footnotes: Introduce S action as a shortcut for r and s 2009-07-01 12:03:39 +02:00
Carsten Dominik d924536140 Fix typo 2009-07-01 10:59:13 +02:00
Carsten Dominik 434a929a5e Add documentation for new footnote command. 2009-07-01 10:40:51 +02:00
Carsten Dominik de6b866f27 Footnotes: Allow renumbering the fn:N-like footnotes
This commit adds a new action to the footnote actions:
It allows to renumber footnote marks that have the simple form
fn:N where N is a number.  After this action, numbers will start from
1 and increase through the document.
2009-07-01 10:37:03 +02:00
Carsten Dominik d3f4bf811c Fix minor bug 2009-07-01 09:42:24 +02:00
Carsten Dominik c1a4c5901a Plain lists: Improvements to cycling with TAB.
TAB now cycles visibility in plain lists if the cursor is in a plain
list.  This corresponds now to the new default value `t' of
`org-cycle-include-plain-lists'.  If you want to treat plain list
items as part of the outline hierarchy during cycling of outline
headings (this is what a `t' value used to mean), set this variable to
`integrate'.
2009-07-01 09:34:13 +02:00
Carsten Dominik 31e35da863 Improve the paragraph-start regexp to work better with LaTeX commands. 2009-07-01 08:55:40 +02:00
Christopher League 9384f9d741 Feeds: Fix org-feed when retrieve-method is curl or wget
- test on line 312 failed because these methods returned a string instead
  of a buffer

- requesting 'wget actually executed "curl", with bad parameters

- curl needs --silent, so that progress messages don't interrupt content

- atom parser had code to skip HTTP headers, but these are present only
  when using url-retrieve-synchronously; caused errors with curl/wget.
  Instead, remove HTTP headers right after feed buffer is populated.
2009-06-30 19:39:17 +02:00
Carsten Dominik c270d494da Fix hyphenation macro problem in manual 2009-06-30 07:26:00 +02:00
Carsten Dominik 6f6ff0431d Fix some face docstrings. 2009-06-28 20:28:13 +02:00
Carsten Dominik 3d2b4d98c1 LaTeX export: Allow postscript extensions for images
Some propel process LaTeX filed not directly to pdf, but go
through dvi and then to ps or pdf.  In that case, allowed images
are ps and eps files, not pdf and jpg.

This commit adds the two extensions, so that export using that
alternative path can be supported better.  However, it is up to the
user to make sure that the images are actually compatible with the
backend.
2009-06-28 13:00:37 +02:00
Carsten Dominik 6328fe1494 Fix issues on homepage 2009-06-28 09:19:14 +02:00
Carsten Dominik b5edb36f94 Fix bug with matching sublevels 2009-06-28 08:45:56 +02:00
Carsten Dominik e5d6bd0cc0 Load org-icalendar when exporting agenda file to ics 2009-06-27 23:39:09 +02:00
Carsten Dominik 0ec316bbb5 Fix docstring 2009-06-27 14:17:10 +02:00
Carsten Dominik 148ab8c8d0 Docbook export: Fix export bug related to ID links 2009-06-27 14:00:47 +02:00
Carsten Dominik 7bc578c6ad HTML export: Fix export bug with ID links 2009-06-27 13:59:59 +02:00