Commit Graph

2211 Commits

Author SHA1 Message Date
Carsten Dominik 47227d087a Remember: Fix auto-save issues
Carsten Dominik writes:

> On Apr 26, 2009, at 12:08 AM, Samuel Wales wrote:
>
> > I noticed the following regarding
> > org-remember-backup-directory:
> >
> > 1) auto-saving does not save contents
> >    - solution: put (auto-save-mode 1) before or after (not
> >      sure which) the call to org-set-local in the
> >      following lines in org-remember:
> >
> >       # 	  (expand-file-name
> >       # 	   (format-time-string "remember-%Y-%m-%d-%H-%M-%S")
> >       # 	   org-remember-backup-directory))
> >       #     (save-buffer)
> >       #     (org-set-local 'auto-save-visited-file-name t))
> >       #   (when (save-excursion
>
> Done.
>
>
> > 2) save-buffer is called before there are any contents
> >    - this causes files without useful content to stick
> >      around in the dir if the buffer is killed or
> >      something.
> >    - solution: don't save the buffer; let auto-saving do
> >      that work.  will this work?
>
> Usually, the template expansion will have filled in stuff like
> links and initial contents, so I would prefer to keep the
> save-buffer here and let the user deal with the extra files.
>
> > 3) if you have auto-save-file-name-transforms set,
> >    auto-saving is done according to that variable instead
> >    of saving in place.
> >
> > I am now turning that variable off, locally in the remember buffer.
> > Does that fix the problem?
>
> - Carsten
>
> >    - solution: is this an emacs bug?  i am not sure.  the
> >      auto-saving should be done in place, saving in
> >      org-remember-backup-directory and not saving in the
> >      place where the transforms variable tells it to save.
> >      perhaps each user can kludge transforms or perhaps
> >      emacs needs fixing?  i have reached debugging ability
> >      limit.
2009-04-30 15:32:45 +02:00
Carsten Dominik 5f86fd7ae2 LaTeX export: Protect eqnarray* and similar environments.
Environment names ending in a star were not properly protected.  Now
they are.
2009-04-29 21:36:28 +02:00
Carsten Dominik 0fb28c3405 Plain lists: Fix regular expression.
There was a bug in a regular expression, visible when
`org-list-two-spaces-after-bullet-regexp' is set to ?)
2009-04-29 21:21:36 +02:00
Carsten Dominik 4b6f0cf77b Optimization: Make org-end-of-subtree much faster 2009-04-24 16:45:01 +02:00
Carsten Dominik cb783f83fa Merge branch 'for-carsten' of git://git.norang.ca/org-mode 2009-04-24 15:37:54 +02:00
Carsten Dominik f4f1d5cfd5 Stuck projects: Improve docstring of org-stuck-projects 2009-04-24 15:37:38 +02:00
Bernt Hansen 710eec9d57 New function org-reset-checkbox-state which always clears the checkboxes
Copying subtrees with checked off lists to create a new task would
normally require the boxes to be unchecked.  This function lets
you easily clear all checkboxes in an entry without requiring
the RESET_CHECK_BOXES property.
2009-04-24 08:50:00 -04:00
Carsten Dominik d072797344 Fix parenthesis bug 2009-04-24 14:46:28 +02:00
Carsten Dominik 847d007050 Add link on website 2009-04-24 14:40:50 +02:00
Carsten Dominik 4d2f9e1943 Speed up find-buffer-visiting 2009-04-24 14:38:46 +02:00
Carsten Dominik 06491c24d8 Agenda: more optimization 2009-04-24 13:31:20 +02:00
Carsten Dominik 692873550e Agenda: Try to speed up getting tags 2009-04-24 11:39:34 +02:00
Carsten Dominik 9fc88c0a0e Remember: Avoid error when before first headline in org file 2009-04-24 07:08:29 +02:00
Carsten Dominik b5775974b4 Bug fix: Catch a throw to nextfile 2009-04-23 22:40:49 +02:00
Carsten Dominik 1c9d7a6d73 org-protocol: Remove dependency on url.el
Patch by Sebastian Rose
2009-04-23 06:45:00 +02:00
Carsten Dominik ff07d933ea PDF export: Make processing commands configurable 2009-04-23 06:39:59 +02:00
Carsten Dominik 3c90f0a876 HTML export: Make \pm work for +/-
Request by Xin.
2009-04-22 14:22:00 +02:00
Carsten Dominik 10cc01f7e7 Agenda: Allow to find multiple same-day time stamps in one entry
Tassilo Horn writes:

>  I have this entry in an org-file.
>
>  --8<---------------cut here---------------start------------->8---
>  ** bung Grundlagen der Softwaretechnik (B 016)        :teaching:
>    <2009-04-22 Wed 08:30-10:00 +1w>
>    <2009-04-29 Wed 10:15-11:45> (Fr Hannes bernehmen)
>  --8<---------------cut here---------------end--------------->8---
>
>  I expect it to be displayed every wednesday after 2009-04-22
>  for 08:30-10:00 and on 2009-04-29 it should be displayed
>  twice: one at the usual time and one for 10:15-11:45.
>
>  But the agenda shows only the regular entry (08:30-10:00)
>  and omitts the exception.  If I reorder the timestamps, so
>  that the exception comes first, only the exception will be
>  shown on 2009-04-29.  Every other wednesday shows the
>  regular repeater date.
>
>  What do I have to do to make that entry showing up twice on
>  29th April?

This commit adds a new option
`org-agenda-skip-additional-timestamps-same-entry'.  When set
to t, an entry that has multiple active time stamps will get
multiple lines in the agenda.
2009-04-22 09:54:18 +02:00
Carsten Dominik 69e6d249aa Push version number to 6.26trans 2009-04-22 09:08:13 +02:00
Carsten Dominik 73854f435d Release 6.26d 2009-04-22 06:42:17 +02:00
Carsten Dominik 38b5a9e704 Clock: New variable to allow finding a recent task with `org-clock-goto' 2009-04-22 06:41:15 +02:00
Carsten Dominik ec773949d1 Export: Handle empty drawers, and drawers that are missing the :END:
Export could loose large parts of a document if an empty drawer was
present.
2009-04-22 06:37:00 +02:00
Carsten Dominik 7596db2d78 Release 6.26c 2009-04-21 20:27:53 +02:00
Carsten Dominik 595e9603ac Release 6.26c 2009-04-21 20:26:27 +02:00
Carsten Dominik 654e629ed9 Clock: Make `C-c C-x C-j' jump to most recently clocked task as well.
If there is no running clock, this command will go to the most
recently clocked task.
2009-04-21 20:25:30 +02:00
Carsten Dominik 093bd3343e Statistics cookies: Disambiguate using properties.
The property COOKIE_DATA can be used to disambiguate the meaning
of statistics cookies in a headline.

This was a request by Ulf Stegemann.
2009-04-21 17:01:24 +02:00
Carsten Dominik 051befc4ad Re-order the list of alternative distributions 2009-04-21 14:43:45 +02:00
Carsten Dominik 5e56fcf241 Custom links in Changes.org 2009-04-21 14:22:14 +02:00
Carsten Dominik 7ba955bf73 Custom links in the list of changes, testing 2009-04-21 14:10:02 +02:00
Carsten Dominik 31858e5c39 End of Emacs 21 support. 2009-04-21 14:00:24 +02:00
Carsten Dominik e0cd12716a Release 6.26b 2009-04-21 10:21:36 +02:00
Carsten Dominik 9c2436713c New hooks for commands attaching themselves to the TAB key.
Three new hooks are available for commands to attach themselves to the
TAB key.
2009-04-21 09:53:07 +02:00
Bernt Hansen 187dac5f8e Add NOBLOCKING to org-default-properties
This allows setting the NOBLOCKING property by hitting C-c C-c on
the :PROPERTIES: drawer
2009-04-21 06:10:38 +02:00
Bernt Hansen a04237d4f4 Revert "Jump to selected clock task when starting the clock"
This reverts commit 61dfa0c67f.

This wasn't such a great idea after all.  There is one case where
this is really annoying - if you are in the middle of displaying
an agenda view with lots of filters active and you change what you
are clocking it jumps away and you lose the agenda view.

This one case makes hitting a dedicated function key that runs
org-clock-goto more desireable.
2009-04-21 06:10:30 +02:00
Carsten Dominik b8a5f1a7fc Release 6.26a 2009-04-19 22:31:36 +02:00
Carsten Dominik 642c6f7c6a Export: Reset the list of preferred targets
The list of preferred targets needs to be reset for each run of the
preprocessor.

Reported by Bernt Hansen.
2009-04-19 22:31:12 +02:00
Bernt Hansen 7707803c32 Fix CUSTOM_ID completion for PROPERTY drawers
The wrong name was added for CUSTOM_ID in the completion list for
properties in commit 931e13d (Custom IDs: Documentation and
improvements)
2009-04-19 22:27:56 +02:00
Carsten Dominik 49669d137a HTML export: Fix bugs with IDs 2009-04-19 22:27:27 +02:00
Carsten Dominik 163cf33322 Release is news 2009-04-19 09:57:10 +02:00
Carsten Dominik ba66d2c8ae Release 6.26 2009-04-19 08:38:49 +02:00
Carsten Dominik 492bebeb73 Preparing the list of changes for the next release 2009-04-19 08:20:47 +02:00
Carsten Dominik fa99e696a6 Refile: The verification function may move point.
If the target verification function decides against a target, it may
also move point to continue the search from a different location.
2009-04-19 08:17:44 +02:00
Carsten Dominik 6316b53c46 LaTeX export: Fix bugs with timestamp export.
The formatting of timestamp keywords was wrong.
2009-04-19 07:46:54 +02:00
Carsten Dominik 88468ff7fe Bug fix: Place rear-nonsticky property correctly.
Stefan Monnier says that rear-nonsticky properties should only be put
at the last character of a range with equal properties, not at the
entire range.
2009-04-19 07:28:53 +02:00
Carsten Dominik 6a9acfa9a3 Post-fix previous patch 2009-04-18 22:16:37 +02:00
Carsten Dominik b8dca8d790 Declare some functions 2009-04-18 20:56:55 +02:00
Carsten Dominik 13fe6b1858 Org-protocol.el: Fix encoding problems, and call server-edit
Patch by Sebastian Rose.
2009-04-18 20:53:32 +02:00
Carsten Dominik a4a7dafbff Document the previous change 2009-04-18 20:36:48 +02:00
Carsten Dominik 0394a77f8b EXPORT: Additional properties for setting export options
Matt Lundin writes:

>  If it's not too much trouble, I was wondering if I could
>  request the following properties to set export options for
>  subtrees:
>
>  EXPORT_AUTHOR
>  EXPORT_DATE
>
>  In addition to specifying an EXPORT_FILE and EXPORT_TITLE
>  for a subtree, I often find myself wanting to change the
>  date and author lines.
2009-04-18 18:23:40 +02:00
Carsten Dominik 68ffdca675 Docbook export: Improve timestamp handling 2009-04-18 08:34:51 +02:00