fork of org mode
Go to file
Øyvind Stegard cc74ae8b7a org-contacts: Ensure contacts cache is updated if it contains markers with no buffer
* contrib/lisp/org-contacts.el (org-contacts-db-need-update-p):
Check if org-contacts-db cache contains markers with no buffer as well, when
determining if cache should be updated from files.

The function `org-contacts-db-need-update-p' does two checks to determine if the
contacts cache should be updated:
1. If the variable `org-contacts-last-update' is nil.
2. If modification time of any file containing contacts is more recent than
   timestamp recorded in `org-contacts-last-update'.

There is another case where an update is required: when marker objects contained
in the contact cache `org-contacts-db' suddenly point to no buffer. If a buffer
containing contacts is killed, but underlying file is not modified, org-contacts
will not detect this, and cached markers that pointed to the now killed buffer
will become "dead" (e.g. have no buffer associated with them). This seems to cause
problems for instance in `org-contacts-anniversaries', which if used as diary
sexp in agenda file, will cause "Bad sexp" errors.
2013-07-20 17:21:37 +02:00
contrib org-contacts: Ensure contacts cache is updated if it contains markers with no buffer 2013-07-20 17:21:37 +02:00
doc Fix generating LaTeX formula images 2013-07-15 15:31:38 +02:00
etc doc/orgcard.tex: Update version number 2013-04-22 08:27:40 +02:00
lisp Merge branch 'maint' 2013-07-20 13:53:35 +02:00
mk Makefile: add perl to babel languages for testing 2013-05-19 21:08:04 +02:00
testing Merge branch 'maint' 2013-07-10 14:14:18 +02:00
.dir-locals.el Directory local variables: Set sentence-end-double-space to t 2012-08-10 09:24:19 +02:00
.dir-settings.el Directory local variables: Set sentence-end-double-space to t 2012-08-10 09:24:19 +02:00
.gitignore Fix references to org-install.el. 2012-10-02 12:19:39 +02:00
.gitmodules updated jump submodule for those behind http proxy 2013-06-06 14:36:24 -06:00
COPYING Add COPYING and fix other related issues. 2012-09-24 19:15:42 +02:00
Makefile Fix references to org-install.el. 2012-10-02 12:19:39 +02:00
README Update READMEs 2013-03-23 17:34:19 +01:00
README_ELPA Update READMEs 2013-03-23 17:34:19 +01:00
README_contribute Small fixes to the README files and to mk/server.mk 2012-09-22 10:33:12 +02:00
README_git Add COPYING and fix other related issues. 2012-09-24 19:15:42 +02:00
README_maintainer README_maintainer: fix "git tag" instructions 2013-04-27 04:05:06 +02:00
request-assign-future.txt Release 5.13e 2008-01-31 11:37:24 +01:00

README

The is a distribution of Org, a plain text notes and project planning
tool for Emacs.

The homepage of Org is at:
  http://orgmode.org

The installations instructions are at:
  http://orgmode.org/org.html#Installation

This distribution contains:

README
    This file.

COPYING
    The GNU General Public License.

Makefile
    The makefile to compile and install Org.  For installation
    instructions, see the manual or the more detailed procedure
    on Worg: http://orgmode.org/worg/dev/org-build-system.html

mk/
    Files needed for building Org.

lisp/
    Directory with all the Emacs Lisp files that make up Org.

doc/
    The documentation files.  org.texi is the source of the
    documentation, org.html and org.pdf are formatted versions of it.

contrib/
    A directory with third-party additions for Org.  Some really cool
    stuff is in there.

etc/
    Files needed for the ODT exporter.

testing/
    Testing suite for Org.

request-assign-future.txt
    The form that contributors have to sign and get processed with
    the FSF before contributed changes can be integrated into the Org
    core.  All files in this distribution except the contrib/ directory
    have copyright assigned to the FSF.