Commit Graph

4127 Commits

Author SHA1 Message Date
John Wiegley cb8ce7e1fe Harmonized org-habit.el's light background color scheme
All the colors used now relate on the color wheel.  The blues have been
shifted to 15% less saturation than greens, and reds are shifted to 10%
greater saturation.  The colors are very close to what was there before,
but now they harmonize much more closely.
2009-11-22 00:39:47 -05:00
Carsten Dominik 764d9bf9de Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-11-21 21:09:35 +01:00
Carsten Dominik 178acdac94 HTML export: Avoid empty lines at the beginning
This was a request by Ian Barton, to get Jekyll blogging working.
2009-11-21 20:50:37 +01:00
Eric Schulte 4b6d270b16 org-babel: bug fix, now possible to evaluate source blocks before the first heading 2009-11-20 19:38:23 -07:00
Carsten Dominik da2a88c3ae Cater for empty region, link, title in org-protocol.el 2009-11-20 23:23:29 +01:00
Carsten Dominik 1a0e1a6f07 Minor amend to previous commit 2009-11-20 23:19:14 +01:00
Carsten Dominik c6186f49b3 Check all represented tags in agenda for auto-exclusion 2009-11-20 23:17:55 +01:00
Carsten Dominik e80f24641c Rebuild agenda after adding new diary entries 2009-11-20 20:35:34 +01:00
Carsten Dominik 62a7301a5e Push release number to 6.33trans 2009-11-20 20:20:31 +01:00
Carsten Dominik 7668306fca Fix bug with message and headlines containing `%'
Report by Bernt Hansen
2009-11-20 20:19:40 +01:00
Carsten Dominik 1cf50b7eb0 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-11-20 19:02:23 +01:00
Eric Schulte 5b749d2fe9 org-babel: fixing documentation of `org-babel-tangle-langs' 2009-11-20 10:43:15 -07:00
Eric Schulte 222f5c23e8 org-babel: results are now foldable
pressing tab while on the front of a results line will fold the
  results in the same manner as tabbing on the front of a block will
  fold the block.  To automatically hide all blocks when entering a
  new file add the `org-babel-result-hide-all' function to your
  `org-mode-hook'
2009-11-20 10:43:14 -07:00
Eric Schulte 45cce02402 org-babel: caching bugfixes
- the match-string was thrown off by an earlier commit
  - now sorting the parameters to ensure consistent order when
  - generating hashes
2009-11-20 10:43:06 -07:00
Dan Davison 2f05cf41ff org-babel: allow header arg values to be lisp forms.
This allows e.g.

:file (format "%s/images/pca-scatter.png" dir)
2009-11-20 10:42:54 -07:00
Dan Davison bf6089d8de org-babel: allow aliases for #+lob
This introduces #+call as an alias for #+lob.
2009-11-20 10:42:53 -07:00
Eric Schulte 91661d2f3b org-babel: #+srcname: can now be called #+source: or #+function:
source name regular expression has been extracted into a variable
  and multiple aliases are allowed.
2009-11-20 10:42:51 -07:00
Eric Schulte 2f8d30a578 org-babel: now using #+results instead of #+resname
"results" is now an acceptable alias for "resname".  Org-babel
    will begin inserting results using the "results" option however
    either option will remain viable moving forward.
2009-11-20 10:42:50 -07:00
Eric Schulte f4f38bd33a org-babel: results hashes are now hidden (for the most part)
The initial `org-babel-hash-show' characters of the hash will
   remain visible.  Pressing C-c C-c with the point on one of these
   initial characters will copy the hash to the kill ring, should you
   need to know it for any particular reason.
2009-11-20 10:42:48 -07:00
Eric Schulte 403c92f676 org-babel: set default behavior to non-caching in `org-babel-default-header-args'
This can be overridden with the use of the header argument :cache on
  the block, or subtree level.  To set the global behavior to caching
  add the following to your emacs init

  (setq org-babel-default-header-args
        (delete '(:nocache) org-babel-default-header-args))
2009-11-20 10:42:47 -07:00
Eric Schulte 1453f0294d org-babel: Hash based caching of results in buffer
This commit expands the #+resname: line to include a sha1 hash of
  the contents of the source-code block (including header arguments).
  This hash is saved in raw text in the resname line.  When a source
  block is evaluated it's hash is recalculated and checked against the
  hash in it's results line, if they are equal the current results are
  returned with no recalculation.

  Optional prefix argument when evaluating a source block will force
  re-calculation.

  caching behavior can be inhibited through the use of the :nocache
  header argument.  for global inhibition of caching add :nocache to
  the `org-babel-default-header-args' variable.
2009-11-20 10:42:33 -07:00
Carsten Dominik 04c901354c Agenda: Selectively remove some tags from agenda display
Patch by Martin Pohlack, with modifications by Carsten Dominik.
2009-11-20 17:55:12 +01:00
Carsten Dominik 24061fddd1 Release 6.33f 2009-11-20 15:15:05 +01:00
Carsten Dominik 3f64f8ec73 LaTeX export: Protect secondary footnote references
Francesco Pizzolante writes:

> Exporting multiple references to the same footnote to LaTeX lead to a wrong
> generated code.
>
> The following example:
>
> --8<---------------cut here---------------start------------->8---
> * Title
>   This is my text[fn:1:This is my footnote.]. And another one[fn:1].
> --8<---------------cut here---------------end--------------->8---
>
> Will produce the following LaTeX code:
>
> --8<---------------cut here---------------start------------->8---
> \section{Title}
> \label{sec-1}
>
>   This is my text\footnote{This is my footnote. }. And another one\$$^{1}$\$.
> --8<---------------cut here---------------end--------------->8---
>
> The correct code should be:
>
> --8<---------------cut here---------------start------------->8---
> \section{Title}
> \label{sec-1}
>
>   This is my text\footnote{This is my footnote. }. And another one$^{1}$.
> --8<---------------cut here---------------end--------------->8---
2009-11-20 15:05:42 +01:00
Carsten Dominik a2e0d000c8 org-indent-mode: Fix problem with empty string as line-prefix 2009-11-20 14:56:45 +01:00
Carsten Dominik 37e9b1c51f Release 6.33e 2009-11-20 13:58:31 +01:00
Carsten Dominik 858dfb51f6 Agenda: Still safer diary insertion
Bernt Hansen reported a bug when the cursor is on the first line in
the agenda.
2009-11-20 13:56:23 +01:00
Carsten Dominik 24a49967f1 Release 6.33d 2009-11-20 12:34:50 +01:00
Carsten Dominik 9842876900 Fix typo in org-freemind.el 2009-11-20 12:33:45 +01:00
Carsten Dominik d7ef0bbd72 Agenda: Catch error when no mark is set
Bernt Hansen writes:

> When org-agenda-diary-file is set to a special org file for diary
> entries and transient mark mode is enabled 'i' in the agenda fails
> with 'mark is not active now'
>
> My workaround for this is C-SPC to set the mark anywhere legal in the
> agenda display (ie not on the first or last line) and then hit 'i'
> to insert my diary entries.
2009-11-20 12:29:03 +01:00
Carsten Dominik ee3e435843 Make sure sorting also works in files without final newline 2009-11-20 11:05:35 +01:00
Carsten Dominik 8085c9030f Agenda: Make inserting diary entries also at end of line 2009-11-20 09:06:35 +01:00
Carsten Dominik 44aab15748 org-export-generic.el: Use `aput' 2009-11-20 06:54:18 +01:00
Carsten Dominik 4824387e1c Do not allow a link description that is entirely white 2009-11-20 06:47:39 +01:00
Carsten Dominik 764dc91fe3 org-git-gitrepos-p: Make definition XEmacs compatible. 2009-11-20 06:40:33 +01:00
Carsten Dominik 7270445967 Remove duplicate key in speed commands 2009-11-20 06:35:37 +01:00
Carsten Dominik 1bb0df0511 Allow diary entry insertion at top-level
Matt Lundin writes:

> The new org-agenda-diary-entry looks quite convenient.
>
> Would it be possible to add an option to bypass the date tree so as to
> add each new appointment as a simple first level heading? I prefer to
> keep my appointments organized by project and/or category and have no
> real use for the date tree. Ideally, new appointments would appear as
> first level headlines in the org-agenda-diary-file (i.e., my inbox),
> ready to be refiled.
2009-11-19 15:34:43 +01:00
Carsten Dominik a8397d62c5 Do not fontify a "file" tag as a link 2009-11-19 14:43:41 +01:00
Carsten Dominik 9bc97e6f16 Widen buffers for multi-occur
Bernt Hansen writes:

> The org-agenda multi-occur search command (C-c a /) does not return
> results on buffers that are currently narrowed if the search would
> normally match outside the narrowed region.  This prevents possible
> matches from being displayed.
2009-11-19 14:25:02 +01:00
Carsten Dominik 2d511abb73 Add doc string to a function 2009-11-19 14:19:20 +01:00
Carsten Dominik cb78cdf867 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-11-18 23:54:04 +01:00
Carsten Dominik 34cde857eb Autoload the new archiving commands 2009-11-18 18:32:51 +01:00
Carsten Dominik 7d4e381bcf Cross-reference special properties in column attribute section of manual.
Patch by Gregory J. Grubbs.
2009-11-18 11:41:42 +01:00
Carsten Dominik bab57bbfb4 Fix emphasis bug at the end of a line 2009-11-18 11:33:39 +01:00
Carsten Dominik 8f3c4096a0 Add faces customization to quote and verse blocks
Patch by Julien Barnier, with modifications by Carsten.
2009-11-18 10:58:00 +01:00
Carsten Dominik 3cdff230dd Minor fixes
Patch by Noorul Islam.
2009-11-18 10:37:16 +01:00
Bastien Guerry 5bfca88160 Fix typo in Bastien's first name. 2009-11-18 17:35:39 +08:00
Carsten Dominik 54889df12d org-freemind.el: Encode multibyte characters to unicode
Patch by Tokuya Kameshima.
2009-11-17 20:36:09 +01:00
Carsten Dominik 07a8ce3d28 Merge branch 'master' of git+ssh://repo.or.cz/srv/git/org-mode 2009-11-17 16:35:22 +01:00
Carsten Dominik 21e06fd161 Tag ditaa and dot files with hash, to avoid remaking them
Patch by Eric Schulte
2009-11-17 16:35:08 +01:00