unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Forrest <drf5n@mug.sys.virginia.edu>
Subject: Re: Journal package for Emacs?
Date: Sat, 7 Sep 2002 12:02:03 -0400 (EDT)	[thread overview]
Message-ID: <Pine.LNX.4.33.0209071150070.3477-100000@mug.sys.virginia.edu> (raw)
In-Reply-To: <jbadmtdgk3.fsf@analog.net>

On Sat, 7 Sep 2002, mike hardy wrote:

>
> I've been searching DN/Google/elisp list for some kind of journalling
> package for Emacs and surprisingly I can't find anything except some old
> Perl script called "plod" (and I don't think diary is what I want).  What
> I'd like to do is something like 'M-x journal' that opens my/a journal
> file, inserts a date/timestamp and I can start editing under the
> date/timestamp.  Anyone know of something like this for Emacs?  Or how

Not me, Maybe you could add something using a local variable and
find-file-hooks, but I dislike having my editor execute code.

> about just a function I could use that would insert the date/time (and
> I'll just use bookmarks for the journal file)?  I'm most interested in
> just being able to insert the date into a buffer.  I tried looking for
> some existing function in Emacs to allow me to do that but I don't find
> anything.

I use

(global-set-key (kbd "C-c t") 'insert-current-time)
(defun insert-current-time ()
  "Insert the Current Time in ISO 8601 format"
   (interactive)
   (insert
       (format-time-string "%Y-%m-%dT%T%z ") ; ISO8601
   )
)


> Thanks...
>
> Mike
>

-- 
 Dave Forrest                                   drf5n@virginia.edu
 (804)642-0662h (434)924-3954w  http://mug.sys.virginia.edu/~drf5n/

  parent reply	other threads:[~2002-09-07 16:02 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-07 14:20 Journal package for Emacs? mike hardy
2002-09-07 15:45 ` F. Xavier Noria
2002-09-07 16:02 ` David Forrest [this message]
2002-09-07 17:42 ` Thien-Thi Nguyen
2002-09-07 19:30 ` Kai Großjohann
2002-09-07 22:04   ` mike hardy
2002-09-08 20:26     ` Kai Großjohann
2002-09-09  0:17       ` mike hardy
2002-09-09  9:48         ` Francesco Scaglioni
2002-09-09 11:18     ` Galen Boyer
2002-09-09 22:23       ` mike hardy
2002-09-08  6:49   ` Sacha Chua
     [not found]   ` <mailman.1031467986.16594.help-gnu-emacs@gnu.org>
2002-09-08 20:26     ` Kai Großjohann
2002-09-09  0:22     ` mike hardy
2002-09-09  3:22       ` David Forrest
     [not found] <mailman.1031541847.25738.help-gnu-emacs@gnu.org>
2002-09-09 14:49 ` Stefan Monnier <foo@acm.com>
2002-09-09 15:53   ` David Forrest
     [not found] <mailman.1031586979.16781.help-gnu-emacs@gnu.org>
2002-09-09 16:40 ` Jochen Küpper
2002-09-09 17:05   ` David Forrest
2002-09-09 21:25 ` Kevin Rodgers
2002-09-09 22:10   ` Alex Schroeder
2002-09-10 16:07     ` Kevin Rodgers

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0209071150070.3477-100000@mug.sys.virginia.edu \
    --to=drf5n@mug.sys.virginia.edu \
    /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.
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).