From: Charles Cave <charles_cave@optusnet.com.au>
To: emacs-orgmode@gnu.org
Subject: A remember/notepad add on to org-mode
Date: Sun, 12 Mar 2006 11:54:43 +1100 [thread overview]
Message-ID: <44137153.9060001@optusnet.com.au> (raw)
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" ))
)
next reply other threads:[~2006-03-12 0:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-12 0:54 Charles Cave [this message]
2006-03-12 7:11 ` A remember/notepad add on to org-mode Carsten Dominik
2006-03-13 21:33 ` Philip Rooke
2006-03-14 9:28 ` Carsten Dominik
2006-03-14 13:26 ` Jason F. McBrayer
2006-03-14 21:31 ` Philip Rooke
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=44137153.9060001@optusnet.com.au \
--to=charles_cave@optusnet.com.au \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).