From: Benjamin Rutt <brutt+news@bloomington.in.us>
Subject: Re: Renumbering paragraphs automatically
Date: Tue, 24 Feb 2004 16:26:09 -0500 [thread overview]
Message-ID: <wc3ishww4ni.fsf@mu.cis.ohio-state.edu> (raw)
In-Reply-To: wc3n078w4te.fsf@mu.cis.ohio-state.edu
Benjamin Rutt <brutt+news@bloomington.in.us> writes:
> which I call from emacs using:
>
> (defun my-outline-produce-numbered ()
> (interactive)
> (assert (string-match "\\.otl$" (buffer-file-name)))
> (let ((s (shell-command-to-string
> (format "nawk -f ~/bin/indentN.awk < %s" (buffer-file-name)))))
> (find-file (my-re-replace-in-string "otl$" "txt" (buffer-file-name)))
Forgot to mention I do
(add-to-list 'auto-mode-alist '("\\.otl$" . outline-mode))
in my ~/.emacs.
--
Benjamin
prev parent reply other threads:[~2004-02-24 21:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-02-24 20:15 Renumbering paragraphs automatically Timur Aydin
2004-02-24 21:18 ` Reiner Steib
2004-02-24 21:22 ` Benjamin Rutt
2004-02-24 21:26 ` Benjamin Rutt [this message]
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=wc3ishww4ni.fsf@mu.cis.ohio-state.edu \
--to=brutt+news@bloomington.in.us \
/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).