org-mode/lisp
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
..
ChangeLog Archive: Avoid problems when multiple files use the same archive. 2009-01-10 21:51:08 +01:00
ChangeLog.01 Split ChangeLog file into parts. 2008-05-08 08:16:38 +02:00
org-agenda.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-archive.el Archive: Avoid problems when multiple files use the same archive. 2009-01-10 21:51:08 +01:00
org-attach.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-bbdb.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-bibtex.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-clock.el Maintenance: Rename some ill-named functions. 2009-01-08 11:19:37 +01:00
org-colview-xemacs.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-colview.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-compat.el Maintenance: Better implementation of `fit-window-to-buffer'. 2009-01-09 09:09:42 +01:00
org-exp.el Bugfix: Avoid emphasis processing across lines and fields in tables. 2009-01-09 09:53:17 +01:00
org-export-latex.el Bugfix: Avoid emphasis processing across lines and fields in tables. 2009-01-09 09:53:17 +01:00
org-faces.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-footnote.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-gnus.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-id.el Maintenance: Declare a function. 2009-01-09 08:33:00 +01:00
org-info.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-irc.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-jsinfo.el Bugfix: Protect string-match against nil string. 2009-01-08 15:35:32 +01:00
org-list.el Editing: Automatic empty lines before new entries. 2009-01-08 09:30:55 +01:00
org-mac-message.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-macs.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-mew.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-mhe.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-mouse.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-plot.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-publish.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-remember.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-rmail.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-table.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-timer.el Maintenance: Define a variable. 2009-01-08 11:20:06 +01:00
org-vm.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-w3m.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org-wl.el Push version number to 6.17trans 2009-01-07 13:27:02 +01:00
org.el Utilities: New function `org-heading-components'. 2009-01-08 23:19:50 +01:00