From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: A remember/notepad add on to org-mode Date: Sun, 12 Mar 2006 08:11:32 +0100 Message-ID: <893e551ad06743bebecfd9e7514caf4d@science.uva.nl> References: <44137153.9060001@optusnet.com.au> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FIKjn-0003ej-CH for emacs-orgmode@gnu.org; Sun, 12 Mar 2006 02:11:35 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FIKjl-0003cp-OT for emacs-orgmode@gnu.org; Sun, 12 Mar 2006 02:11:35 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FIKjl-0003ch-Ki for emacs-orgmode@gnu.org; Sun, 12 Mar 2006 02:11:33 -0500 Received: from [194.134.35.145] (helo=smtp05.wanadoo.nl) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FIKnS-0003H8-Fl for emacs-orgmode@gnu.org; Sun, 12 Mar 2006 02:15:22 -0500 Received: from [192.168.2.2] (dc5146d3e6.adsl.wanadoo.nl [81.70.211.230]) by smtp5.wanadoo.nl (Postfix) with ESMTP id 9B1E83507D for ; Sun, 12 Mar 2006 08:11:32 +0100 (CET) In-Reply-To: <44137153.9060001@optusnet.com.au> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org Errors-To: emacs-orgmode-bounces+dominik=science.uva.nl@gnu.org To: emacs-orgmode@gnu.org This feels to me like a short version of what remember does. So why don't you just use remember for this and get a link back to where you were when you decided to make this entry? - Carsten On Mar 12, 2006, at 1:54, Charles Cave wrote: > Before I discovered org-mode (and Remember Mode) > I had a small customisation in my .emacs file to open > a "Journal file", go to the end of the file, insert the data > and time, then allow me to enter a note. I would save the buffer > and close it. > > Now that I am using org-mode, I made some modifications > to write my notes to a file "journal.org" and bind a > key combination to invoke the function. > > So when I am using Emacs I can quickly write notes by > entering the command C-c n > > I use GNU Emacs 21.3.1 running on Windows XP > > Maybe this functionality could be added to org-mode? > > > Here are the lines from .emacs > > (defun journal () > (interactive) > ; customise the following line for your file name > (find-file "c:/homes/charles/journal.org") > (end-of-buffer) > (insert "\n** Topic: ") > (insert-datetime-string) > (insert "\n") > ) > > (global-set-key (kbd "C-c n") 'journal) > > (defun insert-datetime-string () > "Insert a nicely formated date time string." > (interactive) > (insert (format-time-string "%Y-%m-%d %a %H:%M" )) > ) > > > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > > -- Carsten Dominik Sterrenkundig Instituut "Anton Pannekoek" Universiteit van Amsterdam Kruislaan 403 NL-1098SJ Amsterdam phone: +31 20 525 7477