From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: message-do-auto-fill, to not fill some things
Date: 22 Apr 2000 01:39:57 +0200 [thread overview]
Message-ID: <m3hfcvqb02.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <87yabdcbdu.fsf@zip.com.au>
Kevin Ryde <user42@zip.com.au> writes:
> ;; as per message-goto-body
> (defun message-body-pos ()
> (save-excursion
> (goto-char (point-min))
> (or (search-forward (concat "\n" mail-header-separator "\n") nil t)
> (search-forward "\n\n" nil t)
> (point-max))))
>
> (defun message-do-auto-fill ()
> (if (not (or (< (point) (message-body-pos))
> (save-excursion (beginning-of-line) (looking-at "<#part"))))
> (funcall (default-value 'normal-auto-fill-function))))
[...]
> (if auto-fill-function
> (setq auto-fill-function 'message-do-auto-fill))
Can one do this kind of predicate thing with the normal fill commands
as well?
--
(domestic pets only, the antidote for overdose, milk.)
larsi@gnus.org * Lars Magne Ingebrigtsen
next prev parent reply other threads:[~2000-04-21 23:39 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-02 20:53 Kevin Ryde
2000-04-21 23:39 ` Lars Magne Ingebrigtsen [this message]
2000-04-23 15:21 ` Kevin Ryde
2000-04-23 19:11 ` Lars Magne Ingebrigtsen
2000-04-23 20:56 ` Kai Großjohann
2000-04-24 21:25 ` Kevin Ryde
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=m3hfcvqb02.fsf@quimbies.gnus.org \
--to=larsi@gnus.org \
/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).