From: Jesper Harder <harder@ifa.au.dk>
Subject: Re: Missing washing function
Date: Tue, 28 Oct 2003 23:01:25 +0100 [thread overview]
Message-ID: <m3ptghxbre.fsf@defun.localdomain> (raw)
In-Reply-To: <m3brs1f5ii.fsf@hamster.pflaesterer.de> (Karl =?iso-8859-1?q?Pfl=E4sterer's?= message of "Tue, 28 Oct 2003 21:58:18 +0100")
sigurd@12move.de (Karl Pflästerer) writes:
> (defun gnus-article-fill-flowed ()
> (interactive)
> (save-excursion
> (set-buffer gnus-article-buffer)
> (save-restriction
> (let ((buffer-read-only nil))
> (gnus-narrow-to-body)
> (fill-flowed)))))
I'm just nit-picking, but I think `with-current-buffer' is slightly
cleaner than `save-excursion':
(defun gnus-article-fill-flowed ()
(interactive)
(with-current-buffer gnus-article-buffer
(save-restriction
(let ((buffer-read-only nil))
(gnus-narrow-to-body)
(fill-flowed)))))
next prev parent reply other threads:[~2003-10-28 22:01 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-25 17:43 Karl Eichwalder
2003-10-28 0:51 ` Karl Pflästerer
2003-10-28 19:30 ` Karl Eichwalder
2003-10-28 20:58 ` Karl Pflästerer
2003-10-28 22:01 ` Jesper Harder [this message]
2003-10-29 1:50 ` Karl Pflästerer
2003-10-30 19:52 ` Karl Eichwalder
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=m3ptghxbre.fsf@defun.localdomain \
--to=harder@ifa.au.dk \
/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).