From: eduardoochs at fastmail.fm (Eduardo Ochs)
Subject: [Howm-eng 11] Feature request: "named files"
Date: Fri, 11 Nov 2005 07:46:10 -0200 [thread overview]
Message-ID: <1131702370.25084.247285817@webmail.messagingengine.com> (raw)
Hi,
I'm trying to use howm again - I have never gone very far using
it because I only feel comfortable when I keep my ideas in "named
files" rather than in "dated files", i.e., in files whose names
are like, say, "htmlizer", instead of like "2005-11-09.howm"...
What about this idea for a function?
It will be called, say, `howm-create-named-file', and bound to `N' in
howm-view-summary-mode and to `C-c , N' globally; when called
interactively it will ask for a filename in the minibuffer, like this:
(let ((default-directory "/tmp/"))
(call-interactively
(lambda (&rest)
(interactive "FHowm file name: "))))
and the default directory will be either `howm-directory' or, in
howm-view-summary-mode, the directory of the file at point, or, in
howm-view-contents-mode, the current directory... if the file already
exists it is visited, and if it doesn't exist yet it is created with
the adequate template...
I tried to create a function like that, but I got stuck and I figured
that it would be more fun to post a request to the list... :)
Cheers, and maybe thanks in advance, :)
Eduardo Ochs
http://angg.twu.net/
--
http://www.fastmail.fm - Send your email first class
reply other threads:[~2005-11-11 9:46 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1131702370.25084.247285817@webmail.messagingengine.com \
--to=howm-eng@lists.osdn.me \
/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 NNTP newsgroup(s).