unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* non-sourcecode log files
@ 2003-10-28 15:35 John Kodis
  2003-12-04 19:39 ` Kai Grossjohann
  0 siblings, 1 reply; 2+ messages in thread
From: John Kodis @ 2003-10-28 15:35 UTC (permalink / raw)


I'd like to find a mode similar to that provided by the add-log and
log-edit packages which are used to maintain ChangeLog files, except
without the specialization toward logging changes to source files.  If
there were a way to have a log file recognized as a file that should
be edited in changelog mode, to create a new log entry each time the
file is opened, and to disable the automatic insertion of a filename
at the beginning of each log entry, that would probably be all that I
need.

I've investigated diary mode, but that seems geared toward maintaining
calendar entries rather than what I think of as a diary.

-- 
John Kodis                                    Goddard Space Flight Center
kodis@mail630.gsfc.nasa.gov                      Greenbelt, Maryland, USA
Phone: 301-286-7376                                     Fax: 301-286-1771

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: non-sourcecode log files
  2003-10-28 15:35 non-sourcecode log files John Kodis
@ 2003-12-04 19:39 ` Kai Grossjohann
  0 siblings, 0 replies; 2+ messages in thread
From: Kai Grossjohann @ 2003-12-04 19:39 UTC (permalink / raw)


John Kodis <kodis@mail630.gsfc.nasa.gov> writes:

> I've investigated diary mode, but that seems geared toward maintaining
> calendar entries rather than what I think of as a diary.

I can think of steno-mode.  I think that's what it was called.

But it seems that maybe something extremely simple such as

(defun john-add-diary ()
  (interactive)
  (find-file "~/johns-diary")
  (end-of-buffer)
  (newline)
  (insert (format-time-string "%Y-%m-%d ")))

might do something you like.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-04 19:39 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-28 15:35 non-sourcecode log files John Kodis
2003-12-04 19:39 ` Kai Grossjohann

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).