From mboxrd@z Thu Jan 1 00:00:00 1970 From: "numbchild@gmail.com" Subject: Re: Setup Org-mode to write diary. Date: Wed, 30 Jul 2014 15:20:07 +0800 Message-ID: References: <87r418vm63.fsf@gmail.com> <87zjftlv8e.fsf@karnak.MagnumOpus.khem> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7ba97a802ca92a04ff63fe45 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58433) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCOBk-0000H6-Gv for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 03:20:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCOBj-0007Cf-5d for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 03:20:40 -0400 Received: from mail-we0-x233.google.com ([2a00:1450:400c:c03::233]:44856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCOBi-0007CT-Rl for emacs-orgmode@gnu.org; Wed, 30 Jul 2014 03:20:39 -0400 Received: by mail-we0-f179.google.com with SMTP id u57so724200wes.24 for ; Wed, 30 Jul 2014 00:20:38 -0700 (PDT) In-Reply-To: <87zjftlv8e.fsf@karnak.MagnumOpus.khem> 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: Charles Philip Chan Cc: Org-mode --047d7ba97a802ca92a04ff63fe45 Content-Type: text/plain; charset=UTF-8 This org-capture looks a way, I want to try it. But need a more advanced way, because a single file for write diary is really not a good idea. I will be slow. (I think....) Maybe add a logic in the org-capture template. I'm trying this way. [stardiviner] GPG key ID: 47C32433 IRC(freeenode): stardiviner Twitter: @numbchild Key fingerprint = 9BAA 92BC CDDD B9EF 3B36 CB99 B8C4 B8E5 47C3 2433 Blog: http://nagatopain-blog.logdown.com/ On Mon, Jul 28, 2014 at 4:53 PM, Charles Philip Chan wrote: > stardiviner writes: > > > I want to know how to configure Org-mode to write diary with a easy way. > > I hope someone can provide his way. > > > > Here is what I think what Org-mode write diary should have. > > > > - [ ] *open/create* a buffer to write current day's diary quickly. > > Set up a capture template using a date tree. For example, this is taken > directly from section 9.1.3 of the org-mode manual: > > ,---- > | ("j" "Journal" entry (file+datetree "~/org/journal.org") > | "* %?\nEntered on %U\n %i\n %a") > `---- > > > - [ ] *navigate* diary entry like viewing day entries in Calendar. > > Use the imenu menu or just fold and unfold the outline. > > > - [ ] *manage* diary files with some kind of style like (date, folder, > > etc). - [ ] *search* diary content. > > Add the file to the variable "org-agenda-text-search-extra-files" and/or > set up a custom agenda view to search the file. > > Charles > > -- > "...Deep Hack Mode--that mysterious and frightening state of > consciousness where Mortal Users fear to tread." > (By Matt Welsh) > --047d7ba97a802ca92a04ff63fe45 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This org-capture looks a way, I want to try it.
But nee= d a more advanced way, because a single file for write diary is really not = a good idea. I will be slow. (I think....)
Maybe add a logic in the org-capture template.

I'm trying this w= ay.

[stardiviner]=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0 <Hack this world!>=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 GPG key ID= : 47C32433
IRC(freeenode): stardiviner =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 Twitt= er:=C2=A0 @numbchild
Key fingerprint =3D 9BAA 92BC CDDD B9EF 3B36=C2=A0 = CB99 B8C4 B8E5 47C3 2433
Blog: http://nagatopain-blog.logdown.com/


On Mon, Jul 28, 2014 at 4:53 PM, Charles= Philip Chan <cpchan@bell.net> wrote:
stardiviner <numb= child@gmail.com> writes:

> I want to know how to configure Org-mode to write diary with a easy wa= y.
> I hope someone can provide his way.
>
> Here is what I think what Org-mode write diary should have.
>
> - [ ] *open/create* a buffer to write current day's diary quickly.=

Set up a capture template using a date tree. For example, this is tak= en
directly from section 9.1.3 of the org-mode manual:

,----
| ("j" "Journal" entry (file+datetree "~/org/journal.org")
| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"* %?\nEntered on %U= \n =C2=A0%i\n =C2=A0%a")
`----

> - [ ] *navigate* diary entry like viewing day entries in Calendar.

Use the imenu menu or just fold and unfold the outline.

> - [ ] *manage* diary files with some kind of style like (date, folder,=
> etc). =C2=A0- [ ] *search* diary content.

Add the file to the variable "org-agenda-text-search-extra-files= " and/or
set up a custom agenda view to search the file.

Charles

--
"...Deep Hack Mode--that mysterious and frightening state of
consciousness where Mortal Users fear to tread."
(By Matt Welsh)

--047d7ba97a802ca92a04ff63fe45--