* Find and open or create file based on date
@ 2007-09-04 4:47 Chris L
2007-09-04 9:06 ` Daniel Jensen
2007-09-04 10:12 ` ken
0 siblings, 2 replies; 3+ messages in thread
From: Chris L @ 2007-09-04 4:47 UTC (permalink / raw)
To: help-gnu-emacs
I'm looking for a function that will go to a specified directory and
look for a file with the name based on the current date and time (such
as 2007-09-03.txt) and open it (or create and open it if it does not
exist).
I know almost no lisp, so any pointers would be welcome.
c
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find and open or create file based on date
2007-09-04 4:47 Find and open or create file based on date Chris L
@ 2007-09-04 9:06 ` Daniel Jensen
2007-09-04 10:12 ` ken
1 sibling, 0 replies; 3+ messages in thread
From: Daniel Jensen @ 2007-09-04 9:06 UTC (permalink / raw)
To: help-gnu-emacs
Chris L <Chris.Lott@gmail.com> writes:
> I'm looking for a function that will go to a specified directory and
> look for a file with the name based on the current date and time (such
> as 2007-09-03.txt) and open it (or create and open it if it does not
> exist).
Have a look at Planner. It does this and many other things; perhaps
it'll suit your needs.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Find and open or create file based on date
2007-09-04 4:47 Find and open or create file based on date Chris L
2007-09-04 9:06 ` Daniel Jensen
@ 2007-09-04 10:12 ` ken
1 sibling, 0 replies; 3+ messages in thread
From: ken @ 2007-09-04 10:12 UTC (permalink / raw)
To: Chris L, GNU Emacs List
On 09/04/2007 12:47 AM somebody named Chris L wrote:
> I'm looking for a function that will go to a specified directory and
> look for a file with the name based on the current date and time (such
> as 2007-09-03.txt) and open it (or create and open it if it does not
> exist).
>
> I know almost no lisp, so any pointers would be welcome.
>
> c
I've been doing just this for several years now. Prompted by your
questions, I (finally) put the code on emacswiki. See:
<http://www.emacswiki.org/cgi-bin/emacs-en/Journal>.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-09-04 10:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-04 4:47 Find and open or create file based on date Chris L
2007-09-04 9:06 ` Daniel Jensen
2007-09-04 10:12 ` ken
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).