From: Carsten Dominik <dominik@science.uva.nl>
To: emacs-orgmode@gnu.org
Subject: Re: A remember/notepad add on to org-mode
Date: Sun, 12 Mar 2006 08:11:32 +0100 [thread overview]
Message-ID: <893e551ad06743bebecfd9e7514caf4d@science.uva.nl> (raw)
In-Reply-To: <44137153.9060001@optusnet.com.au>
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
next prev parent reply other threads:[~2006-03-12 7:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-12 0:54 A remember/notepad add on to org-mode Charles Cave
2006-03-12 7:11 ` Carsten Dominik [this message]
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=893e551ad06743bebecfd9e7514caf4d@science.uva.nl \
--to=dominik@science.uva.nl \
--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).