From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brett Viren Subject: Re: org-mode for knowledge management Date: Mon, 13 Oct 2014 09:11:04 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdfPs-0000zh-6v for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 09:12:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XdfPi-0004yk-RW for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 09:11:55 -0400 Received: from smtpgw.bnl.gov ([2620:10a:0:3::30]:56762 helo=iron3.sec.bnl.local) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XdfPi-0004vd-Hn for emacs-orgmode@gnu.org; Mon, 13 Oct 2014 09:11:50 -0400 In-Reply-To: (Louis's message of "Thu, 9 Oct 2014 16:17:45 -0600 (MDT)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Louis Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hi Louis, Louis writes: > I've been using org-mode for a variety of purposes for a few years. I > find that it suffers from the same problem that other such tools > do. The problem is me. I can't remember week to week how I may have > classified some scrap of information. Did I drop it into > notes/someproduct.org or was it procedures/someprocess.org? I hear you. My strategy so far has been: just write org content and an ideal lookup solution will eventually be found (via threads like this one!). This weekend I took a first step and *finally* got agenda-based searching to work. For better or worse, my setup intentionally spreads org content over a few areas: For a few explicit, "global" files (eg, todo.org) ~/org/*.org=20=20=20=20=20=20=20=20=20=20 For daily, private notes: ~/org/web/notes///
/notes.org=20=20=20 For a wiki-like blog / knowledge bank: ~/org-pub/topics//index.org By default, my attempts with org agenda search was not finding files in these areas. Particularly the latter two were difficult for me to figure out how to tell org about. The final solution was to walk these directories at initialization time and add all .org files found to org-agenda-text-search-extra-files. Here is the most concise way to do that which I found after various searches: (require 'find-lisp) (setq=20=20 org-agenda-files (list "~/org") org-agenda-text-search-extra-files=20 (append (find-lisp-find-files "~/org-pub/topics/" "\\.org$") (find-lisp-find-files "~/org/web/notes/" "\\.org$")) ) If anyone knows better ways to do this, I'm all ears. I'm particularly wondering how long-running org sessions will handle newly created topics or notes in this setup. =2DBrett. --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iEYEARECAAYFAlQ7z2kACgkQEixH2Z0dKCzWxQCglp6fCTgKDEBxYNbtfmGKg9jG PeMAn2zt575QnEN0WhYXm8QmZEulEQwG =JfSj -----END PGP SIGNATURE----- --=-=-=--